mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
dirmngr: Initialize cache from sysconfig dir
* dirmngr/certcache.c (cert_cache_init): Load certificates from sysconfig dir instead of the homeidr. * dirmngr/dirmngr.c (main): Removed parsing of obsolete homedir_data option. * dirmngr/dirmngr.h (opt): Removed homedir_data. * doc/dirmngr.texi: Update and clarify certs directory doc. -- Using the homedir for extra-certs and trusted-certs makes little sense when dirmngr is used with a caller that manages it's own store of certificates and can provide those through the SENDCERT command. You can use trusted-certs and extra-certs to provide users with a base of locally available certificates that are not already in store of the applications.
This commit is contained in:
parent
b4c798b86e
commit
070d7bf940
5 changed files with 21 additions and 23 deletions
|
@ -800,7 +800,6 @@ main (int argc, char **argv)
|
|||
#else
|
||||
opt.homedir = gnupg_sysconfdir ();
|
||||
#endif
|
||||
opt.homedir_data = gnupg_datadir ();
|
||||
opt.homedir_cache = gnupg_cachedir ();
|
||||
socket_name = dirmngr_sys_socket_name ();
|
||||
}
|
||||
|
@ -926,8 +925,6 @@ main (int argc, char **argv)
|
|||
if (nogreeting )
|
||||
greeting = 0;
|
||||
|
||||
if (!opt.homedir_data)
|
||||
opt.homedir_data = opt.homedir;
|
||||
if (!opt.homedir_cache)
|
||||
opt.homedir_cache = opt.homedir;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue