]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
dirnode.py: security bug: also use child writecap to derive child enc key,
authorBrian Warner <warner@lothar.com>
Sun, 12 Jul 2009 23:47:50 +0000 (00:47 +0100)
committerBrian Warner <warner@lothar.com>
Sun, 12 Jul 2009 23:47:50 +0000 (00:47 +0100)
commitc1d5717cf0ecd68f4ed170c3043d5cc79917e36b
treeaca238f888081f0c214a2eba6aca003a470d6ac6
parent93ef0fb84d28545b1e2992363c6e4b35b22ed81f
dirnode.py: security bug: also use child writecap to derive child enc key,
not just the dirnode writecap. The previous code (which only hashed the
dirnode writecap) would use the same key for all children, which is very bad.
This is the correct implementation of #750.
src/allmydata/dirnode.py