-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 12/27/14 9:36 AM, Sandeep Murthy wrote: | I have four keypairs associated with my main email, two of which | are revoked and one expired. But if I try to edit the main key | associated with email by | | $ gpg --edit-key <email> | | then it invokes gpg and points to one of the revoked keys rather | than the active key. I have to explicitly give the short ID of the | active key to edit that key and get its fingerprint. | | Is there a way to change this, or I am doing something wrong?
No, and no. :) If you have multiple keys that match a pattern (such as your e-mail address) then gpg is going to take its best guess as to which one you mean. In this case, the guess isn't what you wanted, so you have to specify the key Id. hope this helps, Doug -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJUnwt1AAoJEFzGhvEaGryEejcIALKK/abYjxcacUN1ZaFf/IvT I9tlcId1CdCma1NP/X2xFmKeIBrRr0ANPb3FUFSMvwNNcZNcbpFsQRijq9+eyMgu OoGPRpBs76DJuSy1QTMcwOyBGdjCqQMC0tJhIMj3qNd9QjsJxbzgqNBc41YIuwG7 4+FT8rRoJaEzxcBnzaz3ObVpBG/tA7LtYX6VOcADmskV6PFZsJDyUlGZcyFniWk1 c9PvJkz1J4P5Meg2i8Ktz6AZCCMuBkLcgiCWgIYTqWQIlcIHR90gP1coesETIrW1 zFNSk6UBeJ8xiOspuiLrd7jELJgXZ2mjWXNhwtrv47ACkpTMEGU4zNmz8WKsMc4= =Cbyi -----END PGP SIGNATURE----- _______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users