News for hackers. Stuff that matters.
Re:The EARN IT act is an attack on end-to-end encryption by bilekas on Friday March 06, 2020 @04:52PM (#22507677)
There is another reason its not really effective to try to ban or even limit e2e encryption. If you're intentions are nefarious, and you have a group that you need to communicate with, you will just implement the encryption yourself. Or buy burner phones etc.

Honestly, with my cynical hat on, I feel this is actually being pushed by the marketing and advertisement lobbyists, such as Facebook, google and others, in order to data mine for advertisers into your communications..

Maybe my tinfoil hat is a little bit too big, but I really use encrypted communications so that at least there is one dialogue that's not being warped into advertisements for me.

I genuinely fear for future generations privacy, in all regards. It's worrying and it really does deserve more attention. It's so crazy to my younger nieces and nephews that when I was their age, I didn't have a phone. It blows their minds. And I'm only in my 30's.

Re:The EARN IT act is an attack on end-to-end encryption by KarlKemp on Saturday March 07, 2020 @02:00AM (#22510241)
This assumption comes up again and again: that criminals are somehow motivated and competent enough to use encryption even when the easiest way to do it are no longer available.

There’s no reason to believe that. Criminals are just as lazy and stupid as everyone else. If e2e requires an extra step, fewer will use it. If it comes with their phones’ built-in messenger, more will use it.

Every unencrypted E-mail, SMS, ICQ chat among criminals of the past is evidence here: they could have all used PGP, or one-time pads. But they didn’t. For the same reason nobody in this thread has ever used a custom one-time pad implementation for any real communication: it’s fun to imagine when you’re in the shower planning your evil empire, but it sucks in reality.

Note that I agree that this law is a particularly stupid idea, and that e2e encryption should be considered a universal right. It’s just this argument I don’t buy.

Re:The EARN IT act is an attack on end-to-end encryption by kag0 on Saturday March 07, 2020 @11:51AM (#22512500)
The thing you're overlooking is financial motive. If there's money to be made selling illegal secure communications software to criminal enterprises, then someone will make that software available and easy to use.

You and I don't use custom e2e software because there are good products already available.

To somewhat counter the point about unencrypted communication between criminals, see the leaked opsec guides of some terrorist organizations. They're fairly sophisticated and it seems unlikely that lack of legally available solutions would prevent them from acquiring replacements.

Re:The EARN IT act is an attack on end-to-end encryption by fenwick67 on Friday March 06, 2020 @05:31PM (#22507954)
Also One-Time-Pad is uncrackable and dead simple to program and you can do it with pen and paper. The cat's out of the bag for the baddies.
Re:The EARN IT act is an attack on end-to-end encryption by bilekas on Friday March 06, 2020 @05:52PM (#22508116)
Exactly, the problem for the baddies has been solved since at least 1882 (Frank Miller iirc: Edit Wiki says yes). So this argument about security is obviously just what information they're getting.

You can't blame someone for not knowing what they don't know, but lawmakers are supposed to enact laws based on the benefit for their citizens. Seems not to be the case here.

Re:The EARN IT act is an attack on end-to-end encryption by gph on Friday March 06, 2020 @05:49PM (#22508104)
I've seen OTPs described as being a replacement for e2e encryption before, but I just don't see it as actually usable outside of large established organizations (NSA, cartel, etc.) to use for passing short text messages. And even then the usability seems cumbersome enough that they'd only use it when strictly necessary.

Am I missing something?

Re:The EARN IT act is an attack on end-to-end encryption by aianus on Friday March 06, 2020 @05:55PM (#22508137)
I don't see why it's limited to short text messages.

Your pre-shared OTP can be a rack of 8TB hard drives delivered to an embassy by the Marine Corps which covers a whole lot of documents and media before it's exhausted.

Re:The EARN IT act is an attack on end-to-end encryption by pdkl95 on Friday March 06, 2020 @07:04PM (#22508577)
Something I really wish existed: a very cheap, pocket key chain size, battery powered USB device that stores crypto keys and OTP pads. The idea is that you set it up (plug it into a PC or phone) with an identity and contact information (in the spirit of vCard). The key feature of the device is that touching two of the devices together should automagically exchange identify information, generate and exchange public keys, and continue filling all available storage with shared noise usable for OTP. Each side generates their own random[1] stream of data and shares it with the other device; both sides then XOR the two streams of data together and stores it locally.

After exchanging keys and pads in person, plug the device into a computer like a flash thumbdrive, and (with hypothetical software support) both people can now use the keys for end-to-end encryption without having to worry about authentication, and a utility could perform OTP while keeping track of how much random pad is remaining. If they want more pad, leave the devices plugged in longer. The actual encryption should be performed on the device, so the host computer never sees the keys/pad.

As long as crypto is hard to use, people will rely on centralized men in the middle. A key chain dongle that you could simply connect to your friend's dongle for a few seconds (or longer, if desires) is easy. Instead of trying to solve the entire authentication problem with PKI or web-of-trust, you let people solve the authentication problem themselves, using the social skills they already have. Yes, this isn't useful for communicating with someone you cannot meet physically; use some other solution for those situations.

(Imagine if this became popular and you could simply go to the local branch of your bank and plug your crypto dongle into a kiosk that generates a few months worth of random pad data so all of your online banking is secured by OTP)

[1] OTP requires truly random data, which probably requires some type of hardware entropy generator. Perhaps something like this: http://holdenc.altervista.org/avalanche/

Re:The EARN IT act is an attack on end-to-end encryption by inetknght on Friday March 06, 2020 @08:07PM (#22508946)
> a very cheap, pocket key chain size, battery powered USB device that stores crypto keys and OTP pads.

Yubikey fits pretty close, I think. What purpose would you need it to be battery powered if it's USB?

Re:The EARN IT act is an attack on end-to-end encryption by pdkl95 on Friday March 06, 2020 @11:04PM (#22509655)
> Yubikey

The Yubikey has similar storage features and is the perfect size and shape. Unfortunately, it's missing the main feature I'm talking about: easy inter-device communication.

> What purpose would you need it to be battery powered if it's USB?

It needs to be self powered because

>> The key feature of the device is that touching two of the devices together

I want people to be able to protect their communication with someone simply by meeting them in person and touching their USB crypto devices together. It should be a device someone stores on their person along with their other security devices like their house/car keys. The goal is to make the crypto easy so the individual can use it in situations where they already solved the authentication problem. If exchanging keys with someone depends on something complex like a computer or phone, a lot of people won't use it.

Re:The EARN IT act is an attack on end-to-end encryption by m-p-3 on Saturday March 07, 2020 @10:01AM (#22511790)
Keep the device without a battery, and instead rely on a USB battery pack to power it in the field for in-person OTP transfer.
Re:The EARN IT act is an attack on end-to-end encryption by magicalhippo on Friday March 06, 2020 @10:44PM (#22509600)
For the physical hand-shake key-exchange mentioned?
Re:The EARN IT act is an attack on end-to-end encryption by redler on Friday March 06, 2020 @09:10PM (#22509253)
In Vernor Vinge's A Fire Upon the Deep, traders traffic in cubes of material that acts as a super dense source of pad data. Your communication partner on another ship would have the twin cube, and the two would be synced up and then provide the carrier data stream for video and other content. When your cubestuff is exhausted your secure authenticated comms cease.
Re:The EARN IT act is an attack on end-to-end encryption by bilekas on Friday March 06, 2020 @05:57PM (#22508155)
Looks like a legit solution to me!
Re:The EARN IT act is an attack on end-to-end encryption by undersuit on Friday March 06, 2020 @06:08PM (#22508237)
A 128GB flash drive can provide you with enough padding for... 14000 years of voice recordings.
Re:The EARN IT act is an attack on end-to-end encryption by bilekas on Friday March 06, 2020 @06:16PM (#22508287)
I was being facetious ;)
Re:The EARN IT act is an attack on end-to-end encryption by Buttons840 on Friday March 06, 2020 @08:03PM (#22508924)
I think what you're missing is that the comment you replied to never suggested OTPs are a replacement for e2e encryption. He only said that we can't take OTPs away from the bad guys.

I've mentioned this before, but I'd like to write a children's book that teaches one-time-pads. The book ends with little Jimmy getting hauled away by the feds for doing illegal math. Fun for children and parents!

The point of course, is to make clear how futile encryption restrictions are, and to perhaps make people wonder if it's really "the land of a free" when a child can commit a crime by doing some math. Fortunately, I think we're still a ways off from encryption being a crime.

Re:The EARN IT act is an attack on end-to-end encryption by bilekas on Friday March 06, 2020 @08:41PM (#22509137)
> I've mentioned this before, but I'd like to write a children's book that teaches one-time-pads. The book ends with little Jimmy getting hauled away by the feds for doing illegal math. Fun for children and parents!

I absolutely love this. Animal Farm comes to mind.

Please write this, our descendants need those echoes from the past.

Re:The EARN IT act is an attack on end-to-end encryption by _fizz_buzz_ on Friday March 06, 2020 @06:31PM (#22508382)
One-Time pad is not a practical solution in any sense. The key distribution becomes so impractical that there is basically no justification to ever use the one time pad. Also, it's a symmetric encryption algorithm and what you really need for end-to-end encryption in the sense they talk about here is an asymmetric encryption algorithm.
Re:The EARN IT act is an attack on end-to-end encryption by beisner on Friday March 06, 2020 @10:45PM (#22509605)
I don’t know, is it that impractical for a group of conspirators to meet in person a single time, exchange a bunch of 1TB hard drives with identical one-time pads, and then conduct their business accordingly? Surely that’s enough for a substantial amount of communication. Impractical for large-scale communities of illicit behavior but definitely practical for small groups of people
Re:The EARN IT act is an attack on end-to-end encryption by yellowapple on Sunday March 08, 2020 @06:51AM (#22517418)
Quite a few "asymmetric" encryption schemes are only asymmetric for as long as it takes to get both ends communicating via symmetric encryption. This is, most notably, how SSL/TLS works.

In this case, you'd only need the asymmetric encryption to distribute the one-time pads.

Re:The EARN IT act is an attack on end-to-end encryption by _fizz_buzz_ on Thursday March 12, 2020 @04:59AM (#22554974)
lol, your suggestion is to send a key through asymmetric encryption (which must be definition be as long as the plain text). Then you send an encrypted message. If someone eavesdropped on your key (send through asymmetric encryption) the message is compromised. You might as well send the complete message through asymmetric encryption then. You just wasted bytes and gained nothing in security. The problem with the one time pad is that it opens up a myriad of side channel attacks on the key.
Re:The EARN IT act is an attack on end-to-end encryption by A4ET8a8uTh0 on Friday March 06, 2020 @11:11PM (#22509685)
Maybe. It really depends on actual use case. I remember reading a case about a drug ring that used half of a dollar bill to ensure that the person courier deals with is the right person.
Re:The EARN IT act is an attack on end-to-end encryption by post_below on Friday March 06, 2020 @07:32PM (#22508770)
I think this is tinfoil hat free territory. Barr has been public about his feelings on encryption and this proposed law (unless it's been changed in the last month) specifically gives the attorney general effective carte blanche authority over how it's implemented and interpreted.

No tinfoil hat needed unless we ask why Barr has made this a personal crusade.

Re:The EARN IT act is an attack on end-to-end encryption by bilekas on Friday March 06, 2020 @08:35PM (#22509100)
I hear what you're saying, but I live in the EU, where at least we have some more protections by way of privacy. (Not perfect by any means)

To speak to your point on Barr, and I'll try to be neutral here, his motivations might very well be positive to protect the US people but the method is really panning out to be damaging long term.

Re:The EARN IT act is an attack on end-to-end encryption by post_below on Friday March 06, 2020 @11:15PM (#22509694)
Nothing about Barr is altruistically motivated.
Re:The EARN IT act is an attack on end-to-end encryption by ta999999171 on Friday March 06, 2020 @05:28PM (#22507932)
It's not too big. Metaphorically.

Realistically, it will amplify signals/readings, so, it's outdated.

Anyway, what happens when messaging with ciphertext becomes illegal?

Re:The EARN IT act is an attack on end-to-end encryption by scrupulusalbion on Friday March 06, 2020 @06:48PM (#22508482)
>what happens when messaging with ciphertext becomes illegal

Back in the late 90s, Ron Rivest proposed Chaffing and Winnowing [0]. In that scheme, no ciphertext is transmitted and therefore no encryption is involved; only plausible plaintext is transmitted. The receiver filters out the chaff, leaving only the intended message. Perhaps one could construct an end-to-end winnow-chaff scheme (E2EWC) to replace existing E2EE schemes.

[0] https://en.wikipedia.org/wiki/Chaffing_and_winnowing

Re:The EARN IT act is an attack on end-to-end encryption by jcynix on Saturday March 07, 2020 @03:44AM (#22510644)
Technically one can argue it's not encryption. But it wouldn't be that difficult for law makers to add a clause that "any similar method of information hiding" is equal to encryption under this law. E.g. "A donkey is regarded as a horse under this law."
Re:The EARN IT act is an attack on end-to-end encryption by AnimalMuppet on Friday March 06, 2020 @06:08PM (#22508233)
Steganography. Hide the cyphertext in the LSB noise of a PNG image, or something like that.
Re:The EARN IT act is an attack on end-to-end encryption by Mirioron on Friday March 06, 2020 @06:21PM (#22508324)
Or just regular text. Or algorithms with PNG or binary blob seeds.
Re:The EARN IT act is an attack on end-to-end encryption by Mirioron on Friday March 06, 2020 @06:23PM (#22508333)
>Anyway, what happens when messaging with ciphertext becomes illegal?

Does that mean that implementing your own protocol becomes illegal too? And even your own programming language.

Re:The EARN IT act is an attack on end-to-end encryption by Deeplybrassic on Saturday March 07, 2020 @02:06AM (#22510262)
Propably would have to get license from the government for it, which would invite a ton more surveillance on you
Re:The EARN IT act is an attack on end-to-end encryption by bilekas on Friday March 06, 2020 @06:02PM (#22508186)
I'm not sure what you mean about the outdated, you might be writting to another post but:

> Anyway, what happens when messaging with ciphertext becomes illegal?

Those who have nefarious intentions don't really care what the legality is.. Also those who are not nefarious encrypted aren't identified because they're encrypted.. Thats why this argument seems very.. Moronic at best.