How to use a keyserver

Charly Avital shavital@netbox.com
Wed Jan 15 20:40:02 2003


At 6:13 PM +0100 1/15/03, Thomas Arend wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>> keyserver x-hkp://keyserver.kjsl.com
>
>the x-hkp:// is not needed 7doesn#t work with every keyserver.

It works fine with that particular server, and as you will see, also with
blackhole.pca.dfn.de that you have tested.

>the option
>	
>	keserver x-hkp://blackhole.pca.dfn.de
>
>results in an error.

Are you sure about "keserver"? keyserver would be better.

>thomas@r1:~> gpg --search-key thomas arend
>gpg: unable to execute program "gpgkeys_xhkp": Datei oder Verzeichnis nicht 
>gefunden
>gpg: no handler for keyserver scheme "xhkp"

It is not "xhkp' it is "x-hkp"

For your information, this is what I got in my Terminal:

[-----]% gpg --keyserver x-hkp://blackhole.pca.dfn.de --search-keys Thomas Arend
gpg: searching for "Thomas Arend" from HKP server blackhole.pca.dfn.de
Keys 1-10 of 10 for "Thomas Arend"
(1)     Thomas Arend (Fregatte Koeln SELO) <fgs.koe@t-online.de>
          1024 bit key 29A70CA2, created 2002-12-15
(2)     Thomas Arend (Fregatte Köln SELO) <fgs.koe@t-online.de>
          1024 bit key 29A70CA2, created 2002-12-15
(3)     Thomas Arend (Der Adler) <thomas@arend-whv.info> (revoked)
          1024 bit key 4216352F, created 2002-12-14
(4)     Thomas Arend (Wilhelmshaven) <thomas@t-arend.de>
          1024 bit key 314CC709, created 2002-12-12
(5)     Thomas Arend (Der Adler) <thomas@t-arend.de>
          1024 bit key 314CC709, created 2002-12-12
(6)     Thomas Arend (Der Adler) <thomas@arend-whv.info>
          1024 bit key 314CC709, created 2002-12-12
(7)     Thomas Arend (Der Adler) <thomas.arend@t-online.de>
          1024 bit key 314CC709, created 2002-12-12
(8)     Thomas Arend (Wilhelmshaven) <thomas@whv-online.de>
          1024 bit key 314CC709, created 2002-12-12
(9)     Thomas Arend (Wilhelmshaven) <thomas@arend-whv.info>
          1024 bit key 314CC709, created 2002-12-12
(10)    Thomas Arend (Wilhelmshaven) <thomas.arend@t-online.de>
          1024 bit key 314CC709, created 2002-12-12
Enter number(s), N)ext, or Q)uit > 

Works OK for me.

And it is also OK with only hkp, without x-hkp:

[--]% gpg --keyserver hkp://blackhole.pca.dfn.de --search-keys Thomas Arend
gpg: searching for "Thomas Arend" from HKP server blackhole.pca.dfn.de
Keys 1-10 of 10 for "Thomas Arend"
(1)     Thomas Arend (Fregatte Koeln SELO) <fgs.koe@t-online.de>
          1024 bit key 29A70CA2, created 2002-12-15
[snip - same list of keys as before]

>- -----
>The option:
>	keyserver blackhole.pca.dfn.de


[..]% gpg --keyserver blackhole.pca.dfn.de --search-keys Thomas Arend
gpg: searching for "Thomas Arend" from HKP server blackhole.pca.dfn.de
Keys 1-10 of 10 for "Thomas Arend"
(1)     Thomas Arend (Fregatte Koeln SELO) <fgs.koe@t-online.de>
          1024 bit key 29A70CA2, created 2002-12-15
[snip - same list of keys as above]

>works fine.


The *three* possibilities work identically fine, at least for those two servers.


>Best regards


Best regards too,

Charly