Using the "preferred keyserver URL" in GnuPG 1.4

Simon Josefsson jas at extundo.com
Tue Dec 21 15:41:08 CET 2004


David Shaw <dshaw at jabberwocky.com> writes:

> 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

It works fine now.

Thanks.

jas at latte:~$ gpg --edit-key b565716f
gpg (GnuPG) 1.4.0; Copyright (C) 2004 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
Secret key is available.

pub  1280R/B565716F  created: 2002-05-05  expires: 2005-04-13  usage: CS
                     trust: ultimate      validity: ultimate
sub  1280R/4D5D40AE  created: 2002-05-05  expires: 2005-04-13  usage: E
[ultimate] (1). Simon Josefsson <simon at josefsson.org>
[ultimate] (2)  Simon Josefsson <jas at extundo.com>

Command> keyserver dns:simon.josefsson.org?type=CERT
gpg: WARNING: no user ID has been marked as primary.  This command may
              cause a different user ID to become the assumed primary.

You need a passphrase to unlock the secret key for
user: "Simon Josefsson <simon at josefsson.org>"
1280-bit RSA key, ID B565716F, created 2002-05-05


pub  1280R/B565716F  created: 2002-05-05  expires: 2005-04-13  usage: CS
                     trust: ultimate      validity: ultimate
sub  1280R/4D5D40AE  created: 2002-05-05  expires: 2005-04-13  usage: E
[ultimate] (1)  Simon Josefsson <simon at josefsson.org>
[ultimate] (2). Simon Josefsson <jas at extundo.com>

Command> q
Save changes? (y/N) y
jas at latte:~$



More information about the Gnupg-users mailing list