News for hackers. Stuff that matters.
Re:Truecrypt report by tptacek on Thursday April 02, 2015 @11:40AM (#9311354)
The Truecrypt Audit Project did not "cost you Truecrypt". The primary reason the project was abandoned was that it's a 3rd party package that implements something every operating system now implements for itself, better than Truecrypt could. There is a mythology among Linux Truecrypt users that the whole project was an effort to create a cross-platform encrypted disk scheme to free users from the tyrannical yoke of I don't know LUKS, but I've seen zero evidence that such a goal was particularly important to actual TC developers.
Re:Truecrypt report by krylon on Thursday April 02, 2015 @12:17PM (#9311636)
Alas, TrueCrypt was/is the only free solution that allows you to encrypt a USB flash drive (or create an encrytped container file on it) and thus exchange data between, a Mac, a Windows machine, and a Linux machine[1]. Maybe the number of people who need/want that is small compared to the number of people who want some form of whole disk encryption, but if you are one of those people, you are pretty much screwed without TrueCrypt.

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!

Re:Truecrypt report by mhogomchungu on Thursday April 02, 2015 @01:07PM (#9311944)
> I think I remember reading about LUKS supporting TrueCrypt's container format - but that, of course, only works on Linux.

"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

[2] https://github.com/t-d-k/doxbox

Re:Truecrypt report by krylon on Thursday April 02, 2015 @01:14PM (#9311981)
Thank you very much for clearing that up!
Re:Truecrypt report by jessaustin on Thursday April 02, 2015 @12:50PM (#9311855)
...exchange data between, a Mac, a Windows machine, and a Linux machine.

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?

[0] https://www.gnupg.org/

Re:Truecrypt report by krylon on Thursday April 02, 2015 @01:30PM (#9312079)
I am aware of PGP, and yes, one could do that, but... a) While I am not afraid of reading docuzmentation, TrueCrypt has always struck me as being really, really simple to use. b) The whole point of an encrypted filesystem is that cleartext data never hits the disk/flash drive/whatever. Of course you can prepare your data, encrypt it with gpg, transmit it in whatever way you choose, then decrypt it. But then you have on-disk plain text data, which in some cases is just not desirable.

Just to be clear, I appreciate your suggestion, and in many cases it is entirely sufficient.

But for me, right now, TrueCrypt hits kind of a sweet spot in terms of portablity, convenience and security.

Re:Truecrypt report by TheLoneWolfling on Thursday April 02, 2015 @12:53PM (#9311870)
Agreed. My flash drives have a (portable) copy of TC on them and a container. I don't consider it secure (how could I, considering that I use it for shuttling things to/from machines I don't own), but it's a whole lot better than nothing.

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.

Re:Truecrypt report by krylon on Thursday April 02, 2015 @01:21PM (#9312026)
What is "secure" depends on the scenario you have in mind. I keep some work-related on my flash drive encrypted, in case I loose the flash drive on the train or something like that. There was a case a couple of years back where somebody in the UK, I think, lost a flash drive with very sensitive data, like, medical records of prison inmates or something like that, on a train, unencrypted - the data I carry is far less sensitive, but this is precisely the scenario I want to be protected from.
Re:Truecrypt report by TheLoneWolfling on Thursday April 02, 2015 @02:12PM (#9312385)
Yep.

As I said - it's a whole lot better than nothing. The "insecure" thing is mainly to remind myself that it isn't the be-all and end-all.

Re:Truecrypt report by tedks on Thursday April 02, 2015 @03:16PM (#9312559)
Based on the other comments you've made in this thread, it seems like you wouldn't have recommended anyone to use Truecrypt even when talk of auditing it started.

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.

Re:Truecrypt report by tptacek on Thursday April 02, 2015 @04:16PM (#9312912)
Badly handled... how? Truecrypt got audited, like so many open source projects say they want to get audited, by top-caliber vuln researchers, and they didn't have to pay a dime. Instead, people who cared about the audit footed the bill.

I'm really having a hard time seeing the problem here.

Re:Truecrypt report by tedks on Friday April 03, 2015 @05:20PM (#9318619)
Could you answer my question about how you would feel (what emotions you would experience) in a similar circumstance?
Re:Truecrypt report by tptacek on Monday April 06, 2015 @09:35AM (#9327980)
I would feel like my project got audited by top-caliber vulnerability researchers and I didn't have to pay a dime to make that happen. "Happy" is how I would feel, I guess.

Now can you answer my question?

Re:Truecrypt report by tedks on Monday April 06, 2015 @03:49PM (#9330308)
* The massive fundraising drive for an audit did not contribute back to the project in any way. I think half, or at least 25%, of a fundraiser tangential to a project should go back to the project itself. If something is valuable enough to audit, it should be valuable enough to pay for. It seems like a massive slap in the face to developers to directly compete with them in the donations pool in such a way.

* As far as I can tell, the audit project began without the consent of the Truecrypt developers. You can argue that this is necessary for some security reason, but it is also a rude gesture to an open-source project.

* The crowdfunding drive contained no provisions for handling the results of the audit such as developer resources, etc.. The existing developers were assumed to be both capable and motivated to drop whatever they were spending their free time working on to fix things that auditors found.

* The atmosphere around the audit push from the beginning seemed very negative. There was a distinct "Truecrypt is super sketchy" vibe in the HN comments, etc., surrounding it initially. I think that this was a good thing for the audit, which meant helping the audit directly hurt the Truecrypt brand. This dovetails with...

* Singling out Truecrypt as the target of an extensive, expensive audit seems somewhat absurd. There are several projects that could have benefited much more from an audit that weren't audited, such as OpenSSL, Linux's RNG, OpenVPN, any other TLS implementation, Tor, maybe TextSecure (though I don't know if TextSecure had enough of a userbase at the time to justify it, it certainly does now). Why were these projects not audited? I think it's because the Truecrypt devs tried to be anonymous, and low-profile, whereas these other projects are all backed by people with faces who are much harder to throw something at than Truecrypt was.

istruecryptauditedyet.com is a real page now, but what was it before? A giant NO on the screen? Is there an 'istextsecureauditedyet.com' even though TS uses novel protocols and crypto? Why not?

So, I think:

* The fundraiser should have supported Truecrypt while raising money for an audit

* The fundraiser should have incorporated costs to fix anything found as a result of an audit, with money going back to Truecrypt if nothing substantial was found

* The audit push should have been conducted with the consent, or better yet, solicitation, from Truecrypt developers

* The audit should have been conducted in a more respectful way, emphasizing the positive gain from auditing specifically Truecrypt rather than the negative aspects of Truecrypt's existing development style

In general, open source is a massive donation of time and effort and should be treated like the gift that it is instead of being taken for granted. I think that people took Truecrypt for granted and that's probably a part of the reason why its developer quit, because that is a very common reason for open-source developers to quit and I find it impossible to believe that it was not at all a factor in their quitting.

If you would truly feel happy if your project was shit on, donations effectively stolen from you, and a ton of work dumped on you that you did not ask for, but now must immediately address lest you be attacked for "ignoring the results of the audit," you are a special type of human to say the least.

Re:Truecrypt report by gcv on Thursday April 02, 2015 @11:47AM (#9311412)
TrueCrypt has portable volume images. It's nice to make a container on Mac OS and give it to a Windows user and know it will mount as a filesystem or drive.
Re:Truecrypt report by tptacek on Thursday April 02, 2015 @11:51AM (#9311454)
This is an abuse of FDE. If you're moving archives from one OS to another, use userland file-level encryption. There are a bunch of reasons for this: you'll get better crypto primitives, you get cryptographic integrity protection (XTS can't offer that), and the crypto code you'll be using will be simpler and thus easier to audit.
Re:Truecrypt report by TheLoneWolfling on Thursday April 02, 2015 @01:06PM (#9311940)
Can you give an example of a file encrypter / decryptor that has a portable version and is cross-platform?

Also, file encryption / decryption fails massively for some things. What I want is something that implements a filesystem. As otherwise things with many files get... annoying. Not to mention less secure.

If there's a better way to do this then let me know.

Re:Truecrypt report by minopret on Thursday April 02, 2015 @01:36PM (#9312115)
You can use 7zip to archive, compress, and AES-256 encrypt.

You can also use GnuPG or openssl to encrypt a file or a disk image.

Lately I took a look at actual filesystems for cross-platform use. I didn't find a great one, but depending on which OS you want to burden with an extra driver, pretty good ones include exFAT, NTFS, and UDF specifically version 2.01. Like you, I am curious whether better answers are available.

Re:Truecrypt report by TheLoneWolfling on Thursday April 02, 2015 @02:04PM (#9312338)
Again, those don't work for filesystem purposes. One of the nice things about TC is that it not only is cross-platform, but that it functions as an mountable directory across all of them.
Re:Truecrypt report by gcv on Thursday April 02, 2015 @04:50PM (#9313126)
When the brouhaha about TrueCrypt started, I wrote a zsh wrapper for "mounting" GPG-encrypted tarballs as directories: https://gist.github.com/gcv/b7d72023a851f2edf951

It works well as a TrueCrypt replacement for me personally, but has a couple of warts. Secure rm is slow on cleanup, and the user needs to be careful about the hidden files it uses to keep track of volume metadata.

Re:Truecrypt report by TheLoneWolfling on Thursday April 02, 2015 @07:57PM (#9313872)
> and is cross-platform

That's not Windows-compatible, as far as I know.

Still interesting though.

Re:Truecrypt report by gcv on Thursday April 02, 2015 @09:33PM (#9314093)
I consider the zsh scripts a proof-of-concept more than production code. It should be a relatively simple matter to rewrite the gpgd scripts in a portable manner, provided gpg and tar are available. I'm sure Windows has some kind of secure rm equivalent, too.
Re:Truecrypt report by __david__ on Thursday April 02, 2015 @01:42PM (#9312157)
PGP/GPG.
Re:Truecrypt report by TheLoneWolfling on Thursday April 02, 2015 @02:06PM (#9312350)
Does GPG actually support mounting directories without installation?
Re:Truecrypt report by paralelogram on Thursday April 02, 2015 @11:56AM (#9311494)
Most Windows 7 versions (Starter, Home Basic, Home Premium and Professional) don't support full disk encryption.
Re:Truecrypt report by tptacek on Thursday April 02, 2015 @11:58AM (#9311503)
Upgrade, or switch. Doesn't every version of Win8 support it?
Re:Truecrypt report by pbsd on Thursday April 02, 2015 @12:04PM (#9311551)
No.
Re:Truecrypt report by tptacek on Thursday April 02, 2015 @12:20PM (#9311658)
You're referring to Bitlocker, right? Don't they do something different, like iOS Data Protection, for non-Pro?
Re:Truecrypt report by pbsd on Thursday April 02, 2015 @12:25PM (#9311686)
Yes, Bitlocker. There is something called "Device Encryption" in every edition, but it has some rather unusual hardware requirements (TPM and connected standby).
Re:Truecrypt report by sfk on Thursday April 02, 2015 @11:47AM (#9311410)
This fact must have been known to Matt Green et al.! Why did they waste 65k on an evidently obsolete project?

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...

Re:Truecrypt report by tptacek on Thursday April 02, 2015 @11:50AM (#9311439)
Both Matt Green and I donated to the project. The reason: thousands of people actually use Truecrypt, and it's important to know how safe their data actually was.

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.

Re:Truecrypt report by sfk on Thursday April 02, 2015 @12:04PM (#9311549)
That's not what the donation page says:

https://www.fundfill.com/fund/TrueCryptAudited

There's no hint that the audit is for historic purposes.

As for your second paragraph, I already said that the TC developer might just have been polite in that mail. Technical people are often not able to stand up for themselves, especially if it comes to money.

Re:Truecrypt report by tptacek on Thursday April 02, 2015 @12:18PM (#9311642)
I'm pretty sure I can safely speak for the TC audit project on this point.