sources for e1e0 website
git clone https://git.e1e0.net/e1e0.net.git
Log | Files | Refs

pass-terminal.md (1852B)

      1 Title: Password management in the terminal done right.
      2 Author: paco
      3 Date: 2017-07-16
      4 Type: article
      6 _Update_: Some time ago I wrote a little more detailed intro to `pass` on the
      7 [tilde.institute wiki][2]
      9 I spend most of my time in front a computer in the terminal ... I'm used
     10 to it, and I like it a lot.  There's nothing (well, almost nothing) a
     11 terminal app or a combination of apps can't do (way better some times
     12 that its graphical counterparts).
     14 One of those apps that's particularly useful is [pass][1]. A password
     15 manager for the terminal.
     17 Is quite simple. It creates a hierarchy of folders and files in
     18 `$PASSWORD_STORE_DIR` (`~/.password-store` by default) and encrypts them with
     19 your GPG key.
     21 It can copy the recovered passwords to the clipboard, has `bash` and
     22 `zsh` completion. Can generate random passwords for you and more ...
     24 You can also create multi-line _stores_ with extra information, but just
     25 the first line will be copied to the clipboard when you use `-c`.
     27 They have a great web page explaining all that, and a really good man
     28 page, so there's no excuse to have ugly methods for managing your
     29 passwords ... or no methods at all !
     31 The things I use the most:
     33     pass -c site/foo.com/username
     35 This one gets the password for `username@foo.com` and puts it on your
     36 clipboard.
     38     pass generate  -c email/me@foo.com
     40 This one generates a random password, stores it on `email/me@foo.com`
     41 and copies it to the clipboard. Pretty useful when you're singing in to
     42 a new service.
     44     pass edit foo/bar/baz
     46 This one edits one of your entries.  Mind that generate won't ask for
     47 password, as you're encrypting to your GPG public key, but edit or show
     48 will.  It's a good idea to have GPG agent setup, so you can control
     49 how/when passwords are requested.
     51 [1]: https://www.passwordstore.org/
     52 [2]: https://wiki.tilde.institute/w/pass