mirror of
https://github.com/signalapp/libsignal.git
synced 2026-05-09 00:22:31 +02:00
The distribution ID is used to identify which key a particular sender is using to encrypt their SenderKeyMessage, so it has to be known as part of decryption. The previous design had the distribution ID stored alongside each message (perhaps on the "envelope" structure that's received from the server), but that's harder to keep track of, and it would only be present for certain message kinds anyway.