GPG signing problem

Thomas Roessler roessler@does-not-exist.org
Wed, 6 Dec 2000 21:36:12 +0100


--QTprm0S8XgL7H0Dt
Content-Type: multipart/mixed; boundary="azLHFNyN32YCQGCU"
Content-Disposition: inline


--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2000-12-06 19:06:43 +0000, Lars Hecking wrote:


> The default setting causes mutt to ignore the "real" key and choose
> the *wrong* key (subkey).
ups. Please try the attached patch. With respect to that notice on "interesting key selection games", you should in theory be able to use subkeys when you select them. Most likely, however, I should really make sure that I didn't add a pgp_principal_key() function call or two in the wrong places. --=20 Thomas Roessler <roessler@does-not-exist.org> --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-1.3.12.tlr.pgpkeyid.1" Content-Transfer-Encoding: quoted-printable Index: gnupgparse.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/roessler/cvsroot/mutt/gnupgparse.c,v retrieving revision 2.16 diff -u -r2.16 gnupgparse.c --- gnupgparse.c 2000/11/13 22:19:57 2.16 +++ gnupgparse.c 2000/12/06 20:29:03 @@ -216,8 +216,8 @@ { dprint (2, (debugfile, "key id: %s\n", p)); =09 - /* We really should do a check here */ - mutt_str_replace (&k->keyid, p); + if (!(*is_subkey && option (OPTPGPIGNORESUB))) + mutt_str_replace (&k->keyid, p); break; =20 } --azLHFNyN32YCQGCU-- --QTprm0S8XgL7H0Dt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: 2.6.3in iQEVAwUBOi6jO9ImKUTOasbBAQHMFQgApgKfj1hoWKkPmZWcgwAv9+1bJzhRBrwl lMczR/2JJFVgcJ6VZKqYuDGwDrheGihJziKmbgpcW8aXVh1bJjxPClML8tdGM9w1 vez82iRpu+WWuj6GaWD11qjgXStFeAUUo2HeEVc/48YQojm/yPQJSGbnGlQQ2dV3 r+y5RAHWK5oK1vs1P/cPeirQm15cCVX4UmuYwUAJRtc/0ocAt60oIeMOzWe+hHks zSXpKOsQD8JS4QQMwRrv0Bit9H5+BM/WSHA+dIfh3tE979yCP2nRRO++k6mF0kDv tH98JWDi5zAi3k+TAhoATmC/RC29WMmngqHhLbhmvdNGIRhKwKBtzQ== =RGIB -----END PGP SIGNATURE----- --QTprm0S8XgL7H0Dt-- -- Archive is at http://lists.gnupg.org - Unsubscribe by sending mail with a subject of "unsubscribe" to gnupg-users-request@gnupg.org