ZFS Crypto Update

I think I have everything from the "new world order" implemented now. Most of it is even working!

Now 1404 lines smaller and much more functional!

Summary of changes:

  • IV now always in BP
  • Macros for IV and MAC in BP
  • Keys now in MOS ZAP objects as a keychain rather a property
  • PROP_TYPE_BINARY removed
  • clones can have own key for unique data
  • clones can get new wrapping key at 'zfs clone' time.
  • keyscope and all zpool changes gone
  • keysource value and actual wrapping key inherited
  • No longer encrypting dnode bonusbufs (waiting on SA code)
  • Big code cleanup from the above changes.

I'm not done yet, now the big debugging session begins!

To finish is key change currently it works only for single dataset. Code is written for all inheriting that wrapping key but not yet working.

The test suites also need updating and some other features like 'rename' and 'promote' haven't been unit tested yet.

Update:

"English Translation", thats a tough one since the things Jim asked for a translation have no other reasonable names since they are either crypto or ZFS terms and what I was referring to is a very low level implementation detail that won't be at all visible to anyone other than a ZFS developer. However they are things that enable other features such as: "pool device removal", "better secured delete for clones".

For the schedule part see the zfs-crypto project page

Comments:

Woohoo! </cheerlead>

Posted by Glynn Foster on April 02, 2009 at 03:41 PM BST #

Darren,

Please translate to English for those who are not kernel hackers:

"new world order"

Most of it is even working! (But when will it show up in Nevada or OpenSolaris)

# IV now always in BP
# acros for IV and MAC in BP
#
# Keys now in MOS keychain object rather a property

What?

Posted by Jim Laurent on April 02, 2009 at 07:00 PM BST #

So when can we expect integration into sxce?

Posted by Jonas on April 02, 2009 at 07:31 PM BST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

DarrenMoffat

Search

Categories
Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today