Riaan's SysAdmin Blog

My tips, howtos, gotchas, snippets and stuff. Use at your own risk!

gpgpass

Linux command line pass tool gpg key expired

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

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

admin

Bio Info for Riaan