ffpass: AttributeError: Sequence object has no attribute asOctets

Hi, when I try to import password CSV from Chromium I get the following error:

$ ffpass import --from pw.csv
Traceback (most recent call last):
  File "/usr/bin/ffpass", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.8/site-packages/ffpass/__init__.py", line 354, in main
    args.func(args)
  File "/usr/lib/python3.8/site-packages/ffpass/__init__.py", line 287, in main_import
    key = askpass(args.directory)
  File "/usr/lib/python3.8/site-packages/ffpass/__init__.py", line 254, in askpass
    key = getKey(directory, password)
  File "/usr/lib/python3.8/site-packages/ffpass/__init__.py", line 93, in getKey
    entrySalt = decodedA11[0][1][0].asOctets()
AttributeError: 'Sequence' object has no attribute 'asOctets'

I am using Arch Linux with Python 3.8.1, pyasn1 0.4.8, and ffpass 0.4.8.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 9
  • Comments: 25 (12 by maintainers)

Most upvoted comments

I managed to do a workaround:

Workaround

  1. Install Firefox 70
  2. Launch it and disable automatic updates.
  3. Put in a bogus user/pass to initialize the database then close the browser
  4. Import via ffpass with the --dir option
  5. Launch browser
  6. Sign into Firefox Sync
  7. You can uncheck all the sync checkboxes except for password
  8. Let it sync (hit Sync Now to be sure)
  9. Close browser
  10. Open your latest Firefox
  11. Sign into Firefox Sync if you haven’t
  12. Let it sync
  13. It works 🎉
  14. Delete Firefox 70