Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
becki:linux:passwordstore [2015-04-20 14:14] becki |
becki:linux:passwordstore [2019-09-08 08:17] (aktuell) becki |
||
|---|---|---|---|
| Zeile 24: | Zeile 24: | ||
| ===== Daily Commands == | ===== Daily Commands == | ||
| + | ==== Getting help (good) == | ||
| - | Getting help (good) | ||
| pass help | pass help | ||
| | | ||
| - | List passwords: | + | ==== List names == |
| pass | pass | ||
| Password Store | Password Store | ||
| `-- Hugo | `-- Hugo | ||
| - | Show/copy a password: | + | ==== Show/copy a password to clipboard == |
| $ pass Hugo | $ pass Hugo | ||
| Habicht | Habicht | ||
| Zeile 39: | Zeile 41: | ||
| Copied Hugo to clipboard. Will clear in 45 seconds. | Copied Hugo to clipboard. Will clear in 45 seconds. | ||
| - | Add a password: | + | ==== Add a password == |
| $ pass insert ebay | $ pass insert ebay | ||
| - | Other: | + | ==== Rename a password == |
| $ pass mv | $ pass mv | ||
| + | |||
| + | ==== Other: == | ||
| + | |||
| $ pass rm | $ pass rm | ||
| $ pass cp | $ 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 | ||
| + | |||