These are my own notes for my re-expiration of GPG keys.
sudo cryptsetup open /dev/sdb1 --type=tcrypt flashdrive
sudo mkdir -p /mnt/flashdrive
sudo mount /dev/mapper/flashdrive /mnt/flashdrive
export GNUPGHOME=/mnt/flashdrive/gnupg
gpg --edit-key 7A4F38C201F43F111C95A9E575481C55CEC8925D
gpg> expire
Choose 1y
, save and exit.
gpg send-keys --keyserver hkp://pgp.surf.nl
Wait a minute, then in another terminal (normal GNUPGHOME
) run:
gpg refresh-keys --keyserver hkp://pgp.surf.nl
Sometimes you have to send/recv specific keys. It'll work eventually.
- Push to S3
- Delete, re-add in GitHub:
gpg -a --export pbrisbin@gmail.com | xclip -selection clipboard