That post seems to be missing.
sexy_peach 16 points 3 years ago

https://en.wikipedia.org/...

This is the encryption that they developed. Whatsapp and OMEMO (XMPP) use it as well. It has forward secrecy because if an attacker has the key for a message they can't calculate the key for the key for the next message etc.

path: 0 3031527, hotness: undefined, score: 16, children: 7
voxel 3 points 3 years ago

@sexy_peach So when I understood it right (just skimmed the text), the encryption keys changes per message?

path: 0 3031527 3031627, hotness: undefined, score: 3, children: 6
sexy_peach 5 points 3 years ago

essentially, yes. There are two levels of encryption keys and they "ratchet" along (change). Only the lower level is used to encrypt the text so it's much harder to figure out the other one.

path: 0 3031527 3031627 3031628, hotness: undefined, score: 5, children: 3
voxel 1 point 3 years ago

@sexy_peach Thank you very much! Just now wondering, handle WA this differently? Since Ig we all know this message which appears when the "keys" ig, changed

path: 0 3031527 3031627 3031628 3031688, hotness: undefined, score: 1, children: 2
sexy_peach 2 points 3 years ago

Since Ig we all know this message which appears when the “keys” ig, changed

I don't know if I fully understand you here.

To my understanding whatsapp does it like this too. The key changing must be the high level key, since the message means that it's an unknown key (thus not yet trusted). From new install or new device.

path: 0 3031527 3031627 3031628 3031688 3031689, hotness: undefined, score: 2, children: 1
sexy_peach 4 points 3 years ago path: 0 3031527 3031627 3031640, hotness: undefined, score: 4, children: 1
PipedLinkBot 1 point 3 years ago

Here is an alternative Piped link(s): https://piped.video/...

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

path: 0 3031527 3031627 3031640 3031656, hotness: undefined, score: 1, children: 0
Rose 3 points 3 years ago

WhatsApp uses the encryption protocol developed for Signal, so I'd not expect them to be significantly different.

path: 0 3031485, hotness: undefined, score: 3, children: 2
voxel 2 points 3 years ago
path: 0 3031485 3031520, hotness: undefined, score: 2, children: 1
Atemu 2 points 3 years ago

The main advantages of Signal over WA is that Signal minimises the amount of metadata Signal has access to and promises to not store or analyse the little remaining metadata.

The data (as in: the actual message content) should be similarly secure in both.

path: 0 3031485 3031520 3066692, hotness: undefined, score: 2, children: 0
pbrass 2 points 3 years ago path: 0 3033524, hotness: undefined, score: 2, children: 0
Asudox 1 point 3 years ago
path: 0 3132872, hotness: undefined, score: 1, children: 1
voxel 1 point 3 years ago
path: 0 3132872 3134242, hotness: undefined, score: 1, children: 0
solrize -1 points 3 years ago

Don't know about Signal but the way PFS usually works is there is something like a Diffie-Hellman (DH) key exchange. Each person generates a random (private) number, remembers it, crunches it mathematically into a public number, and sends the public number to the other person. Each then combines their private number with the public number that they got from the other person, and this (because of how DH works) cleverly gives both people the same secret number they use for the encryption, but the secret can't be reconstructed without knowing at least one of the private numbers. Finally, the PFS part is simply that each person permanently deletes both the shared secret and the private number they generated for that exchange (they will create new ones next time they want to communicate). That means there is no way to reconstruct the secret and re-decrypt the message.

Of course, authentication also has to be added to all this.

For more info, probably easiest to look up Diffie-Hellman key exchange online.

path: 0 3033577, hotness: undefined, score: -1, children: 2
sexy_peach 4 points 3 years ago

Diffie-Hellman is only a key exchange protocol and does not provide forward secrecy. Imagine that my and your client figure out our shared secred (key) with DH, then encrypt our chat with that. If someone breaks only a bit of our traffic, then they can read newer messages as well.

https://en.wikipedia.org/wiki/Forward_secrecy

Forward secrecy means that at any point messages are encrypted with keys that aren't reused forever, which means if an attacker can intercept traffic and read a bit, or crack the encryption, that they don't automatically get access to our future conversation as well.

path: 0 3033577 3033848, hotness: undefined, score: 4, children: 1
solrize 2 points 3 years ago

The PFS comes from deleting the secret DH parameters after you are done using them.

path: 0 3033577 3033848 4542610, hotness: undefined, score: 2, children: 0
sinokon -2 points 3 years ago
path: 0 3033156, hotness: undefined, score: -2, children: 0

thanks for using Leebra!

go to feed...