aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/misc.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-03-02dirmngr: Rearrange files to fix de6d831.Werner Koch1-2/+0
* dirmngr/http-common.c: New. * dirmngr/http-common.h: New. * dirmngr/Makefile.am (dirmngr_SOURCES): Add them. (t_http_SOURCES): Add them. (t_ldap_parse_uri_SOURCES): Add them. * dirmngr/misc.c (get_default_keyserver): Move to ... * dirmngr/http-common.c: here. * dirmngr/http.c: Include http-common.h instead of misc.h. * dirmngr/http-ntbtls.c: Ditto. Signed-off-by: Werner Koch <[email protected]>
2017-03-02dirmngr: Let --gpgconf-list return the default keyserver.Werner Koch1-0/+2
* dirmngr/misc.c (get_default_keyserver): New. * dirmngr/http.c: Include misc.h (http_session_new): Use get_default_keyserver instead of hardwired "hkps.pool.sks-keyservers.net". * dirmngr/http-ntbtls.c (gnupg_http_tls_verify_cb): Ditto. * dirmngr/dirmngr.c (main) <aGPGCongList>: Return default keyserver. Signed-off-by: Werner Koch <[email protected]>
2016-01-22dirmngr: Indicate that serial numbers are hexadecimal.Werner Koch1-1/+1
* dirmngr/misc.c (hexify_data): Add arg with_prefix. Adjust all callers. * dirmngr/crlcache.c (cache_isvalid): Print "0x" in front of the S/N. -- GnuPG-bug-id: 1147 Signed-off-by: Werner Koch <[email protected]>
2015-03-23Move copy_stream function to misc.c.Neal H. Walfield1-0/+2
* dirmngr/ks-action.c (copy_stream): Move function from here... * dirmngr/misc.c (copy_stream): ... to here and drop the static qualifier. * dirmngr/misc.h (copy_stream): Add declaration. -- Signed-off-by: Neal H. Walfield <[email protected]>
2015-03-23Move armor_data to misc.c.Neal H. Walfield1-0/+4
* dirmngr/ks-engine-hkp.c (armor_data): Move function from here... * dirmngr/misc.c (armor_data): ... to here and drop static qualifier. * dirmngr/misc.h: New declaration. -- Signed-off-by: Neal H. Walfield <[email protected]>
2014-09-10dirmngr: Support https for KS_FETCH.Werner Koch1-0/+4
* dirmngr/ks-engine-hkp.c (cert_log_cb): Move to ... * dirmngr/misc.c (cert_log_cb): here. * dirmngr/ks-engine-http.c (ks_http_fetch): Support 307-redirection and https. -- Note that this requires that the root certificates are registered using the --hkp-cacert option. Eventually we may introduce a separate option to allow using different CAs for KS_FETCH and keyserver based requests.
2010-08-06More work on the dirmngr. It now builds for W32 and W32CE and quickWerner Koch1-8/+2
tests show that it works on W32.
2010-06-09Merged Dirmngr with GnuPG.Werner Koch1-0/+87
A few code changes to support dirmngr.