12/3/2023 0 Comments Tubeoffline master key review![]() This is a secret key! - really delete? (y/N) y Then send a DELETE_KEY command to the GnuPG Agent: $ gpg-connect-agent "DELETE_KEY D4DF0C35D3E22FA6AC37DA2E54FB03F73616A3CB" /byeĬonfirm that you want to delete the key when the agent ask youįor reference, the “classic” method (which still works with GnuPGįirst, export the subkeys: $ gpg2 -armor -output private-subkeys.asc -export-secret-subkeys delete the private master key and its subkeys: $ gpg2 -delete-secret-key rsa4096/CB2F38F25B491A54 Alice ĭelete this key from the keyring? (y/N) y The keygrip of your master key: $ gpg2 -list-secret-keys -with-keygrip With GnuPG 2.1 however, there is a more direct method. Prior to version 2.1 had no option to delete the master key only). The private subkeys), and import back the private subkeys (because GnuPG ![]() Subkeys, then delete all your private keys (the master private key and The “classic” method for doing that is to export your private You may also print a hardcopy with a tool like Paperkey: $ gpg2 -export-secret-key | paperkey | lpr Step 2: Remove the private master key from the keyring Ssb rsa2048/BBB6B86627C2D43A Įxport the private master key and its private subkeys: $ gpg2 -armor -output alice-private-keys.asc -export-secret-key the exported private keys in a secure place (not on yourĬomputer). Let’s assume you have the following private keyring: $ gpg2 -list-secret-keys How to remove the master private key from your keyring Step 1: Back up the original keyring Of them, predate the recent release of GnuPG 2.1, so I thought an update Time, and brought back to your computer only on those few occasions Subkeys, updating the preferences, etc.).Ĭonsequently, your private master key can be put offline most of the To modify your own key (adding or revoking User IDs, adding or revoking Usage of OpenPGP-you will only need it for signing someone else’s key or Subkey (at least), you don’t need your master private key for your daily Them being that if you have both an encryption subkey and a signing OpenPGP subkeys have many benefits (well summarized on this Debian wiki page), one of
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |