Migrate GPG Keys from One Workstation to Another Replace [your key] with your key ID To obtain your key ID gpg --list-secret-keys --keyid-format LONG Which returns something like