Using the "preferred keyserver URL" in GnuPG 1.4
David Shaw
dshaw at jabberwocky.com
Tue Dec 21 14:52:14 CET 2004
On Tue, Dec 21, 2004 at 11:39:15AM +0100, Simon Josefsson wrote:
> David Shaw <dshaw at jabberwocky.com> writes:
>
> > 1) gpg --edit-key (yourkey)
> > 2) keyserver (yoururl)
> > 3) save
>
> When I do this, gpg seem to expire my key... what am I doing wrong?
Interesting bug. Try this patch to keyedit.c
David
-------------- next part --------------
Index: keyedit.c
===================================================================
RCS file: /cvs/gnupg/gnupg/g10/keyedit.c,v
retrieving revision 1.165
diff -u -r1.165 keyedit.c
--- keyedit.c 21 Dec 2004 04:19:03 -0000 1.165
+++ keyedit.c 21 Dec 2004 13:52:16 -0000
@@ -3558,7 +3558,8 @@
{
PKT_signature *sig = node->pkt->pkt.signature;
if ( keyid[0] == sig->keyid[0] && keyid[1] == sig->keyid[1]
- && (uid && (sig->sig_class&~3) == 0x10) )
+ && (uid && (sig->sig_class&~3) == 0x10)
+ && sig->flags.chosen_selfsig)
{
char *user=utf8_to_native(uid->name,strlen(uid->name),0);
if( sig->version < 4 )
More information about the Gnupg-users
mailing list