Linux command line password manager shows gpg key expired.

➜ pass email/myemail@domain
gpg: Note: secret key 44FAE32FE619A7CF expired at Sun 29 May 2022 08:26:37 AM CDT
<pwd redacted>

You can renew it at any time. Here's how to do it:

gpg --list-keys
gpg --edit-key (key id)

Now you're in the gpg console. (By default, you're working on the primary key.) If you need to update a sub-key:

gpg> key 1

Now you can set the expiration for the selected key:

gpg> expire
gpg> save

Next Post Previous Post