signalapp / libsignal

Home to the Signal Protocol as well as other cryptographic primitives which make Signal possible.
GNU Affero General Public License v3.0
3.08k stars 362 forks source link

Add a new 'needs_pni_signature' field to the session state #434

Closed jrose-signal closed 2 years ago

jrose-signal commented 2 years ago

This marks that a session is being opened by Alice to reply to Bob, who has sent a message to Alice's phone number rather than her account UUID. Apps can check this flag to determine if they need to include extra information in the message content to certify that yes, this account is the owner of this phone number.