Hi all, With sig-keyserver-url $URL in gpg.conf:
$ gpg --pgp7 --detach-sign test You need a passphrase to unlock the secret key for [...] gpg: can't put a preferred keyserver URL into v3 signatures Now, I know that I can't do that but I don't want to be told about it every time I sign something when I've explcitly enabled --pgp7. Would it be unreasonable to ignore preferred keyserver urls when pgp[67] are used? I've been using the attached patch (minus the pgp2 part which I just added) for a while to do just this and I haven't noticed any problems. (There may be cleaner ways to do this, but this was what I got working without knowing the code too well. :) If it's not appropriate to patch this out, is there a good way to silence this without losing other info? The --quiet option doesn't do it. -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hang in there, retirement is only thirty years away!
Index: g10/gpg.c
===================================================================
--- g10/gpg.c (revision 4504)
+++ g10/gpg.c (working copy)
@@ -2998,6 +2998,8 @@
xfree(s2k_digest_string);
s2k_digest_string = xstrdup("md5");
opt.compress_algo = COMPRESS_ALGO_ZIP;
+ free_strlist(opt.sig_keyserver_url);
+ opt.sig_keyserver_url=NULL;
}
}
else if(PGP6)
@@ -3005,12 +3007,16 @@
opt.escape_from=1;
opt.force_v3_sigs=1;
opt.ask_sig_expire=0;
+ free_strlist(opt.sig_keyserver_url);
+ opt.sig_keyserver_url=NULL;
}
else if(PGP7)
{
opt.escape_from=1;
opt.force_v3_sigs=1;
opt.ask_sig_expire=0;
+ free_strlist(opt.sig_keyserver_url);
+ opt.sig_keyserver_url=NULL;
}
else if(PGP8)
{
pgpuhq7mUXP7L.pgp
Description: PGP signature
_______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
