]> git.tuebingen.mpg.de Git - paraslash.git/commit
gcrypt: Check file permissions of private keys.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 10 Jul 2016 19:33:18 +0000 (21:33 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 22 Aug 2016 15:27:51 +0000 (17:27 +0200)
commit33d0d618adbd6bd7afafbbbe1fd0d60b7c8d561c
tree399c0731f9ac5f337b508e3401f005d1aadb4ada
parentc998e827328c7989986e4fb91048e7f427f722a8
gcrypt: Check file permissions of private keys.

Before opening a private key, crypt.c checks that the permissions
are restrictive enough. However, the gcrypt implementation contains
no such check. This commit adds it.
gcrypt.c