News for hackers. Stuff that matters.
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.