5 ms·
As a non-crypto guy, I find it bit curious that "Hybrid encryption" primitive does not offer authentication. With the talk of being misuse resistant, that seems
by zokier 8y ago
As a non-crypto guy, I find it bit curious that "Hybrid encryption" primitive does not offer authentication. With the talk of being misuse resistant, that seems like bit of a sharp edge still.
- tptacek 8y agoDifferent notions of authenticity! Their hybrid encryption still uses an AEAD for the bulk encryption.
- CiPHPerCoder 8y agoAlso, this limitation is easily worked around. 1. Use a digital signature. 2. Encrypt your signed message using Hybrid Encryption. After your recipient decrypts your message (which, as Thomas notes, has AEAD), they can then verify your signature.
- zokier 8y agoI would think you'd generally want to do it the other way around and sign the ciphertext instead.
- CiPHPerCoder 8y ago"Just sign this opaque blob"? Digital signatures aren't in the scope of the cryptographic doom principle. Generally, if you're signing a document, you want it to be really clear that you signed what it says.
- zokier 8y agoCrypto is confusing.
- CiPHPerCoder 8y agoIt is, indeed.
- zokier 8y agoThen I'm even more confused. What are the different authenticities here, what guarantees do I get and not get?
- tialaramex 8y agoTink's provided Hybrid primitive allows Alice to send messages to Bob if Alice knows Bob's public key. No third party can understand Alice's messages even if they intercept them, and if a third party tampers with the message Bob doesn't get that message at all, just an error. So in this sense the messages are promised to be authentic. However, Bob is not provided with assurance that the messages really came from Alice - there's no authentication, and so Bob should treat all the messages as anonymous. If Alice wants to authenticate as Alice to Bob, the two will need to agree some mechanism they can layer on top of Tink's hybrid primitive. This is not dissimilar to how HTTPS is used from web browsers. When you visit Hacker News your browser is able to completely ensure that it's really talking to Hacker News using cryptography, but when it comes to reassuring Hacker News that you're really "zokier" you end up using a simple username + password login form.
- zokier 8y agoSounds like what we are getting could be better described as integrity rather than authenticity. Makes kinda sense