News for hackers. Stuff that matters.
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @02:05PM (#9070316)
Who said anything about full disk encryption? Certainly not the comment you replied to.
Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @02:12PM (#9070348)
Truecrypt is full disk encryption.
Re:Ask HN: TrueCrypt audit status? by skeeterbug on Wednesday February 18, 2015 @02:23PM (#9070425)
It is not only full disk encryption. I have used a file container encrypted with financial information on linux and windows over the years. I can mount that file on either OS.
Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @02:29PM (#9070457)
Like Charles Dimino, you're not following the point. The security limitations of FDE come from doing crypto at the block layer. If your cryptosystem is giving something that (a) transparently encrypts and (b) mounts as a filesystem, it's block crypto, and shares the same problems as whatever cryptosystem unlocks your boot drive.

The problem is block-level crypto. It has nothing to do with whether it's layered on top of a hardware disk drive.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @02:32PM (#9070472)
You're obsessing over the crypto, but we're talking about the user experience. It's block-level crypto. We get that. No one cares, in the context of this conversation.

What you're not getting is that TrueCrypt offered a particular interface experience and cross-platform compatibility that doesn't exist elsewhere.

Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @02:35PM (#9070484)
You write as if the whole thread isn't there for people to see, and as if I had somehow responded to something you said rather than it being the other way around. You literally started this unproductive subthread by responding to the comment where I addressed the need for cross-platform things that work like Truecrypt does, and you've tried to built an argument by stipulating that security doesn't matter. Sorry, security is all that matters here.
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @02:46PM (#9070536)
http://www.markus-gattol.name/ws/dm-crypt_luks.html

"The term "full-disk/on-disk encryption" is often used to signify that everything on a disk is encrypted, including the programs that can encrypt bootable operating system partitions."

Are you going to tell Markus Gattol he's wrong? No? Good, let's move on.

What matters here is the security, and the adoption rate of TrueCrypt is/was through the roof, because of how it allowed folks to move encrypted volumes across various platforms without much hassle.

What you wrote seems to intimate there's no actual need or value in moving encrypted volumes across platforms, and that if folks actually want to do that they should just encrypt individually and at a FS level and do so using PGP, which has existed for years, and whose adoption rate and ease-of-use are both, compared to TrueCrypt, through the floor.

The fact is, people want to move encrypted volumes across platforms. It's not more secure than anything else, but it presents a workflow that might actually be more secure, due simply to it's ease of implementation.

You're right, security is all that matters here, and folks aren't going to be secure if it remains impossibly difficult to be secure.

Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @02:49PM (#9070551)
The reference you just provided, with your "are you going to tell Markus Gattol he's wrong" quip, starts out as follows:

Block-layer encryption, also known as "whole disk encryption", "on-disk encryption" or "full-disk encryption"

I think you're just trolling. Sorry, I didn't even finish reading your comment.

Amusingly (edit: given how you cited it), there is in fact cryptographic stuff wrong in that article.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @02:56PM (#9070587)
> Amusingly, there is in fact cryptographic stuff wrong in that article.

Oh yeah? That it wasn't personally endorsed by you?

Re:Ask HN: TrueCrypt audit status? by SamReidHughes on Wednesday February 18, 2015 @03:46PM (#9070811)
(IMO) In that what it says about what specific things do does not correspond with objective reality. (As a product of the enlightenment I believe that such a concept exists and that correspondence with such is what makes something "wrong" or "right." ;-) If you want to know why, just look at what the article says, then observe objective reality, and see how they differ. The "Salt, Stretching" section is one place to look, it's the only one I really bothered reading.
Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @03:51PM (#9070835)
Minimum viable non-snarky answer is: read what Rogaway says about the block-level crypto modes here:

http://web.cs.ucdavis.edu/~rogaway/papers/modes.pdf

You'll know the part I'm referring to because it reads practically as a response to a chunk of Gattol's page; it's a problem shared by the Wikipedia coverage on full-disk encryption.

Being cagey about it (i) motivates you to actually read the paper and (ii) avoids what would inevitably be an extremely unproductive debate.

(This is a fantastic survey, by the way; if you're interested in crypto, bookmark it forever.)

My amusement about Gattol's page has nothing to do with Gattol; it's just the way his page got used in this thread by someone else, as a sort of rhetorical "fatality" move. I'm confident Gattol is much smarter than I am. I say that because Dimino also tried to take this thread to Gattol on Twitter, too. :)

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @04:00PM (#9070896)
I figured if someone were besmirching my good work, I'd want to know about it, is all. I don't think one should be able to call someone wrong without giving them a chance to disagree.

Furthermore, this is devolving into a schoolyard, "I know but I'm not telling" situation. To put it another way, I don't think there is any significant error in the Gattol's page, nor is there any significant error on the wikipedia page on full-disk encryption.

I'm very glad to be shown to be incorrect on this point, but I doubt I would be, at least by you.

I'm interested in this area, both professionally and as a genuine curiosity, but every time I run into you it's a negative experience. I'd like that to stop happening.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @03:52PM (#9070846)
That's a mighty fancy of saying, "it's wrong" without pointing out examples.

But hey, I'm not ultimately the guy who wrote the article. I've poked both the author and Thomas on twitter -- maybe Thomas can help the author correct any inaccuracies. You, too, could help I'd imagine, if you would be more specific about the issues. I'm guessing the author wouldn't want his article to remain inaccurate if folks could point out the specific issues.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @02:51PM (#9070564)
It's like I'm talking to a child when I talk to you. I wouldn't bother if you didn't constantly pop up to derail conversations about crypto with your "crypto should stay hard" attitude. I suspect you want crypto to remain impossible to get right just so you can continue to stay relevant.

The rest of my comment frankly wasn't for you, it's for the folks reading what you write and blindly accepting it. At least now they can see how petulant you can be when facing differing points of view.

Re:Ask HN: TrueCrypt audit status? by YuriNiyazov on Wednesday February 18, 2015 @03:28PM (#9070730)
Up until this comment, I thought you might have a point against tptacek, but now it's clear you are trolling. Or at least, not operating under the "give your opponent a charitable interpretation" rule of HN.
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @03:30PM (#9070733)
I admit I tilted. It's just frustrating every time I talk to him or see him talk to others about anything that's even remotely contradictory to what he's said, it always devolves into something as inane as what happened here.

I shouldn't have tilted. :(

Re:Ask HN: TrueCrypt audit status? by otakucode on Wednesday February 18, 2015 @03:03PM (#9070612)
Is it still considered 'full disk' when its only used with a container file? I've never used TCs full-disk mode, but I've used it to quickly and easily create mountable disk images (even without encryption this would be handy). To my ear, 'full disk encryption' is something a hard drives firmware should be involved in.
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @03:12PM (#9070658)
It's "block level" encryption.

Some folks call that "full disk encryption", but since there's a separate feature in TrueCrypt that calls itself "full disk encryption" and is actually encrypting the entire disk, to the point where TrueCrypt has to supply a boot loader to decrypt, it's probably reasonable to want to differentiate the two.

Thomas doesn't see the difference because it's all "block level" encryption, and apparently the only thing in the world that matters is crypto (rather than the presentation and adoption of crypto), but the difference is mainly in the boot loader aspect.

Re:Ask HN: TrueCrypt audit status? by Dylan16807 on Wednesday February 18, 2015 @08:39PM (#9071994)
What are you talking about? It needs a boot loader if it encrypts the OS partition, which is orthogonal to whether it encrypts entire physical discs or not. That feature is not called "full disk" anywhere I can see. "System Encryption" or something.
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @10:42PM (#9072301)
> That feature is not called "full disk" anywhere I can see. "System Encryption" or something.

See above citation.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @02:19PM (#9070397)
No it's not, I use TrueCrypt all the time but not to encrypt my disk. Are you talking about the volume-level encryption TrueCrypt offers?

Are you really trying to suggest the world shouldn't have a tool like TrueCrypt out there?

Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @02:20PM (#9070408)
I have no idea why you think it's productive to litigate the difference between "block-level encryption" and "full-disk encryption", but if it makes you feel better we can just pretend we switched the terms, because my point applies equally to them --- they're synonyms.

I also have no idea where the "I'm telling the world there shouldn't be a tool like Truecrypt" came from. I think you've misread me.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @02:23PM (#9070427)
I never said you were telling the world anything.

I'm asking you a question to clarify your stance.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @02:24PM (#9070432)
And yes, there is value in noting the difference between block-level and full-disk encryption, mostly because they're different.
Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @02:26PM (#9070444)
Interesting. How?
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @02:31PM (#9070465)
Size, software used. The crypto might be the same, but this isn't just about the crypto itself.
Re:Ask HN: TrueCrypt audit status? by kngspook on Wednesday February 18, 2015 @04:29PM (#9071073)
If you're talking about a security product -- which TrueCrypt is -- the first metric you have to concern yourself with is: does it keep you secure? The user experience and the adoption and the performance and all that other fun stuff is irrelevant if the product doesn't do the one thing that every user unequivocally requires of it.

So yes, it's not just about the crypto...when the crypto works. But when the crypto is insecure, which is what tptacek is saying, then yes, it is ONLY about the crypto.

NB: I'm plenty qualified on UX and general technical matters, but on whether crypto is secure, I defer to the experts.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @04:33PM (#9071102)
No one knows about they cryptographic integrity of TrueCrypt, as the person/persons actually doing the work only got their act together today.

http://blog.cryptographyengineering.com/2015/02/another-upda...

My only point has been that Thomas, et. al. have been telling us we don't want something like TrueCrypt, despite the fact that we very clearly do. His suggestion of "just use PGP and FS level encryption" is absurd, but NOT from a crypto standpoint (I, like you, defer to Thomas and the other experts on the integrity of the crypto itself). It is, however, absurd from a UX/workflow standpoint.

Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @04:38PM (#9071126)
Horseshit. Round 1 and Round 2 of the audit share technical members. The guy leading the actual crypto review work has been looking at Truecrypt for more than a year. And Matthew Green, who coordinates the whole audit project, just wrote that he and his students have been reviewing Truecrypt's crypto for months.

They did not "only get their act together today". They've thought about Truecrypt far more rigorously than you have, and for far, far longer.

You've been almost completely unable to explain in technical terms what "UX" you want from sector-level crypto that you couldn't get from filesystem crypto. When pressed, you in effect say "yeah, well, name a tool that does that".

The fact that your only options today are [insecure, easy] and [secure, difficult] does not mean that there is no [secure, easy] option possible. But militating in favor of insecure crypto goes a long way towards hiding that possibility from everyone.

This isn't a pedantic point. Ross Ulbricht just got reamed in federal court because a simple physical arrest compromised virtually every secret he had. Why? Because he was relying on sector-level all-or-nothing crypto. By encouraging people to rely on tools like Truecrypt, you are, in a very small but real way, endangering them.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @04:44PM (#9071156)
Today was the day Matthew Green released an update on his blog.

I was just reading it, and that's exclusively I was referring to. I look forward to the results and am grateful of the time they're spending. I hope they find nothing.

Not sure why you made this about me personally.

Re:Ask HN: TrueCrypt audit status? by DanBC on Wednesday February 18, 2015 @05:06PM (#9071276)
> Not sure why you made this about me personally.

Your comments in this thread come off as ridiculously aggressive. I'm not sure if you're aware of that.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @05:19PM (#9071349)
There is admittedly a level of aggression I feel when talking to Thomas, as I find his conversational tone off-putting and generally elitist.

I thought I did a better job of dealing with that for the most part, however. Maybe not.

Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @04:46PM (#9071172)
This is what you actually wrote:

https://www.dropbox.com/s/hy5wj0t1t84hlk4/Screenshot%202015-...

I stand by what I just wrote.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @04:53PM (#9071204)
That's still up there in my comment you replied to, you realize that right?
Re:Ask HN: TrueCrypt audit status? by lawnchair_larry on Wednesday February 18, 2015 @05:46PM (#9071457)
This isn't a pedantic point. Ross Ulbricht just got reamed in federal court because a simple physical arrest compromised virtually every secret he had. Why? Because he was relying on sector-level all-or-nothing crypto.

That is not accurate.

Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @07:55PM (#9071875)
... because...
Re:Ask HN: TrueCrypt audit status? by geographomics on Wednesday February 18, 2015 @11:11PM (#9072359)
There was a bit more to it than just that. He could have used block-level encryption relatively safely if he'd made a series or hierarchy of Truecrypt containers and mounted them only when needed, rather than putting everything on just the one block device.

More importantly, his physical security was lacking, as he hadn't properly considered the threat model. If he'd been working in a secured area (like a locked room) where open laptop snatching was infeasible, that would have given him enough warning to close the lid, and maybe pop the battery out. Albeit still vulnerable to a cold boot attack, if law enforcement have such capacity.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @04:51PM (#9071198)
You're rambling.

TrueCrypt lets you create fixed sized encrypted volumes, and allows you to decrypt those volumes on any of the three major OS platforms.

There's nothing special about TrueCrypt in how it performs the encryption/decryption (or so we're told), but no tool besides TrueCrypt allows such a flexible approach.

And it's you who refuses to accept that [secure,easy] can exist, because it'd make you irrelevant. It's a completely silly stance to take, but it's yours.

But hey, at least I've wrung your opinion on TrueCrypt out of you:

> By encouraging people to rely on tools like Truecrypt, you are, in a very small but real way, endangering them.

For posterity, in case you edit it away.

Which leads me to the question: Why are you even involved in the TrueCrypt audit, if you think it's a bad idea to use such tools?

P.S. Ulbricht was caught because the FBI owned TOR, and that's about it. Maybe your indignation towards TrueCrypt should consider Snowden's use of TrueCrypt to evade the combined allied world's intelligence community.

Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @04:57PM (#9071231)
Would you like to put money on whether my opinion about Truecrypt is identical to Matthew Green's and Kenn White's, or would you like to include them in your critique?

It's amusing that you feel you've "wrung out" of me something one of the few things I've recently blogged at length about.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @04:58PM (#9071241)
Then why are any of you three working on it if you all think it's dangerous to promote its use?

You've blogged, "Don't use TrueCrypt"?

Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @04:59PM (#9071244)
I've already answered that question, directly, on this thread.

And no, I blogged "don't use sector-level crypto". In a post literally titled "You Don't Want XTS". Under the subhed "Disks Are The Last Thing You Want To Encrypt". As in, "the last thing in the world".

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @05:04PM (#9071267)
The first sentence of your own article says:

> This piece is written for software designers, not end-users. If you’re an end-user looking for crypto advice: use Truecrypt, use Filevault, use dm-crypt

Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @05:06PM (#9071275)
This is apparently where you stopped reading.
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @05:16PM (#9071326)
It's a great write-up, I read the whole thing. You clearly understand the domain well.

I really just don't get why you'd, in one breath, decry XTS, and then in that same breath, recommend people use TrueCrypt, which is, as you call it, "the best-known implementation of XTS".

Maybe just lead me to the water on this one. It's really the only thing left unresolved in our conversation.

Re:Ask HN: TrueCrypt audit status? by daeken on Wednesday February 18, 2015 @05:58PM (#9071492)
Block-level encryption is a terrible, terrible approach for many reasons (which 'tptacek has referenced a million times). However, Truecrypt is the best such implementation, and it's a required approach in certain cases. You should be doing crypto at the application/filesystem level; if you can't, use Truecrypt. This isn't contradictory advice.
Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @06:36PM (#9071616)
This is like, 89% of what I think (I don't think TC is the best, but it's not the worst).

What's weird to me is why we have a gigantic thread dedicated to the precise nuances of what I think about Truecrypt. Isn't this incredibly boring?

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @06:52PM (#9071677)
Mostly, except for the part where the guy who conducted phase 1 of the TrueCrypt audit said that encouraging TrueCrypt's use is dangerous and harmful.
Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @07:54PM (#9071873)
I didn't conduct phase 1 of the audit, and that's not precisely what I think.
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @08:04PM (#9071899)
Then you're right, it's entirely uninteresting.
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @06:09PM (#9071526)
That's not just what he said, he also said, "By encouraging people to rely on tools like Truecrypt, you are, in a very small but real way, endangering them."
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @04:59PM (#9071245)
No you haven't.
Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @05:01PM (#9071258)
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @05:07PM (#9071289)
You also completely changed the comment I originally replied to. I much prefer your new comment, though my fundamental issue with the fact that you're working on the audit of software you think is dangerous to promote remains.
Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @05:15PM (#9071322)
No, I did no such thing.
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @05:30PM (#9071401)
I don't know what you think you're accomplishing by saying "nuh uh" like this. You've done it a few times, and I don't understand, in any of these cases, why you think anyone would think you'd say otherwise.

If you'd care to elaborate beyond, "nuh uh", I'm sure we'd all be glad to hear it.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @05:06PM (#9071274)
The "No you haven't" was in regard to the fact that you haven't answered why you're involved in TrueCrypt at all, if you don't think it should be used.
Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @05:06PM (#9071280)
Yes, that's what I thought you meant. Perhaps reread the thread.
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @05:09PM (#9071296)
Well, you have edited a lot of your comments, so perhaps you did include this information in a later edit?

Edit:

Having re-read the thread, you haven't explained why you're involved in the TrueCrypt audit, or why you recommend folks use TrueCrypt if you think XTS is bad.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @05:02PM (#9071259)
Please stop calling me names.
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @02:22PM (#9070416)
I changed my comment somewhat, because you're being very squirmy, as per usual.

Do you think something like TrueCrypt shouldn't exist?

Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @02:25PM (#9070434)
I'm not being "squirmy". You're playing a semantic game with the word "disk". The technical issue with FDE is that it works at the level of blocks, and so lacks information about message boundaries or the storage flexibility needed to (a) randomize the encryption and (b) store authenticators. Encrypt a physical disk, encrypt a file that pretends to be a mountable volume, same issues.

I get that not everyone understands the technical issues in designing storage encryption, but don't take that out on me.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @02:25PM (#9070437)
Yours is a hilariously catty response to a fairly benign question.
Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @02:26PM (#9070448)
Says the person who wrote "Are you really trying to suggest the world shouldn't have a tool like TrueCrypt out there?"
Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @02:27PM (#9070452)
Yes, that is literally the sentence I wrote, and a sentence you never responded to.
Re:Ask HN: TrueCrypt audit status? by AngrySkillzz on Wednesday February 18, 2015 @03:55PM (#9070864)
Full-disk encryption is block-level encryption. If you're using TrueCrypt to encrypt anything, you're using block-level encryption. There is no functional difference between them. If you are not encrypting your entire disk, then block-level encryption is a bad idea because 1) it doesn't provide authentication, and 2) block-level encryption (using strategies like XTS) is not as strong as regular authenticated encryption using CBC and a MAC or whatever.

If you're not using TrueCrypt for full-disk or full-volume encryption, you'd be better off using basically anything else. There are plenty of cross-platform tools for doing that kind of thing.

Re:Ask HN: TrueCrypt audit status? by tptacek on Wednesday February 18, 2015 @03:58PM (#9070882)
Pedantic, but hopefully in a fun way:

Authentication is the biggest problem with sector-level crypto, but the other technical problem with encrypting sectors is that you don't get a place to store the metadata you'd need to randomize the encryption, and so you lose semantic security as well. If you squint at it the right way, XTS is the ECB mode of sector-level (wide-block) crypto schemes.

Re:Ask HN: TrueCrypt audit status? by diminoten on Wednesday February 18, 2015 @04:12PM (#9070976)
Can you name some of those cross-platform tools?