479 points · by java-man · 11y ago · 174 comments
What is the checksum of the source tree that I can use to verify that I have exactly the copy they audited ?
I looked at the full report PDF and saw no mention of downloads, binaries, source trees or checksums.
> The iSEC team reviewed the TrueCrypt 7.1a source code, which is publicly available as a zip archive (“truecrypt 7.1a source.zip”) at http://www.truecrypt.org/downloads2. The SHA1 hash of the reviewed zip archive is 4baa4660bf9369d6eeaeb63426768b74f77afdf2.
The Phase II report (today;s release) claims to be auditing 7.1a, so I assume it's exactly the same version and ZIP file.
Last June, they published "a verified TrueCrypt v. 7.1 source and binary mirror", including file hashes, on GitHub: https://github.com/AuditProject/truecrypt-verified-mirror
I just cloned that repo and inspected the source ZIP; the SHA1 sum matches what they quote in the report.
That doesn't mean Truecrypt is perfect. The auditors did find a few glitches and some incautious programming -- leading to a couple of issues that could, in the right circumstances, cause Truecrypt to give less assurance than we'd like it to.
Mandatory Profiles
/shrug While it's certain that if you're operating inside a mandatory profile you are at the mercy of whoever created it... but that doesn't mean that people don't try to circumvent restrictions placed on them by their Administrators.
It's also not clear to me just how common Mandatory Profiles are actually.
https://veracrypt.codeplex.com/
Also, please refer to this stackexchange thread:
http://security.stackexchange.com/questions/58994/are-there-...
Well right, they're not a fork so it's not the same kind of problem if they use the name. They're a fansite.
There is a lot of discussion on the license on the VeraCrypt forums.
It's completely reasonable to ask people to stay away from the TrueCrypt name in my opinion, so that his software's reputation would not be tarnished if amateurs or problem-causing people took over the TrueCrypt name.
I wish the TrueCrypt end was handled better, but it's unique situation has some educational value.
TrueCrypt,the binary application may break without further development but its on-disk format will continue to thrive as more applications pick it up as a mean to support cross platform encryption format.
[1] https://github.com/bwalex/tc-play
[2] https://gitlab.com/cryptsetup/cryptsetup/blob/master/README....
No significant issues were found in either phase of the TrueCrypt audit. If you're using it today (or have used it in the past), I don't think you have anything to worry about.
But it is an unmaintained piece of software, and for that reason I would migrate away from it. If I were setting up a new laptop today, I wouldn't consider installing it. If I had an existing laptop using it, I would think about transitioning when I had some spare time.
Not a hair-on-fire problem, though.
Again, this is just my perception.
More of a direct competitor to Truecrypt.
"How I compiled TrueCrypt 7.1a for Win32 and matched the official binaries" ―
https://madiba.encs.concordia.ca/~x_decarn/truecrypt-binarie...
That always seems a bit shady and suspicious
Similar to what happened with lavabit. I doubt the devs did anything, more likely they were asked to do something they felt was shady. They could've seen the storm that was brewing on the horizon.
The best course of action was to do nothing, given they couldn't talk about it if they were served. Walking away was the only option.
This is pure speculation. Logical, but still speculation.
"Linux" only appears once in the report, and then only in a footnote.
http://arstechnica.com/security/2015/04/truecrypt-security-a...
1. Download it for your OS : https://www.grc.com/misc/truecrypt/truecrypt.htm
2. Verify the hash : https://defuse.ca/truecrypt-7.1a-hashes.htm
The weaknesses of XTS mode are mostly limitations imposed by full-disk encryption. You should think of XTS as fine for FDE, but you also shouldn't put too many expectations on FDE. FDE is great if you leave your powered-off laptop in the back of a cab. It's not great if federal agents distract you and steal your powered-on-and-logged-in laptop at the library.
You should definitely use FDE, but you should also separately encrypt the things that are really important to you.
Or, in my case, leave the laptop in a rather nice leather messenger bag on the seat in the bus. Very reassuring that the average opportunistic thief (or as I like to imagine, the skint teenager) basically has to wipe the hard drive and reinstall an operating system.
Now, on Linux, has anyone here been able to get luksSuspend and luksResume working with suspend to RAM on a Debian/Ubuntu system? That would be golden.
http://waaaaargh.github.io/gnu&linux/2013/08/06/lukssuspend-...
http://askubuntu.com/questions/348196/how-do-i-enable-ubuntu...
The Truecrypt developers supposedly left because it wasn't interesting/fun for them anymore. I believe that. Funding this audit required ~$65k in donations, probably more than the Truecrypt project ever saw. If you were the developer of a project that you knew was solid, and you knew had no backdoors, how would you feel about people essentially maligning you being able to generate more cash than you've ever seen for your side project? That'd make me want to quit too.
At the end of the day, which is more preferable -- a TrueCrypt that was never audited professionally, or a TrueCrypt with active developers?
How can we ensure security in open-source software without driving the developers away in the future?
I think one way would be to match every single audit donation with a donation to the upstream developers. If it's worth spending a dollar to audit software, it's worth spending a dollar to keep that project alive and show the developer you care. It would have taken twice as long to get the audit funded, but maybe then the developer wouldn't have been hounded away.
Personally, though, I think this audit was a colossal waste of time and resources. All it told us was something every truecrypt user was assuming already, and it cost us all Truecrypt. What guarantee is there any of the new developers are going to be as trustworthy as the original developers, or as skilled?
It would be relly nice if there was some common container format you could mount natively on these operating systems without the need for 3rd party software. I think I remember reading about LUKS supporting TrueCrypt's container format - but that, of course, only works on Linux. And frankly, I don't see Apple and Microsoft either supporting the TrueCrypt container format natively or getting together to define a new one.
Plus, BitLocker is not available on Vista Business and Windows 7 Pro. So if you don't want to use Windows 8, again, you are kind of screwed.
[1] At least it was/is the only software that I know of which allows you to do that. If there are alternatives, I would very much like to hear about them!
"LUKS" stands for "linux unified key setup" and it is an "on-disk format" and its reference implementation is found in cryptsetup[1]
LUKS on-disk format is supported in windows through doxbox[2]
cryptsetup also supports TrueCrypt,the on-disk format.
people usually say "LUKS" when they mean cryptsetup as it makes no difference to them but i think its important to know the difference.
[1] https://gitlab.com/cryptsetup/cryptsetup/wikis/Specification
Just use PGP, probably the gpg [0] software. You can set it up so that each machine knows the others' public keys, or you can take a shortcut and copy the same private key to all your machines. Encrypt and decrypt as you like. This is "hacker" advice, however; gpg is not a consumer-oriented tool. You'll have to read some documentation and keep your wits about you. But that was true of TC as well, wasn't it?
If there's a replacement for this use case I'd really like to know about it.
Ditto:
If you're using FDE for your system disk, it is desirable to know that in the event of the OS becoming unbootable that you can open it using any old OS. Especially in the case of laptops, where you won't have any guarantees about what other machines are available.
Why fund an audit then? Why beat this particular dead horse?
Can you imagine being that open source developer, putting hours of your (incredibly valuable, if you're a talented crypto dev) time into a project that gets relentlessly shit on, later raising more money to hunt through backdoors than you've ever seen for it?
How would you that make you feel? How would you feel when you thought about working on the code? When you thought about fixing bugs reported by people who were paid to look for them by people who openly distrust you?
That isn't a rhetorical question. I'd like you to imagine the situation the Truecrypt devs were in, try to empathize with them, and tell us about it.
I'm not trying to say Truecrypt should never have been audited, or that open-source projects in general should never be audited. But I do think this particular case was badly handled, and I don't think that's such a horrible thing to say. Things are mishandled all the time. We can always learn from our mistakes. Let's learn from this experience and make the next cross-platform crypto tool better for everyone.
I'm really having a hard time seeing the problem here.
Also, (as far as I know) all public evidence for your assertion is a purported email from one of the devs to Matt Green. He might just have been polite in that mail...
I'm amused by the idea that the actual words of the TC developers are less credible than whatever random thoughts are bubbling around a message board. But, HN, what are you gonna do.
Said every entity that has ever been audited in the history of time.
Of course you assume your partners' accounting books are legit, and you assume your vendors' IT controls are tight, and you assume your encryption software isn't backdoored. There is no guaranteed relation between your assumptions and reality until someone qualified checks it out.
Would you have bet money that Truecrypt was backdoored?
I don't think many people would have. Because they didn't really believe it. They thought an audit would be a "good assurance," but I really doubt many of them considered donating the money to Truecrypt, and the relative value of each.
For whatever reasons the TrueCrypt developers chose not to do that, those are their own reasons. But when it comes to issues of security, you don't make assumptions and you don't trust without verifying. If, like you are implying, the developers took offense to that and quit out of spite, that's no one's fault but their own.
So no, you can't blame the people who wanted or performed the audit. The audit did not "cost us" TrueCrypt in any way.
Truecrypt's primary installation base was Windows. Where's the audit for that?
I don't think the developer quit out of spite. I think they quit because they felt underappreciated, overwhelmed with un-fun requests related to the audit, and were very rudely awakened to the fact that it's easier for a project that implies Truecrypt is backdoored to raise money than for Truecrypt to raise money.
Is a third option even possible? Micropayments? Reputation?
Sleepycat did it with BerkeleyDB (they were bought by Oracle, though, and I don't know if Oracle changed this arrangement), the same goes for MySQL (which, of course, is now owned by Oracle, too). There are a few more, I guess, that I do not know about.
OPSI is backed by a company and uses a model where OPSI itself is free software (in both ways), but new features are made available to paying customers only initially, until development of these features has been paid for.
Also, there are cases of companies making software open source, but making money by doing one-off customization or (obviously) support contracts.
I am not trying to poo poo open source development model, or decry evils of commercialism. I think we can all benefit from finding an alternative.
I thought the Truecrypt developers quit because the US Government forced them to surrender their private keys.
Are you implying that "the devs lost interest" is mutually exclusive from "the devs were facing burnout from dealing with a hostile community"? To me, the latter is causal to the former, but you might disagree.
In a commercial setting, there is financial motivation for a company to hire and train new developers, but in the case of an open source project this may not be the case.
How do we motivate people to fix or continue development of open source projects? Is it possible at all?
---------------------------------------------
Details:
Truecrypt creates a .txt file - via a GUI - which is complete gibberish... until you unlock it. It is then a mounted drive.
At time of creation of the Truecrypt volume you:
* set the drive size - it can be very small (ex: 1mb) to very large (many GB iirc)
* set the access credentials. This can be a password, or it can be a password and key-file - that is a file you must pass in addition to the password. The file can be any kind of file. A jpg, an MS Word doc file, a OS iso, a .pem or .ppk... it doesn't matter. I think the hash generated by the file is essentially a second passphrase. Change the contents of the file and you change the hash... it doesn't work. Pick your favorite picture among the tens of thousands you have backed up several places online... and it's much less obvious than the one or two .ppk files you have tucked away in you lastpass account.
* you can have a "hidden volume." Say for example somebody drugs you and hits you over the head with a wrench to get your Truecrypt volume access credentials. You give them the credentials, they unlock and mount the drive... and inside is your grandma's banana bread recipe... not your bitcoin wallet details. You gave them the passphrase to a "dummy volume." If you follow the instructions correctly regarding this you can have the actually valuable information hidden within the Truecrypt volume. There's no indication that any particular volume has a hidden volume in it or not. So there's a kind "plausible deniability" about what's there.