Giter VIP home page Giter VIP logo

csv2keychain's Introduction

сsv2keychain

PyPI Python

About

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

Note: As of macOS High Sierra (v10.13) Safari is able to import bookmarks, history and passwords from Chrome and Firefox: https://support.apple.com/guide/safari/import-bookmarks-history-and-passwords-ibrw1015/mac.

The passwords are stored in the (iCloud) keychain. It is therefore not necessary to use csv2keychain for this use case, especially since the tool is not able to import to the iCloud keychain (see #9).

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. UPD: seems that last versions of Chrome enables this feature by default. So you can omit this step.

  2. Reload Chrome

  3. Go to chrome://settings/passwords, click Other actions button (three dots, to the right of Saved Passwords text), 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/Chrome\ Passwords.csv -s

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.