After creating an OpenPGP key pair in GnuPG, if I list keys with gpg --list-keys
, I get (GnuPG default):
/someone/.gnupg/pubring.gpg
------------------------
pub 2048R/BC589B05 2015-07-15
uid Some One
sub 2048R/3dd81C42 2015-07-15
Consisting the primary public key with ID BC589B05, and sub key with ID 3dd81C42.
Is it necessary to create a revocation certificate for each of these, or just the pub key? In especially, is it sufficient to just do
gpg --gen-revoke BC589B05 > BC589B05.revoke.asc
and backup BC589B05.revoke.asc
somewhere, or am I supposed to repeat this for the sub key, too?