3
$\begingroup$

Recently I started wondering about multiple encryption and found pages upon pages of posts and debates about the security of cascades.

Now, don’t worry – I'm not looking for someone to discuss a homebrew cascade encryption scheme. What I do wonder about is the dangers of multiple layers of encryption.

I keep most of my sensitive files on a LUKS encrypted USB stick – and most of the files are encrypted themselves. There are AES encrypted password wallets, password protected LibreOffice documents (using AES if I have understood the documentation correctly) and lately I have been developing a growing folder of Camellia encrypted files (thanks to a colleague that discovered that GPG now included the cipher).

In short: does storing these encrypted files in an encrypted partition/folder create the same potential weaknesses as cascade encryption? If not, what about encrypting a .tar of encrypted documents?

Pardon my ignorance, and thank you in advance.

$\endgroup$

1 Answer 1

2
$\begingroup$

In short: does storing these encrypted files in an encrypted partition/folder create the same potential weaknesses as cascade encryption? If not, what of encrypting a .tar of encrypted documents?

An encrypted file inside an encrypted container is a cascade of ciphers, almost by definition.

Is that a problem? Not really. A cascade of ciphers shouldn't be weaker than a single layer of encryption, unless something is wrong – e.g. the keys are not independent.

Concerns about cascades are mostly theoretical – I wouldn't expect the cascade to ever be weaker when you have two different ciphers. There is no easy way to prove that for real world ciphers, however, and there's always the risk of sidechannel attacks and bugs, so it isn't something to recommend as a way to strengthen a system.

In your case it's still the best thing to do, since you don't want all those files to be visible decrypted when the filesystem is mounted.

$\endgroup$
3
  • $\begingroup$ Thank you. So in short it isn't a good practice but not an instant gaping security hole. The next part then though would be: how to store encrypted files. I'm guessing storing the encrypted files on an unencrypted usb fixes the cascade issue, but that does rather lay the files bare... any ideas on secure storage of encrypted files, if you don't mind? $\endgroup$
    – Aaron W.
    Commented Jul 30, 2014 at 23:08
  • $\begingroup$ @AaronW., I wouldn't even go so far as saying it isn't good practice. I would just continue what you are doing. If paranoid about it, use a different cipher to encrypt the files than the filesystem uses (LUKS = AES?). $\endgroup$
    – otus
    Commented Jul 31, 2014 at 6:40
  • $\begingroup$ and here I am, way late to reply. As far as I can remember it is possible to change the cipher used with LUKS, but the default is AES. $\endgroup$
    – Aaron W.
    Commented Aug 18, 2014 at 20:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.