stalwartlabs / mail-auth

DKIM, ARC, SPF and DMARC library for Rust
https://docs.rs/mail-auth/
Apache License 2.0
82 stars 13 forks source link

Avoid panicking on invalid RSA key input #17

Closed djc closed 1 year ago

djc commented 1 year ago

This has run through a bunch of fuzzing (not very long, but some of the failures before these changes were quickly found). It is an alternative to #15 which I think is a bit cleaner, and verified at least a little bit through the fuzz test.