Re: deleting secret key not implemented
On Tue, 31 Dec 2013 15:07, ndk.cla...@gmail.com said: Maybe I'm missing something... What happens if keys are kept on smartcard? Deleting the key on the smartcard depends on the smartcard. The ~/.gnupg/private-keys-v1.d/...XX.key for a smartcard based key is only a stub storing the serial number of the card for user convenience (“please insert card no. NNN”). Shalom-Salam, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: deleting secret key not implemented
Too easy thanks very much :) Happy New Year! On Tue, 2013-12-31 at 14:49 +0100, Kristian Fiskerstrand wrote: On 12/31/2013 10:21 AM, Peter Humphreys wrote: Hi there, I saw this response from Werner regarding this in 2.1 beta, but I don't understand? .. But how do I go about deleting it if I can't do it through gpg2? Can I do it manually somehow? Get the keygrip as gpg2.1 --with-keygrip -K uid and delete the corresponding file(s) in $GPGHOME/private-keys-v1.d. The form should be keygrip.key. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
deleting secret key not implemented
Hi there, I saw this response from Werner regarding this in 2.1 beta, but I don't understand? In 2.1 the secret keys are manage by gpg-agent and in theory gpg should not care about them. However, we also have import and export commands which tell the agent what to do with the secret keys (i.e. import or export). A delete command is a bit more difficult regarding the UI because it is possible that gpgme uses the same secret key for an X.509 certificate - it would then also be silently deleted. Salam-Shalom, Werner I know it's not implemented because when trying to delete a test key I get: ./g10/gpg2 --delete-secret-keys testing @GPG@ (@GNUPG@) 2.1.0-beta272; Copyright (C) 2012 Free Software Foundation, Inc. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. gpg: NOTE: THIS IS A DEVELOPMENT VERSION! gpg: It is only intended for test purposes and should NOT be gpg: used in a production environment or with production keys! sec 2048R/FF625EC7 2013-12-31 testing Delete this key from the keyring? (y/N) y This is a secret key! - really delete? (y/N) y gpg: deleting secret key not implemented gpg: testing: delete key failed: Not implemented But how do I go about deleting it if I can't do it through gpg2? Can I do it manually somehow? Regards, Peter ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: deleting secret key not implemented
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 12/31/2013 10:21 AM, Peter Humphreys wrote: Hi there, I saw this response from Werner regarding this in 2.1 beta, but I don't understand? .. But how do I go about deleting it if I can't do it through gpg2? Can I do it manually somehow? Get the keygrip as gpg2.1 --with-keygrip -K uid and delete the corresponding file(s) in $GPGHOME/private-keys-v1.d. The form should be keygrip.key. - -- - Kristian Fiskerstrand Blog: http://blog.sumptuouscapital.com Twitter: @krifisk - Public PGP key 0xE3EDFAE3 at hkp://pool.sks-keyservers.net fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3 - Acta est fabula So ends the story -BEGIN PGP SIGNATURE- iQIcBAEBCgAGBQJSwstxAAoJEPw7F94F4TagJKEQALLOMVfa3ZRg+y9LD3+oQM+d xJ0HbSbKJDjxNMUmBQjdwOuhfv4XtUbq6mSJCHTc3MOq3hfQp/oV6E3/GpTA1QK1 85/Zhezqc0PXJqSO5qNfYiKqGsIUF3ZfjgQs78cQwjeEvpOpu9Ov6xU5q4J0utz/ rGXxmr1M5URgDv3BCQoUxyB05GX/f2+gdqkpGl6MPEsWSj7QcOTPRC8pW0vrWByh XWtj7SqURI/nnBS5GbkPbG+x2Ux5feOuHQqocWQnoA+NKR0jblwUvq/Zql+vHR9s 8GEJRlOxrKQXtSU58xUewd/YxHoNChKSTjiNdylzxhJfykfo2TvrgQhfRnC9GFzY o68gBfB2+L+KH0EeWVYmokTSG4twGFHuAz5nqgsP1issX9752xk3ybVmjtNcxfK+ zQXkgMZhWZ5XNP5n2lSyVHqFn5WSit1k+hpfElVzFuSu+j0OVTUN5qhOInbMc+fp RU/xzx5FmjXlukrZUmjgAYfwFrPIm6tPRi/sjmlLWgkHlUsma7Yy5HzAYmKtN7Gw q1d31AqnsboxNrCestEnUs/y2hNDZTJlNTApNUVqOabYCsnIlmQ22TUMDuGAV0G2 sDBqxgkq0bU9x9t5dOYgj9jGxBhGOTw1SmYvWQGMtvcOMnRNJl9A5ZBWf2+F2Eza IiuGpUPzjBDmr/e6H6hL =7P7m -END PGP SIGNATURE- ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: deleting secret key not implemented
Il 31/12/2013 14:49, Kristian Fiskerstrand ha scritto: But how do I go about deleting it if I can't do it through gpg2? Can I do it manually somehow? Get the keygrip as gpg2.1 --with-keygrip -K uid and delete the corresponding file(s) in $GPGHOME/private-keys-v1.d. The form should be keygrip.key. Maybe I'm missing something... What happens if keys are kept on smartcard? BYtE, Diego. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users