nitrokey-documentation icon indicating copy to clipboard operation
nitrokey-documentation copied to clipboard

gpg: keytocard does not ask for key removal anymore

Open changemenemo opened this issue 3 years ago • 1 comments

File: [pro/linux/openpgp-keygen-backup.rst] https://docs.nitrokey.com/pro/linux/openpgp-keygen-backup

The keytocard command used in the next steps will delete your key from your disk!

on which distribution has it been tested ? because on latest fedora version and ubuntu and debian it does not delete the key anymore from the HDD. Or do you mean that it won't be able to be eexported to another nitrokey because being associated with a specific ID of nitrokey?

changemenemo avatar Jun 09 '22 17:06 changemenemo

Hi!

  1. I believe this was relevant on GnuPG 2.2.x, on the previous Ubuntu and Fedora versions. I do not know if the behavior changed in GnuPG 2.3.x (I would not expect so though). What's your version?
  2. GnuPG asks to remove the key from the disk after the transfer, and did so before once the final save confirmation is given. Can you provide whole log of your interaction for comparison?

szszszsz avatar Jun 10 '22 06:06 szszszsz