Diffusion GnuPG 7de9ed521e51

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

Authored by werner on Wed, Sep 9, 8:33 PM.

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>