How to refresh GPG keys before they expire.
YubiKey
-
-
Linking GPG keys to a YubiKey
Having private GPG keys on your machine can be unsafe, because it could be stolen by a malicious program. If you have a YubiKey, you can move those private keys to it, ensuring they’re stored in a secure place and protected by a passcode. This article explains how to move GPG subkeys to a YubiKey and require card taps when signing, encrypting and/or authenticating.