Flammie A Pirinen on github pages
Things that I need to look up from internet way too often
When keys expire you need to set new expiration date for both main and sub keys…
$ gpg --list-keys flammie@iki.if
$ gpg --edit-keys KEYSID
gpg> expire
blah blah expiration? (0) 2y
Are you sure? (y/N) y
gpg> key 1
gpg> expire
blah blah expiration? (0) 2y
Are you sure? (y/N) y
gpg> save
gpg> exit
When you need to send your keys to people or show them, ideally it happens in person so you may need to find out the way fast and without hassle. Here’s the most typical ways:
$ gpg --armor --export flammie@iki.fi
$ gpg --export --output flammie-pubkey.gpg flammie@iki.fi