Receiving a key on standard output

Thomas Arend Thomas.Arend@t-online.de
Fri Jan 3 20:40:02 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Freitag, 3. Januar 2003 01:54 schrieb David Shaw:
> On Thu, Jan 02, 2003 at 01:30:44PM -0500, Jason Harris wrote:
> > On Thu, Jan 02, 2003 at 02:19:57PM -0000, greg@turnstep.com wrote:
> >
> > NB:  The PGP signature on your message is bad.
> >
> > [fetching a key to a file]
> > Run gpgkeys_* directly (it has been covered on one of these lists
> > before).  See ./code/lget[.asc] on my website for an example.
>
> The only difficulty with this is that versions of GnuPG less than 1.3
> don't have a gpgkeys_hkp - only gpgkeys_ldap and gpgkeys_mailto.
> Without gpgkeys_hkp, I think the easiest way to fetch a key from a
> keyserver into a file is with wget or similar programs:
>
>  wget -O thefile.asc
> 'http://keyserver.kjsl.com:11371/pks/lookup?op=3Dget&search=3D0x9924256=
0'
>
> 'thefile.asc' now has the key.
>
> David

The following command will receive and import the key

wget -O - \
'http://keyserver.kjsl.com:11371/pks/lookup?op=3Dget&search=3D0x99242560'=
 | gpg \
- --import


Best regards

Thomas Arend


Schilfgraben 29
26389 Wilhelmshaven

Telefon: 04421-83062

Jetzt auch GnuPG / PGP verschl=FCsselt erreichbar.

Schhl=FCssel=20
<http://blackhole.pca.dfn.de:11371/pks/lookup?op=3Dget&search=3D0x314CC70=
9>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+Fed72TqsmTFMxwkRAg89AKCUeY08GV0hGBgcH2FXrsWIzwN1YgCguRqh
1ZSm8N6ih2EwEV5r6tbHH+8=3D
=3DdouY
-----END PGP SIGNATURE-----