summaryrefslogtreecommitdiffstats
path: root/kbx
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2023-12-19 07:56:13 +0100
committerNIIBE Yutaka <gniibe@fsij.org>2023-12-19 07:56:13 +0100
commit1c5584c395d75121046e42a27d60df7b6c6e660e (patch)
tree2811e02f6fde8dd096945eb9e4cff08a3f0d3489 /kbx
parentkeyboxd: Pass lock info back to gpg and gpgsm. (diff)
downloadgnupg2-1c5584c395d75121046e42a27d60df7b6c6e660e.tar.xz
gnupg2-1c5584c395d75121046e42a27d60df7b6c6e660e.zip
kbx: Create public-keys.d, after creating the homedir.
* kbx/keyboxd.c (create_directories): Following the behavior of gpg-agent, call create_public_keys_directory after mkdir. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'kbx')
-rw-r--r--kbx/keyboxd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kbx/keyboxd.c b/kbx/keyboxd.c
index 88a350a08..f875e115d 100644
--- a/kbx/keyboxd.c
+++ b/kbx/keyboxd.c
@@ -1262,6 +1262,7 @@ create_directories (void)
{
if (!opt.quiet)
log_info (_("directory '%s' created\n"), home);
+ create_public_keys_directory (home);
}
}
}