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

FreeOTP v2.X: Aegis could not import 23 tokens #1579

Closed
p-fruck opened this issue Dec 26, 2024 · 1 comment
Closed

FreeOTP v2.X: Aegis could not import 23 tokens #1579

p-fruck opened this issue Dec 26, 2024 · 1 comment
Labels
bug A bug report

Comments

@p-fruck
Copy link

p-fruck commented Dec 26, 2024

Version

v3.3.2

Source

F-Droid

Vault encryption

Yes (with biometric unlock)

Device

Pixel 8a

Android version

Android 15

ROM

GraheneOS

Steps to reproduce

  • Export token froms FreeOTP v2
  • Import into Aegis

What do you expect to happen?

Aegis already mentions there might be issues importing some token. However, I'd expect it to import some/most of the tokens. Also, I could not find any information why some token could not be imported and how I might fix the issue

What happens instead?

Not a single token is imported

Log

The following message is printed 23 times:
com.beemdevelopment.aegis.importers.DatabaseImporterEntryException: javax.crypto.AEADBadTagException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT

I thought this was due to a wrong password, but using a wrong password the error only appears once

@p-fruck p-fruck added the bug A bug report label Dec 26, 2024
@alexbakker
Copy link
Member

alexbakker commented Dec 31, 2024

As the prompt you saw mentions, FreeOTP 2 has a corruption issue that can make "some or even all" entries unrecoverable in exports. I wrote a more extensive explanation about the corruption issue (and others) here in case you're interested: freeotp/freeotp-android#283 (comment). The authors of FreeOTP should be able to fix the issues with an update, but it looks like the app is mostly unmaintained so I wouldn't hold my breath.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report
Projects
None yet
Development

No branches or pull requests

2 participants