From 1755c5de40c9fc8634e5985e1113179f046b8f13 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 25 Jul 2014 15:12:51 -0400 Subject: [PATCH] thought about chunk key hashing --- doc/design/assistant/chunks.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/design/assistant/chunks.mdwn b/doc/design/assistant/chunks.mdwn index d7517243ca..b5a86ef82c 100644 --- a/doc/design/assistant/chunks.mdwn +++ b/doc/design/assistant/chunks.mdwn @@ -209,3 +209,12 @@ cannot check exact file sizes. If padding is enabled, gpg compression should be disabled, to not leak clues about how well the files compress and so what kind of file it is. + +## chunk key hashing + +A chunk key should hash into the same directory structure as its parent +key. This will avoid lots of extra hash directories when using chunking +with non-encrypted keys. + +Won't happen when the key is encrypted, but that is good; hashing to the +same bucket then would allow statistical correlation.