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...
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.
Re:What is the point of a public key fingerprint?
by vecter on Saturday December 16, 2023 @02:13PM
(#38666888)
It's just a fingerprint for their chat. It's almost the same as a random four-letter code to verify that you're both seeing the ame thing.
Re:What is the point of a public key fingerprint?
by stavros on Saturday December 16, 2023 @02:33PM
(#38667035)
This is for calls, not chat. It's probably ZRTP (hash commitment) with emojis instead of letters.
Re:What is the point of a public key fingerprint?
by sgjohnson on Saturday December 16, 2023 @02:14PM
(#38666899)
Essentially, the fingerprint.
Emojis take up 32 bits each. So 4 emojis would be 128 bits.
Of course, this doesn't account for all the 4 byte unicode combos that don't result in an emoji, but still.
Do you have the projection of some binary string in the unicode emoji space? (then you'd need to chunk it and possibly use many emojis)