1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Justus Winter f8adf1a323 agent: Sanitize permissions of the private key directory.
* agent/gpg-agent.c (create_private_keys_directory): Set permissions.
* common/sysutils.c (modestr_to_mode): New function.
(gnupg_mkdir): Use new function.
(gnupg_chmod): New function.
* common/sysutils.h (gnupg_chmod): New prototype.
* tests/migrations/from-classic.test: Test migration with existing
directory.

GnuPG-bug-id: 2312
Signed-off-by: Justus Winter <justus@g10code.com>
2016-04-20 15:02:37 +02:00
..
2015-11-17 12:50:22 +01:00
2015-10-28 10:20:17 +01:00
2015-11-17 12:50:22 +01:00
2014-12-02 14:13:53 +01:00
2016-01-05 10:15:49 +09:00
2007-07-04 19:49:40 +00:00
2015-11-19 16:18:20 +01:00
2015-11-17 12:50:22 +01:00
2007-07-04 19:49:40 +00:00