Home GnuPG
Diffusion GnuPG 1fbf085bc8b4

gpgconf: Make sure the homedir exists for --apply-profile.

Description

gpgconf: Make sure the homedir exists for --apply-profile.

* tools/gpgconf.c (main) <aApplyDefaults, aApplyProfile>: Create the
standard home directory.

This fixes a regression due to the fix for
Before that change gpgsm implictly created the homedir while options
were collected. It is important to have this so that a login script
can create config files for new users.

  • GnuPG-bug-id: T4867
  • Signed-off-by: Werner Koch <wk@gnupg.org>