1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-11 23:59:50 +02:00
gnupg/tests/migrations
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
..
from-classic.gpghome tests: Test the migration from a classic GnuPG home directory. 2016-04-20 15:02:37 +02:00
from-classic.test agent: Sanitize permissions of the private key directory. 2016-04-20 15:02:37 +02:00
Makefile.am tests: Test the migration from a classic GnuPG home directory. 2016-04-20 15:02:37 +02:00