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

Chrome adds the note field #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kakakikikeke-fork
Copy link

It seems that a new note field has been added when using chrome's password export.

% head -n 1 ~/Downloads/pass.csv
name,url,username,password,note

Without the note field I get the below error.

% csv2keychain ~/Downloads/pass.csv -u

Executing csv2keychain version 0.1.3.
List of argument strings: ['/Users/kakakikikeke/Downloads/pass.csv', '-u']

File opened
Copying item #1...
Traceback (most recent call last):
  File "/opt/homebrew/bin/csv2keychain", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/csv2keychain/__main__.py", line 16, in main
    Csv2Keychain()
  File "/opt/homebrew/lib/python3.11/site-packages/csv2keychain/csv2keychain.py", line 49, in __init__
    self.addkey(row, overwrite)
  File "/opt/homebrew/lib/python3.11/site-packages/csv2keychain/csv2keychain.py", line 14, in addkey
    name, url, username, password = params
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: too many values to unpack (expected 4)
  • Chrome 114.0.5735.198 (Official Build) (arm64)
  • Python 3.11.3

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

Successfully merging this pull request may close these issues.

None yet

2 participants