diff options
-rw-r--r-- | wikipages/password-store.wiki | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/wikipages/password-store.wiki b/wikipages/password-store.wiki index 7953f00..c9de846 100644 --- a/wikipages/password-store.wiki +++ b/wikipages/password-store.wiki @@ -26,9 +26,9 @@ There is bash, zsh and fish command line completion available and all can be tra <h2>setup</h2> <p>This is simple, just one command (assuming you have your GnuPG key ready). GPG-ID is the hex id of your key.</p> <div class="code"> -$ pass init GPG-ID -mkdir: created directory ‘/home/user/.password-store’ -Password store initialized for GPG-ID +$ pass init GPG-ID<br /> +mkdir: created directory ‘/home/user/.password-store’<br /> +Password store initialized for GPG-ID<br /> </div> @@ -37,43 +37,43 @@ Password store initialized for GPG-ID <p> list all passwords "tree" style </p> -<div class="code"> +<div class="code"><pre> $ pass Password Store ├── sites │ ├── tilde.zone │ │ ├── myUserName │ │ ├── secondAccount -... +...</pre> </div> <p>find a password</p> -<div class="code"> +<div class="code"><pre> $ pass find tilde.zone Search Terms: tilde.zone └── sites └── tilde.zone └── myUserName@tilde.zone -</div> +</pre></div> <p>See the content of a file</p> <div class="code"> - $ pass email/tilde.institute/myAccount - supersecret + $ pass email/tilde.institute/myAccount<br /> + supersecret<br /> </div> <p>Copy the first line to the clipboard. Clear time can be configured with <code>$PASSWORD_STORE_CLIP_TIME</code></p> <div class="code"> - $ pass -c email/tilde.institute/myAccount - Copied email/tilde.institute/myAccount to clipboard. Will clear in 45 seconds. + $ pass -c email/tilde.institute/myAccount<br /> + Copied email/tilde.institute/myAccount to clipboard. Will clear in 45 seconds.<br /> </div> <p>Insert a new password. It can be multiline with <code>-m</code>. Remember to put the password on the first line if you want to use the clipboard function</p> <div class="code"> - $ pass insert sites/foo.com/blah - Enter password for sites/foo.com/blah: + $ pass insert sites/foo.com/blah<br /> + Enter password for sites/foo.com/blah:<br /> </div> <p>Generate a 32 chars random password and store it. You can define the default length with <code>$PASSWORD_STORE_GENERATED_LENGTH</code>. With <code>-n</code> the password will not include symbols, but alphanumeric characters only. With <code>-c</code> it gets copied to the clipboard as usual.</p> <div class="code"> - $ pass generate sites/foo.com/abcd 32 - The generated password to sites/foo.com/abcd is: - $(-QF&Q=IN2nFBx) + $ pass generate sites/foo.com/abcd 32<br /> + The generated password to sites/foo.com/abcd is:<br /> + $(-QF&Q=IN2nFBx)<br /> </div> <p>take a look at the <code>--help</code> option or the complete documentation on their website.</p> |