Take the 2-minute tour ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

I've read that one of the vulnerabilites of ecryptfs is leaks to swap memory, and that the solution is to encrypt swap. But even if swap is encrypted, it's still open until I reboot. I've also read in this answer, from the designer of the ecryptfs crypto, that "eCryptfs makes no special effort to prevent key proliferation in memory". But I'm not sure if this means only while it is mounted/open.

Given the above I suspect ecryptfs doesn't guarantee that the key is removed from ram after unmounting, is that true? Does that mean that encrypted data is vulnerable between unmounting ecryptfs and rebooting?

The scenario I'm trying to protect against is one where an attacker has physical access to my running computer once, after I have closed my encrypted files. Is there a file based encryption solution for this scenario?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.