-
Notifications
You must be signed in to change notification settings - Fork 46
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
Decrypt isn't working for new version #6
Comments
Hey there! I just updated the crypto library used by this tool. Can you try again with the current Best regards, |
Hi Roland, thx for the reply. Im still getting the same problem:
Im currently using OTP Auth 2.13.5 (504) |
Updated to OTP Auth 2.16.1 (701) but got the same result. |
Hmm, to me it seems like either the backup is not properly formatted or the Python Crypto library is broken. Did you already try to recreate the virtual environment 8containing the dependencies) using
Updated to OTP Auth 2.16.1 means you installed that version of OTP Auth and re-created the backup with it? |
same error:
my otpauthdb doesn't have the proper block size ... it doesn't match a multiple of 16 as the one in your examples ... |
I'm also having problems with v2.17.4 (937) on macOS when using 2b71b60. The traceback says: $ pipenv run python decrypt_otpauth.py decrypt_account --encrypted-otpauth-account ./accounts.otpauthdb
Password for export file ./accounts.otpauthdb:
Traceback (most recent call last):
File "decrypt_otpauth.py", line 324, in <module>
cli()
File "/Users/foo/.local/share/virtualenvs/decrypt-otpauth-files-FMj1ZqW9/lib/python3.7/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/Users/foo/.local/share/virtualenvs/decrypt-otpauth-files-FMj1ZqW9/lib/python3.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Users/foo/.local/share/virtualenvs/decrypt-otpauth-files-FMj1ZqW9/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/foo/.local/share/virtualenvs/decrypt-otpauth-files-FMj1ZqW9/lib/python3.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/foo/.local/share/virtualenvs/decrypt-otpauth-files-FMj1ZqW9/lib/python3.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "decrypt_otpauth.py", line 223, in decrypt_account
archive = archiver.Unarchive(data).top_object()
File "/Users/foo/.local/share/virtualenvs/decrypt-otpauth-files-FMj1ZqW9/lib/python3.7/site-packages/bpylist/archiver.py", line 255, in top_object
self.unpack_archive_header()
File "/Users/foo/.local/share/virtualenvs/decrypt-otpauth-files-FMj1ZqW9/lib/python3.7/site-packages/bpylist/archiver.py", line 174, in unpack_archive_header
plist = bplist.parse(self.input)
RuntimeError: invalid header for bplist Because it's so easy to accidentally delete items in the app (because the edit function is overloaded, and is used for both deletion and inspection activities), backups and exports are really important and are currently not recoverable outside of the app itself. |
I've been able to fix this issue (kinda), I changed the password from 40+ characters to 19 and it seems to be working completely fine now. |
I'm currently unable to decrypt my db file.
the AES part is complaining about length not being in a 16*X block.
I don't know if db as some extra metadata or the decrypt options changed.
Can you help me decrypting my db file¿?
The text was updated successfully, but these errors were encountered: