csv2keychain icon indicating copy to clipboard operation
csv2keychain copied to clipboard

Chrome adds the note field

Open kakakikikeke-fork opened this issue 1 year ago • 0 comments

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

kakakikikeke-fork avatar Jul 19 '23 01:07 kakakikikeke-fork