Borax Man
2009-03-21 18:34:35 UTC
Hello all,
I have created a public/private set of keys and would like to backup my
secret key. I assume that what this is for, is if my hard drive goes
kaput, I can import the backup which is on a USB stick/CD/Floppy, etc.
So I issue the command.
gpg -ao secret.key --export-secret-keys A1B2C3D4
and get a file.
My question is this, why did it NOT ask for the passphrase? Is it that
the file I've just created is still encrypted with the passphrase? Or
is this a bug? Everytime I GPG needs to use the private key, it
requires the passphrase, but in this instance it didn't need it.
I can only assume that's because its a backup of the encrypted key which
still needs the passphrase. Can someone confirm?
Secondly, it would be a good idea NOT to have the private key on the
Hard Drive, and just have it on a USB stick, but how do I operate GPG
with the secret key on a disk?
Thanks,
Dennis
I have created a public/private set of keys and would like to backup my
secret key. I assume that what this is for, is if my hard drive goes
kaput, I can import the backup which is on a USB stick/CD/Floppy, etc.
So I issue the command.
gpg -ao secret.key --export-secret-keys A1B2C3D4
and get a file.
My question is this, why did it NOT ask for the passphrase? Is it that
the file I've just created is still encrypted with the passphrase? Or
is this a bug? Everytime I GPG needs to use the private key, it
requires the passphrase, but in this instance it didn't need it.
I can only assume that's because its a backup of the encrypted key which
still needs the passphrase. Can someone confirm?
Secondly, it would be a good idea NOT to have the private key on the
Hard Drive, and just have it on a USB stick, but how do I operate GPG
with the secret key on a disk?
Thanks,
Dennis