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.55k stars 415 forks source link

protocol: Add a fuzz target that runs interactions between two clients #341

Closed jrose-signal closed 3 years ago

jrose-signal commented 3 years ago

Based on the fuzzing input (provided by cargo-fuzz), this simulates message sends and receives, out-of-order delivery, dropped messages, and session resets, solely to find bugs in happy-path interaction between two clients.

While here, improve the logging of 1:1 decryption: