News for hackers. Stuff that matters.
Re:ProtonMail, Tutanota urging EU to reconsider encryption r... by vbezhenar on Thursday January 28, 2021 @07:33AM (#25941022)
Yes, it is possible. You have to encrypt session key with government public key and include that encrypted data with your session. Government can decrypt that data with their private key. I think that's a pretty reasonable scheme as long as government private key managed by a competent organization (e.g. NSA). HSM makes it impossible to easily extract private key and military guard and other physical security measures makes it impossible to steal HSM.
Re:ProtonMail, Tutanota urging EU to reconsider encryption r... by Aeolun on Thursday January 28, 2021 @07:49AM (#25941131)
Yeah, and that part is the pipe dream. You really need to compromise it only once to have access to everything.

It’s unreasonable to believe only the government will have access.

Re:ProtonMail, Tutanota urging EU to reconsider encryption r... by amelius on Thursday January 28, 2021 @08:06AM (#25941257)
You implement it by putting the key inside a box, and letting that box perform the decryption. No other services/ports allowed. (Except you have to have a way to get the public key out, and allow the box to generate a private key which means it needs entropy). You can pot the box in epoxy for additional security.
Re:ProtonMail, Tutanota urging EU to reconsider encryption r... by tehwebguy on Thursday January 28, 2021 @08:16AM (#25941336)
Nothing that you, tzs and vbezhenar are describing is different from “end to end encryption, but with a backdoor that could be leaked”
Re:ProtonMail, Tutanota urging EU to reconsider encryption r... by Aeolun on Friday January 29, 2021 @06:00AM (#25956096)
So now you have an ultra secure box. It’s like the unsinkable Titanic. Someone (somehow) copies the key, and proceeds to decrypt all your citizens’ communications, but you are 100% that hasn’t happened, because it is, after all, impossible.

Just like it was impossible for the Titanic to sink.

Re:ProtonMail, Tutanota urging EU to reconsider encryption r... by mnw21cam on Thursday January 28, 2021 @09:21AM (#25942086)
Just to add another thing in: Which government?
Re:ProtonMail, Tutanota urging EU to reconsider encryption r... by vbezhenar on Friday January 29, 2021 @07:30AM (#25956564)
Obviously one which can force companies to implement whatever they want. Currently it's US, EU, probably China.
Re:ProtonMail, Tutanota urging EU to reconsider encryption r... by tzs on Thursday January 28, 2021 @08:07AM (#25941261)
You could put a check on the government misusing their private key by having the government key distributed among several parties using a secret sharing system such as Shamir's that requires several parties to agree in order to use the government key.

Include privacy or civil rights civilian organizations among the shareholders, such as the ACLU, so that there is an outside check.

If you choose a sufficient and diverse enough set of shareholders, you can reduce the chances that someone could compromise or coerce enough of them to gain access to the government key to less than 1 in N, where N is arbitrarily large. Chose N so that this is less likely than simply brute forcing the key.

Re:ProtonMail, Tutanota urging EU to reconsider encryption r... by danarmak on Thursday January 28, 2021 @08:20AM (#25941377)
Even assuming purely good intentions, the government would want to use the key very often (hundreds or thousands of concurrent investigations) and in many large unrelated organizations (eg police + FBI + NSA + CIA + DOD + ...). It would be impractical to authorize each individual use, let alone authorize it by several parties each time.

Instead we'd see 'ongoing' authorizations on the level of an investigation, a person or team, or a whole sub-organization (modulo clearance / position in that organization). And so you'd have copies of the complete key going around.

Re:ProtonMail, Tutanota urging EU to reconsider encryption r... by tzs on Thursday January 28, 2021 @08:43AM (#25941615)
The problem with E2E+G is not technical, it is political. It can be done in a way that it would only be practical for the government to use it rarely (E.g., [1]) and only for cases where there is a broad consensus that it is being used Constitutionally (or whatever is equivalent outside the US).

But getting Congress (or whatever is equivalent outside the US) to pass an E2E+G law that allows it to be done in such a way seems unlikely. They will go for a way that allows broad use.

[1] You could make it a per-device key, generated on the device itself. The device makes the Shamir secret sharing shares, encrypts them with the public keys of the shareholders, and periodically includes those includes those in the chat metadata.

To decrypt a chat, the government needs to record it, get the encrypted shares out of the chat metadata, get each shareholder to use that shareholder's private key to decrypt their share and then contribute that share for recovery of the actual chat key for that chat.

If they want to decrypt a chat from another device, they'd have to do that all over again for that device.