Home GnuPG
Diffusion GnuPG d1625a9a82b1

dirmngr: Load --hkp-cacert values into the certificate cache.
d1625a9a82b1Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

dirmngr: Load --hkp-cacert values into the certificate cache.

* dirmngr/dirmngr.c (hkp_cacert_filenames): New var.
(parse_rereadable_options): Store filenames from --hkp-cacert in the
new var.
(main, dirmngr_sighup_action): Pass that var to cert_cache_init.
* dirmngr/certcache.c (cert_cache_init): Add arg 'hkp_cacert' and load
those certs.
(load_certs_from_file): Use autodetect so that PEM and DER encodings
are possible.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 21 2017, 1:57 PM
Parents
rG9741aa24d905: dirmngr: Load "sks-keyservers.netCA.pem" into the cache.
Branches
Unknown
Tags
Unknown

Event Timeline