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

AssertionError: The key is encoded with an unknown format (1, 2, 840, 113549, 1, 5, 13) #61

Open
phijor opened this issue Mar 5, 2021 · 2 comments

Comments

@phijor
Copy link

phijor commented Mar 5, 2021

I'm trying to import my passwords from chromium, but get hit by the following error:

$ ffpass import --file '/tmp/Chrome Passwords.csv' -d ~/.mozilla/firefox/<profile>.default
Traceback (most recent call last):
  File "/path/to/virtualenvs/ffpass-_a4N4bz3/bin/ffpass", line 8, in <module>
    sys.exit(main())
  File "/path/to/virtualenvs/ffpass-_a4N4bz3/lib/python3.9/site-packages/ffpass/__init__.py", line 419, in main
    args.func(args)
  File "/path/to/virtualenvs/ffpass-_a4N4bz3/lib/python3.9/site-packages/ffpass/__init__.py", line 338, in main_import
    key = askpass(args.directory)
  File "/path/to/virtualenvs/ffpass-_a4N4bz3/lib/python3.9/site-packages/ffpass/__init__.py", line 307, in askpass
    key = getKey(directory, password)
  File "/path/to/virtualenvs/ffpass-_a4N4bz3/lib/python3.9/site-packages/ffpass/__init__.py", line 122, in getKey
    assert oid == MAGIC3, f"The key is encoded with an unknown format {oid}"
AssertionError: The key is encoded with an unknown format (1, 2, 840, 113549, 1, 5, 13)

System info

Firefox

$ firefox --version
Mozilla Firefox 86.0

ffpass

ffpass 0.5.0

@louisabraham
Copy link
Owner

This is weird, are you able to export passwords from ff? If you don't have any, just manually add an entry.

@bgkerion
Copy link

I have the same problem and I'm able to export password from FF

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

3 participants