lkml.org 
[lkml]   [2012]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5 0/7] eCryptfs: added support for the encrypted key type
From
Date
Hi there, 


Either this is completely braindead, or I'm missing something very obvious.
Why mess up encrypted keys with various "format" fixes.
I hope this doesn't start a trend.

The right (and disturbingly simpler) approach to fixing the auth_token vs.
raw key material issue would be to put the fix in eCryptfs.

In fact, all the relevant bits for filling the token from the key_desc/sig should be moved
from security/keys/encrypted/ecryptfs_format.c to fs/ecryptfs/ecryptfs_kernel.h,
and all the format cruft in encrypted-keys reverted.
Then pretty much any "default" encrypted key could be used for ecryptfs…

What am I missing?


--@;

---
posted at http://www.serverphorums.com
http://www.serverphorums.com/read.php?12,341340,618745#msg-618745


\
 
 \ /
  Last update: 2012-12-14 14:01    [W:0.030 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site