![]() ![]() ![]() Use the MD5 fingerprint and the key comment. key from the end and you’re set! Note that these are binary files so make sure your grep variant does not skip over them. Take the name of the file that matches, strip. If you remember the contents of the comment field of the SSH key in question you can simply grep for it in all the files stored in $GNUPGHOME/private-keys-v1.d/. So far so good – but how does one know which of the keys listed in that file is the right one, especially if your sshcontrol list is fairly long? Here are the options I am aware of at this point: Where foo is the keygrip of your SSH key, which one can obtain from the file $GNUPGHOME/sshcontrol. Possibly the simplest way of changing the passhprase protecting a SSH key imported into gpg-agent is to use the Assuan passwd command: echo passwd foo | gpg-connect-agent ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |