I'm trying to decrypt my old OTP Auth file, from an old iPhone 4S running OTP Auth 1.1.4, using this tool. I'm using Mac OS X 10.13.4 and the latest version of brew.
However, in the last phase I get the stack trace below. Has the OTP Auth backup file format changed at some point, so that I can no longer read such old files, or what is the issue?
The worst thing is that I cannot even log in to the service with the old OTP Auth... I haven't used the service using 2FA for over a year, but now I need to.
pipenv run python decrypt_otpauth.py decrypt_account --encrypted-otpauth-account /tmp/fooI.otpauth
Password for export file /tmp/foo.otpauth:
Traceback (most recent call last):
File "decrypt_otpauth.py", line 324, in <module>
cli()
File "/Users/pnr/.local/share/virtualenvs/decrypt-otpauth-files-smWpXwss/lib/python3.6/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/Users/pnr/.local/share/virtualenvs/decrypt-otpauth-files-smWpXwss/lib/python3.6/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/Users/pnr/.local/share/virtualenvs/decrypt-otpauth-files-smWpXwss/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/pnr/.local/share/virtualenvs/decrypt-otpauth-files-smWpXwss/lib/python3.6/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/pnr/.local/share/virtualenvs/decrypt-otpauth-files-smWpXwss/lib/python3.6/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/pnr/.local/share/virtualenvs/decrypt-otpauth-files-smWpXwss/lib/python3.6/site-packages/bpylist/archiver.py", line 255, in top_object
self.unpack_archive_header()
File "/Users/pnr/.local/share/virtualenvs/decrypt-otpauth-files-smWpXwss/lib/python3.6/site-packages/bpylist/archiver.py", line 174, in unpack_archive_header
plist = bplist.parse(self.input)
RuntimeError: invalid header for bplist
I'm trying to decrypt my old OTP Auth file, from an old iPhone 4S running OTP Auth 1.1.4, using this tool. I'm using Mac OS X 10.13.4 and the latest version of brew.
However, in the last phase I get the stack trace below. Has the OTP Auth backup file format changed at some point, so that I can no longer read such old files, or what is the issue?
The worst thing is that I cannot even log in to the service with the old OTP Auth... I haven't used the service using 2FA for over a year, but now I need to.