GnuPG 2.1 how to delete card based secret key ?

Oleg Gurevich oleg at gurevich.de
Fri Feb 5 15:08:38 CET 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi @all,

with GnuPG modern (2.1) i can't delete anymore a secret key based on smartcard. Is there an known workaround ?

by calling of: gpg --delete-secret-key ABCDEF123
...
Delete this key from the keyring? (y/N) y
This is a secret key! - really delete? (y/N) y
gpg: deleting secret key failed: Not possible with a card based key
gpg: deleting secret subkey failed: Not possible with a card based key
gpg: deleting secret subkey failed: Not possible with a card based key
gpg: ABCDEF123: delete key failed: Not possible with a card based key



Mit freundlichen Grüßen/ с Уважением/ best regards

Oleg Gurevich

PGP fingerprint: 38A0 D0CC BD23 1707 B0AF  D158 E9D7 6E3F E74A 0B0C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWtKzgAAoJEH5u5dDzfOKim6oP/2Ek9wbMDw9LB5GqRHwIrnpq
Kz9ZpT9tCPsoMEKWchHop1tjxSB35RKLcYN/BAQPi6i66qHO4WZwrKIAOhCXc/T5
sK25+Fk/jUXaicClEnJTsnlpwItPL4tp+rnp9JMKSMMlajZDQh/MNCOUM1JyCoSw
X4OSGsISkwLYw/75m+yXqeX07czFhxygJCHHauXz9EtKz9/TvGlUDycxDnAcWfAq
4GsU71/4ZWIuYuCdVj3zupTujeSk/PP6m+rtbIzXXgmhn2OIL8B/KaOpwqZbuidN
Jz43AUeRDaeBdmwheezHz2nR8OfmIpTUB44Iog/4XAL6ybau4zKDOyCtHPOvP4kB
E2nQy7u882I1muYdZ2kJ08R509N0Pit0rWshqp3HQ0HWQzlANG00ezRwZcr2T8V1
Kf6Zsk6c2RS6TUZJCHZAfz3Lpbi4LBV5r8HJIJRpgdEYWlfgsH4D81gyd0vHFCLu
+nvfbVGvgLPXbNH5tbHKGcSKgkXMsOC38yvRaU32Bh/oua4ERqXEhjKmdnW9T0wg
72SVAlCkbhSfhEUKz+jFbrx04pSfi9XSIIqWbUcf+9fsnFps96pk5vNti4cjVi/4
yUIZO4YW6AXaVPetT4ZVfr9KY6xxRZla6Ty5PHe+ygWLWFBpdFlsOoz0W4B7jy2K
Bskp4On/AXPH5Q2Idjcb
=fXkb
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list