Does secure delete files on an encrypted partition make sense

encryption

I have an encrypted partition that I mount with cryptsetup at every boot.

Does secure delete (e.g. with srm) a file into this partition make sense?

I know that from an external point of view an encrypted partition is just casual bits.

But if one day I left the encrypted partition mounted on my system is it possible that an "attacker" use a forensic tool to recover files?

Best Answer

cryptsetup provides "at rest" data security. If the drive is stolen when the machine is off (or, at least, the drive not unlocked) then it's safe.

It does not protect you if someone obtains access to the machine while the drive is unlocked. They can read all your files. And if they obtain root, image the unencrypted drive, run undelete programs, and possibly even steal the master encryption key.

So, yes, secure delete has a purpose even on encrypted drives.

Related Question