Closed oconnor663 closed 7 years ago
Take that Coveralls!
Very nice! I remember this one. It's apparently hard to generate 2^64-1 test packets?
Yes, and the other one would only panic if the 32 on the line above were changed, or if SHA512 somehow returned less than 32 bytes.
This covers every line except two impossible checks, one for the length of a slice that's statically known, and the other for overflowing a 64-bit int. I managed to get by without needing an extra encryptor with its own hooks; instead I just doctor sealed messages directly to trigger errors.
Also implement anonymous sender mode.
r? @maxtaco @mlsteele