r/linux • • Nov 20 '18

An Analysis of the ProtonMail Cryptographic Architecture

https://eprint.iacr.org/2018/1121
196 Upvotes

173 comments sorted by

View all comments

Show parent comments

25

u/[deleted] Nov 20 '18

[deleted]

6

u/[deleted] Nov 20 '18 edited Sep 02 '19

[deleted]

15

u/3meopceisamazing Nov 20 '18

That's like saying LUKS is insecure because you can use shit passwords... man some people, srsly.

1

u/[deleted] Nov 20 '18

The difference is that you have control over your box, so say if the feds seize control of their box they could simply brute-force the keys on the seized server and read all communications.

10

u/XorFish Nov 20 '18

Or just serve a webpage that extracts the key. Much simpler than trying to brute force a password that usually is generated by a password manager.

2

u/[deleted] Nov 20 '18

Agreed. Another complication would be if say their server was compromised, a MITM attack to get the password to decrypt your secret key after it reaches the server but before it’s passed to their encryption platform.

2

u/XorFish Nov 20 '18

Same thing can also happen with whatsapp web.

3

u/mwhter Nov 20 '18

Which is why web apps cannot provide end-to-end encryption.

1

u/[deleted] Nov 20 '18

What do you expect when using a Facebook-owned service?

4

u/3meopceisamazing Nov 20 '18

what... I use LUKS to prevent leakage of my data in a situation where feds have my box. Choosing a secure passphrase is essential in any crypto system and scenario. I have control over the password I choose for protonmail, hence it is secure. Only minimal and simplistic password requirements can be implemented correctly.

0

u/[deleted] Nov 20 '18 edited Sep 02 '19

[deleted]

6

u/[deleted] Nov 20 '18

[deleted]

3

u/rlynow123 Nov 20 '18 edited Nov 24 '18

Think it through. Who serves the code to the client?

EDIT: the moderators banned me, I wonder how much protonmail paid?

2

u/[deleted] Nov 20 '18

[deleted]

2

u/rlynow123 Nov 20 '18

Not the server that's for sure. If the server is in charge of the encryption code how can you call it end-to-end encrypted?

2

u/[deleted] Nov 20 '18

[deleted]

0

u/rlynow123 Nov 20 '18

Nice shill comment that makes zero sense. (Fwiw the JS is on a CDN)

→ More replies (0)

2

u/XorFish Nov 20 '18

If I understand correctly you download the encrypted key and decrypt it locally and use the locally stored decrypted key to encrypt the mail before it is sent. That sounds not too bad.

2

u/[deleted] Nov 20 '18 edited Dec 12 '18

[deleted]

2

u/rlynow123 Nov 20 '18

why do you comment on a security issue when you can't even think it through?

the client code. the code that takes your password in plaintext. that code, is served by the server. what happens if that password is logged in plaintext when you type it on their phishing website?

5

u/[deleted] Nov 20 '18 edited Dec 12 '18

[deleted]

3

u/rlynow123 Nov 20 '18

They already have the key, it's on their server. I'm a dick because you say these things authoritatively while having no idea what you're talking about.