2

I installed Truecrypt on a new laptop with Windows 7 and started encrypting the system partition. While encrypting, I ran another program which froze the OS. I had to turn the laptop off and reboot, and after rebooting the encryption process restarted.

Everything seems to be ok, but is there any chance that I lost the data which was being encrypted at the time of the crash of the entire OS, or does Truecrypt perform a verification of the encrypted data before marking a sector as encrypted?

2
  • Possibly a better question for security.stackexchange.com ?
    – akseli
    Commented Aug 2, 2011 at 10:41
  • It's absolutely on topic here -- if it doesn't receive any helpful answers, it could be migrated over. In the meantime, Enrico, please don't double-post the question on another site. If you feel it should be migrated, use the "flag" link to inform a moderator. @aks
    – slhck
    Commented Aug 2, 2011 at 10:44

1 Answer 1

3

Is there any chance? Yes, some. Does Truecrypt perform checks? Yes, absolutely. Can you be 100% sure it's all fine? No. Can you be 98-99.9% sure it's okay? Yes.

The Truecrypt FAQ suggests chkdsk is still the right way to check an encrypted volume for issues.

I can't answer as to exactly how Truecrypt ensures data integrity, but I can say that it's unlikely Truecrypt would corrupt the content of a file without a corruption in the underlying filesystem structure itself, due to the nature of what it's doing. So, if chkdsk and Truecrypt think the volume structure is okay, then it's very likely the content is as it was before encryption.

2
  • That's ok, but chkdsk doesn't perform any check on the content of a file, in case it has been corrupted... My question is, does Truecrypt encrypt data from sector A to empty sector B, then checks sector B and ONLY if sector B is verified ok, THEN sector A is freed? Or something like that, i.e. data is considered encrypted ONLY after it has been verified. Commented Aug 2, 2011 at 12:48
  • Updated to respond to your comment. Commented Aug 2, 2011 at 14:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .