This patch set modifies the eCryptfs code in order to lock requested keys while authentication tokens are used to encrypt or decrypt files. Roberto Sassu Roberto Sassu (5): eCryptfs: ecryptfs_keyring_auth_tok_for_sig() bug fix eCryptfs: modified size of keysig in the ecryptfs_key_sig structure eCryptfs: verify authentication tokens before their use eCryptfs: move ecryptfs_find_auth_tok_for_sig() call before mutex_lock eCryptfs: write lock requested keys fs/ecryptfs/ecryptfs_kernel.h | 5 +- fs/ecryptfs/keystore.c | 170 +++++++++++++++++++++++++++-------------- fs/ecryptfs/main.c | 8 +- 3 files changed, 122 insertions(+), 61 deletions(-) -- 1.7.4
Attachment:
smime.p7s
Description: S/MIME cryptographic signature