1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Support key fetching using HTTP.

A simple test case is:

  gpg2 --fetch-key http://werner.eifelkommune.de/mykey.asc
This commit is contained in:
Werner Koch 2011-02-09 15:42:29 +01:00
parent 2c79a2832c
commit f02d972aec
6 changed files with 164 additions and 8 deletions

View file

@ -1,4 +1,4 @@
/* ks-engine-finger.c - HKP keyserver engine
/* ks-engine-finger.c - Finger OpenPGP key access
* Copyright (C) 2011 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
@ -33,7 +33,7 @@
/* Get the key from URI which is expected to specify a finger scheme.
On success R_FP has an open stream to read the data. */
gpg_error_t
ks_finger_get (ctrl_t ctrl, parsed_uri_t uri, estream_t *r_fp)
ks_finger_fetch (ctrl_t ctrl, parsed_uri_t uri, estream_t *r_fp)
{
gpg_error_t err;
estream_t fp;