johan / csv2keychain

Small tool for adding exported credentials from Chrome to macOS keychain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

сsv2keychain

PyPI Python

About

Small command-line tool for adding exported credentials (login/password pairs) from Chrome to the macOS keychain

macOS 10.12.3 Sierra tested

Installing

You can install the package via pip

$ pip3 install cmdline-csv2keychain

Preparing credentials from Chrome

  1. To use this tool you should manually export credentials from Google Chrome into .csv file. In the browser, switch to chrome://flags/#PasswordExport and enable option #PasswordExport.

  2. Reload Chrome

  3. Go to chrome://settings/passwords, click Other actions button, then click Export and save the .csv file in any convinient location

How to use

$ csv2keychain [path.csv] [-u] [-s]
  • -u - update existing password for every account in keychain, if any
  • -s - display credentials on the screen during the process

Example

$ csv2keychain ~/Desktop/credentials.csv -s

Now your Chrome passwords are available for Safari & other apps :)

About

Small tool for adding exported credentials from Chrome to macOS keychain

License:MIT License


Languages

Language:Python 100.0%