ssh-add does not delete identities
Werner Koch
wk at gnupg.org
Mon Jun 15 15:02:57 CEST 2009
On Mon, 15 Jun 2009 13:02, esuarez at itccanarias.org said:
> Failed to remove all identities.
>
> What am I doing wrong?
Nothing. ssh-add is only for ssh.
Support for ssh-add in GnuPG is limited to listing the keys and to
migrates keys from the ssh to the gpg format. To delete the key you
need to locate the key in ~/.gnupg/private-keys.v1/ and delete just that
file. The name of the file is what GnuPG calls a "keygrip" (a special
form of a fingerprint).
If you check out the file ~/.gnupg/ssh-control you should find the
keynames there along with a comment line stating the time of import.
Remove or uncomment that line from sshcontrol and you are done.
Shalom-Salam,
Werner
--
Die Gedanken sind frei. Auschnahme regelt ein Bundeschgesetz.
More information about the Gnupg-users
mailing list