Renew subkeys
Import the secret master key
gpg2 --import KEYID
Edit it
gpg2 --expert --edit-key KEYID
gpp> key 1
...
gpp> key 2
...
gpp> key 3
...
gpg> expire
...
Key is valid for? (0) 1y
...
Is this correct? (y/N) y
...
gpg> save
Delete the secret material from your keyring
gpg --delete-secret-keys KEYID
Export and distribute
Now export the public key with the following command. And upload to keys.openpgp.org, then on other machines, use the fetch
command from card to retrieve them.
gpg --armor --export KEYID > /tmp/key.pem