Nitrokey / nitrokey-documentation

User documentation of Nitrokey's products
https://docs.nitrokey.com
33 stars 39 forks source link

gpg: keytocard does not ask for key removal anymore #95

Open changemenemo opened 2 years ago

changemenemo commented 2 years ago

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?

szszszsz commented 2 years ago

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?