Re:What is the point of a public key fingerprint?
by progval on Saturday December 16, 2023 @02:13PM
(#38666896)
I don't know about Telegram, but it is indeed how Matrix does it. Here is the encoding they use: https://spec.matrix.org/v1.8/client-server-api/#sas-method-e...
[ Parent
| on HN ]
Re:What is the point of a public key fingerprint?
by csdvrx on Saturday December 16, 2023 @02:22PM
(#38666962)
I read https://spec.matrix.org/v1.8/client-server-api/#sas-hkdf-cal...
So is it the representation in emojis of a server controlled shared secret?
That'd make 2 clients talking to eachother through the server vulnerable to tampering at the server level (ex:MITM)
Shouldn't the 2 clients not involve the server for the secret? This would require each of them being able to access the other public key fingerprint without trusting what the server says. But if they see eachother fingerprint projected into the unicode emoji space, they would see different emojis.
I think I may be missing something obvious. I just don't understand this trick.
Re:What is the point of a public key fingerprint?
by Arathorn on Saturday December 16, 2023 @02:49PM
(#38667139)
It’s not a server controlled secret; it’s a MAC of a shared secret negotiated via ECDH between the two clients. Diffie Hellman ftw. See https://www.uhoreg.ca/blog/20190514-1146
Re:What is the point of a public key fingerprint?
by bloopernova on Saturday December 16, 2023 @02:48PM
(#38667134)
As far as I know, if the 2 clients talk directly, their IP addresses are exposed to each other.
Re:What is the point of a public key fingerprint?
by cbm-vic-20 on Saturday December 16, 2023 @05:53PM
(#38668545)
So, 64 symbols. That same amount of information could be conveyed with lowercase letters, uppercase letters, digits, and two additional symbols, just like Base64. That seems a lot more straightforward than trying to interpret what each emoji represents. To my old eyes, a lot of the chosen animal emojis look really similar. Or take symbol 34 for example, listed there as "spanner" (wrench). Unless I zoom in pretty far, that one looks like a diagonal line.