Home GnuPG
Diffusion GnuPG c4b60cdae8db

sm: Create homedir and lock empty keybox creation.
c4b60cdae8dbUnpublished

Unpublished Commit · Learn More

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

Description

sm: Create homedir and lock empty keybox creation.

* sm/gpgsm.h (opt): Add field "no_homedir_creation".
* sm/gpgsm.c (main): Set it if --no-options is used.
* sm/keydb.c (try_make_homedir): New.  Similar to the one from
g10/openfile.c.
(maybe_create_keybox): New.  Similar to the one from g10/keydb.c.
(keydb_add_resource): Replace some code by maybe_create_keybox.

Details

Provenance
wernerAuthored on Aug 14 2014, 5:14 PM
Parents
rG21e5125e441e: build: Yet another autogen.sh --find-version change.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGc4b60cdae8db: sm: Create homedir and lock empty keybox creation. (authored by Werner Koch <wk@gnupg.org>).Aug 14 2014, 5:15 PM