From: Brian Warner Date: Sat, 3 Nov 2007 03:53:41 +0000 (-0700) Subject: mutable.txt: more notes X-Git-Tag: allmydata-tahoe-0.7.0~294 X-Git-Url: https://git.rkrishnan.org/specifications/index.php?a=commitdiff_plain;h=49cc32d012d410e87da2387c2050e3d95e15d950;p=tahoe-lafs%2Ftahoe-lafs.git mutable.txt: more notes --- diff --git a/docs/mutable.txt b/docs/mutable.txt index 86ff16ad..a71945ea 100644 --- a/docs/mutable.txt +++ b/docs/mutable.txt @@ -386,10 +386,14 @@ is oblivious to this format. 103 4 (10) IV 107 4 (11) share data 111 8 (12) encrypted private key + TODO: (13) end of file 6 119 256 verification key (2048 RSA key 'n' value, e=3) 7 375 256 signature= RSAenc(sig-key, H(version+seqnum+r+encparm)) - 8 631 (a) share hash chain - 9 ?? (b) block hash tree + 8 631 (a) share hash chain, encoded as: + "".join([pack(">H32s", shnum, hash) + for (shnum,hash) in needed_hashes]) + 9 ?? (b) block hash tree, encoded as: + "".join([pack(">32s",hash) for hash in block_hash_tree]) 10 ?? 16 IV (share data is AES(H(readkey+IV)) ) 11 ?? LEN share data 12 ?? 256 encrypted private key= AESenc(write-key, RSA 'd' value) @@ -539,3 +543,6 @@ of them when we accept the update? "UNABLE to renew non-existent lease. I have leases accepted by " + "nodeids: '12345','abcde','44221' ." +confirm that a repairer can regenerate shares without the private key. Hmm, +without the write-enabler they won't be able to write those shares to the +servers.. although they could add immutable new shares to new servers.