Huh, PGP encrypted messages aren't authenticated? (No HMAC etc)
EFail – Vulnerabilities in end-to-end encryption technologies OpenPGP and S/MIME
41–50 of 306 posts
Re: EFail – Vulnerabilities in end-to-end encryption technologies OpenPGP and S/MIME
#42Earlier quoted context omitted.
Also relevant https://lists.gnupg.org/pipermail/gnupg-users/2018-May/06032...
This seems to contradict the earlier claim that "the GnuPG team was not contacted by the researchers".
Re: EFail – Vulnerabilities in end-to-end encryption technologies OpenPGP and S/MIME
#43Earlier quoted context omitted.
I heard once that people didn't like the regularity of the input of CTR mode. That might be why people back in the day preferred CBC. These days, the big downside to stream-ciphers is nonce-reuse. It can be hard to guarantee each message has a separate nonce on e.g. embedded platforms.
How can embedded platforms generate IVs but face trouble generating nonces? Aren't IVs also nonces? Or do you mean a different aspect of it is the problem?
Since most embedded platforms have limited entropy and/or no hardware RNG it is more difficult to generate proper distinctive, unpredictable iv's (in the case of CBC). If most of the nonce is random and the rest predictable (like GCM) the same problem applies. The nonce for GCM for instance is at least 8 bytes random in most implementations.
There are enough ways to generate sufficiently randomized iv's. People just don't bother usually. (guess 0 as an iv for instance on many embedded systems).
Re: EFail – Vulnerabilities in end-to-end encryption technologies OpenPGP and S/MIME
#44Huh, PGP encrypted messages aren't authenticated? (No HMAC etc)
[1] https://lists.gnupg.org/pipermail/gnupg-users/2018-May/06031...
Re: EFail – Vulnerabilities in end-to-end encryption technologies OpenPGP and S/MIME
#45Re: EFail – Vulnerabilities in end-to-end encryption technologies OpenPGP and S/MIME
#46From what I've read, I thought that in modern cryptographic methods you always authenticate and encrypt, in part to avoid attacks like this where an attacker can modify the encrypted message in some way. Does this mean that GnuPG and S/MIME don't authenticate/sign encrypted messages at all? Or that email clients still try to display encrypted messages that are not properly authenticated?
Re: EFail – Vulnerabilities in end-to-end encryption technologies OpenPGP and S/MIME
#47Re: EFail – Vulnerabilities in end-to-end encryption technologies OpenPGP and S/MIME
#48This hardly seems like an OpenGPG or S/MIME vulnerability to me and more like an XSS-like exploit of email clients.
Re: EFail – Vulnerabilities in end-to-end encryption technologies OpenPGP and S/MIME
#49Huh, PGP encrypted messages aren't authenticated? (No HMAC etc)
GPG does optionally support signing, which provides for integrity for message contents, but it is optional, so is not a useful mitigation here.
It supports a Modification Detection Code (MDC), which is just a hash of the message. In scenarios where GPG won't decrypt without an MDC being present, it would be a reasonable defence against this attack, because to generate a valid MDC, you would need to know the entire contents of the message, and if you know the entire contents of the message, you wouldn't gain anything from this attack.
Re: EFail – Vulnerabilities in end-to-end encryption technologies OpenPGP and S/MIME
#50OpenPGP is not broken. Nothing in your paper has anything to do with OpenPGP. This is simply spreading overblown FUD for your 15 minutes of mainstream media fame.