Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
becki:linux:passwordstore [2015-04-17 12:56] becki created |
becki:linux:passwordstore [2019-09-08 08:17] (aktuell) becki |
||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Pass == | ====== Pass == | ||
| - | ===== Docu == | + | ===== Documentation == |
| - Tutorial http://www.passwordstore.org/ | - Tutorial http://www.passwordstore.org/ | ||
| Zeile 13: | Zeile 13: | ||
| pwgen | pwgen | ||
| - | Create a GPG key called eg. "Beckis Password Storage Key" with a strong password. FIXME | + | [[OpenPGP|Create a GPG key]] called eg. "Beckis Password Storage Key" with a strong password. |
| Then init pass: | Then init pass: | ||
| Zeile 22: | Zeile 22: | ||
| pass git init | pass git init | ||
| + | |||
| + | ===== Daily Commands == | ||
| + | ==== Getting help (good) == | ||
| + | |||
| + | pass help | ||
| + | | ||
| + | ==== List names == | ||
| + | |||
| + | pass | ||
| + | Password Store | ||
| + | `-- Hugo | ||
| + | |||
| + | ==== Show/copy a password to clipboard == | ||
| + | |||
| + | $ pass Hugo | ||
| + | Habicht | ||
| + | $ pass -c Hugo | ||
| + | Copied Hugo to clipboard. Will clear in 45 seconds. | ||
| + | |||
| + | ==== Add a password == | ||
| + | |||
| + | $ pass insert ebay | ||
| + | |||
| + | ==== Rename a password == | ||
| + | |||
| + | $ pass mv | ||
| + | |||
| + | ==== Other: == | ||
| + | |||
| + | $ pass rm | ||
| + | $ pass cp | ||
| + | |||
| + | ===== Sharing your password-store on different machines == | ||
| + | |||
| + | First you need to (git-)clone your ''~/.password-store'' git-repo to the other computer(s). You will use use standard git commands clone, pull and push to syncronize the reopos. See [[git]] | ||
| + | |||
| + | Second you need to export the private gpg-key which you use to access the passwords and import it on the other computers. See [[openpgp#exportimport_keys]] | ||
| + | |||
| + | ===== pwgen usage == | ||
| + | |||
| + | <code> | ||
| + | -c Include at least one capital letter | ||
| + | -n Include at least one number | ||
| + | -s Generate completely random, hard-to-memorize passwords | ||
| + | -y Include at least one special character | ||
| + | </code> | ||
| + | |||
| + | Generate memorizable passwords containing a special character with a length of 9 characters. Secure and usable: | ||
| + | |||
| + | pwgen -y 9 | ||
| + | |||
| + | Generate 4 very secure passwords containing special characters with a length of 13 characters. Useful only for copy & paste: | ||
| + | |||
| + | pwgen -sy 13 4 | ||
| + | |||
| + | Generate 4 very secure passwords with a length of 13 characters. Useful only for copy & paste: | ||
| + | |||
| + | pwgen -s 13 4 | ||
| + | |||
| + | Generate 6 easy to memorize passwords with a length of 9 characters: | ||
| + | |||
| + | pwgen -nc 9 6 | ||
| + | |||
| + | |||