password-store notes

From thelinuxwiki
Revision as of 02:12, 24 June 2023 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

re-encrypt all password with a new gpg key

$ pass init <email_address> 

where the email is the one associate with the key. this can be seen with...

$ gpg --list-keys
/home/johndoe/.gnupg/pubring.kbx
--------------------------------
pub   ed25519 2021-03-09 [SC] [expires: 2026-03-08]
      98HASDFIH89UAS7GJDF89J9JASD0F9J0J9AJSDFJ
uid           [ultimate] John Doe <jdoe@example.com>
sub   cv25519 2021-03-09 [E] [expires: 2026-03-08]

example...

$ pass init jdoe@example.com
Password store initialized for jdoe@example.com
gmail: reencrypting to 04A840533CE1803D 2237E7AF7D98FCF4 75A510F816DFCB52
gpg: Note: secret key 2237E7AF7D98FCF4 expired at Sun 14 Feb 2021 10:21:00 AM CST
goldenliving-charybdis: reencrypting to 04A840533CE1803D 2237E7AF7D98FCF4 75A510F816DFCB52
gpg: Note: secret key 2237E7AF7D98FCF4 expired at Sun 14 Feb 2021 10:21:00 AM CST
atmos: reencrypting to 04A840533CE1803D 2237E7AF7D98FCF4 75A510F816DFCB52
gpg: Note: secret key 2237E7AF7D98FCF4 expired at Sun 14 Feb 2021 10:21:00 AM CST
net-solve/debdev-davical: reencrypting to 04A840533CE1803D 2237E7AF7D98FCF4 75A510F816DFCB52 
Please enter the passphrase to unlock the OpenPGP secret key:
"Damon Myers <jdoe@example.com>"
256-bit ECDH key, ID 75A510F816DFCB52,