I've been following the directions here for creating a GPG key and storing the "master" key offline. Everything went exactly as the directions said. However, after the directions on how to remove the master key, I tested
gpg --import public.gpg-key private.gpg-key to see if it would restore the master key to my keyring. But after doing that,
gpg --list-secret-keys still showed
sec# for the master key, indicating that the master key isn't there.
What am I doing wrong?
(In the meantime, since I'd backed up my
$HOME/.gnupg before the step of removing the master key, I restored it, made sure it was good, added a copy of that
.gnupg to the external media on which the master key exists (in addition to all the files created by following the directions), then re-deleted the master key. I figure that in an emergency I can temporarily replace the my
.gnupg with the copy I'd saved.)