Skip to content

Quick start guide for pass (command line)

Yishi Lin edited this page Jun 27, 2017 · 1 revision

Quick-start guide for pass

Pass is an iOS client compatible with ZX2C4's Pass command line application. It is a password manager using GPG for encryption and Git for version control. We provide a quick-start guide for pass here, assuming that it has been correctly installed. For more usage, please refer to Password Store homepage: https://www.passwordstore.org or

$ man pass

Generating a PGP Key

$ gpg --gen-key
$ gpg --list-secret-keys
/Users/mssun/.gnupg/secring.gpg
-------------------------------
sec   2048R/D4763C61 2017-02-06
uid                  Bob Sun (Pass) (Test pass for iOS) <bob@mssun.me>
ssb   2048R/A3106936 2017-02-06

Setting up and using pass

$ pass init "D4763C61"
$ pass git init
$ pass git remote add origin git@github.com:mssun/D4763C61.git    # create the git repository first
$ pass generate -n spotify.com 20
$ pass ls
$ pass show spotify.com
$ pass edit spotify.com
$ pass git push --set-upstream origin master
$ pass git status
$ pass git pull