Tomb icon indicating copy to clipboard operation
Tomb copied to clipboard

LUKS header detaching

Open parazyd opened this issue 9 years ago • 4 comments

Should we implement LUKS header detaching from freshly locked tombs? Should it be a default?

An option for storing the header could be keeping it in the tomb key itself.

parazyd avatar Mar 26 '17 00:03 parazyd

I am in favor of this as it would improve tomb's security and resilience, since one can more easily backup keys instead of the tomb and the integrity of headers is vital to access the tomb.

It is a rather delicate change that should be 100% retrocompatible with older tombs.

There will be the need to extend the range of information embedded "key header", which is right now sometimes present to specify pbkdf2 configuration. It will make keys bigger (up to 5Kb) which may impact qrcode generation and image steganography, while I'm not sure we should consider a compression algo for the 4Kb LUKS header (which alone is 4 times bigger than a key right now).

These are just some initial considerations for now, will follow up with more or organise this section better on a new edit. This change will go into Tomb 3, for which I'm creating a milestone.

jaromil avatar Mar 27 '17 09:03 jaromil

can you post a link here on that cryptsetup with deniable patch?

jaromil avatar Apr 16 '17 04:04 jaromil

It's this one: https://github.com/kriswebdev/cryptsetup-deluks

Keep in mind it's probably not been reviewed by anyone yet.

parazyd avatar Apr 17 '17 12:04 parazyd