linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] eCryptfs key locking patches
@ 2011-03-21 15:00 Roberto Sassu
  2011-03-21 15:00 ` [PATCH v2 1/5] eCryptfs: removed num_global_auth_toks from ecryptfs_mount_crypt_stat Roberto Sassu
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Roberto Sassu @ 2011-03-21 15:00 UTC (permalink / raw)
  To: tyhicks
  Cc: kirkland, dhowells, jmorris, linux-fsdevel, keyrings,
	linux-kernel, ecryptfs-devel, Roberto Sassu

[-- Attachment #1: Type: text/plain, Size: 1428 bytes --]

This patch set modifies the eCryptfs code in order to lock requested keys
while authentication tokens are used to encrypt or decrypt files.

Changelog:
  - removed patch "eCryptfs: ecryptfs_keyring_auth_tok_for_sig() bug fix"
	(already applied to the eCryptfs git repository at git.kernel.org);
  - added new patch "eCryptfs: removed num_global_auth_toks from 
	ecryptfs_mount_crypt_stat";
  - patch 3/5: avoid invalidating a global authentication token only if
	key_validate() returns the error -EKEYEXPIRED;
  - patch 3/5: added new function
	process_find_global_auth_tok_for_sig_err() to handle errors
	returned by ecryptfs_find_global_auth_tok_for_sig();
  - patch 3/5: return an error in the function
	ecryptfs_generate_key_packet_set() if at least one global
	authentication token cannot be retrieved.

Roberto Sassu


Roberto Sassu (5):
  eCryptfs: removed num_global_auth_toks from ecryptfs_mount_crypt_stat
  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/crypto.c          |    1 -
 fs/ecryptfs/ecryptfs_kernel.h |    4 +-
 fs/ecryptfs/keystore.c        |  280 ++++++++++++++++++++++++++---------------
 fs/ecryptfs/main.c            |    8 +-
 4 files changed, 185 insertions(+), 108 deletions(-)

-- 
1.7.4


[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2061 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-03-22 21:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-21 15:00 [PATCH v2 0/5] eCryptfs key locking patches Roberto Sassu
2011-03-21 15:00 ` [PATCH v2 1/5] eCryptfs: removed num_global_auth_toks from ecryptfs_mount_crypt_stat Roberto Sassu
2011-03-21 15:00 ` [PATCH v2 2/5] eCryptfs: modified size of keysig in the ecryptfs_key_sig structure Roberto Sassu
2011-03-21 15:00 ` [PATCH v2 3/5] eCryptfs: verify authentication tokens before their use Roberto Sassu
2011-03-21 15:00 ` [PATCH v2 4/5] eCryptfs: move ecryptfs_find_auth_tok_for_sig() call before mutex_lock Roberto Sassu
2011-03-21 15:00 ` [PATCH v2 5/5] eCryptfs: write lock requested keys Roberto Sassu
2011-03-22 21:32 ` [PATCH v2 0/5] eCryptfs key locking patches Tyler Hicks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).