Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON import does not Import all TOTP #116

Open
1 task done
FairyNatza opened this issue Jun 12, 2024 · 0 comments
Open
1 task done

JSON import does not Import all TOTP #116

FairyNatza opened this issue Jun 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@FairyNatza
Copy link

FairyNatza commented Jun 12, 2024

Steps To Reproduce

Export Vault as JSON from my Bitwarden Vault.
Import JSON into Authenticator app.

Expected Result

All TOTP are displayed in the Authenticator APP.

Actual Result

Not all TOTP from my vault in the Authenticator APP

Screenshots or Videos

No response

Additional Context

I found an entry that was not successfully imported into the APP.
I looked at the JSON and the entry was there.
However, I found that the token was very long and was separated by spaces.
When I removed the spaces and did the export/import again, the TOTP was successfully imported.
Can you check if there is a problem with too long tokens or with spaces in the token?
The token was 32 characters long and separated by spaces every 4 characters, making a total of 39 characters.

I also found a TOTP that is 164 characters long, which is also not imported, but it does not contain spaces.

At the very least, you might want to add a notification that not all TOTPs have been imported, similar to the error message you get when you try to add a TOTP manually.

Could be critical if someone exports their TOTP code, thinks everything has worked, and deletes the old sources.

Build Version

2024.6.0

Environment Details

iPhone 15 iOS 17.5.1

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@FairyNatza FairyNatza added the bug Something isn't working label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant