Home GnuPG
Diffusion GnuPG 7de9ed521e51

agent: Keep some permissions of private-keys-v1.d.

Description

agent: Keep some permissions of private-keys-v1.d.

* common/sysutils.c (modestr_to_mode): Re-implement.
(gnupg_chmod): Support keeping of permissions.
  • GnuPG-bug-id: T2312
  • Signed-off-by: Werner Koch <wk@gnupg.org>