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

[0.5.0] export don't work when the database is password protected. #67

Open
tuxmaster5000 opened this issue Dec 9, 2021 · 0 comments
Open

Comments

@tuxmaster5000
Copy link

Using an wrong password, then question comes again.
But using the right one will result in:

Traceback (most recent call last):
  File "/home/xxx/.local/bin/ffpass", line 8, in <module>
    sys.exit(main())
  File "/home/xxx/.local/lib/python3.9/site-packages/ffpass/__init__.py", line 419, in main
    args.func(args)
  File "/home/xxx/.local/lib/python3.9/site-packages/ffpass/__init__.py", line 322, in main_export
    logins = exportLogins(key, jsonLogins)
  File "/home/xxx/.local/lib/python3.9/site-packages/ffpass/__init__.py", line 217, in exportLogins
    decodeLoginData(key, encUsername),
  File "/home/xxx/.local/lib/python3.9/site-packages/ffpass/__init__.py", line 179, in decodeLoginData
    return PKCS7unpad(des.decrypt(ciphertext)).decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xab in position 0: invalid start byte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant