rustls-rustcrypto icon indicating copy to clipboard operation
rustls-rustcrypto copied to clipboard

verify_signature: Invalid Public key should not be mapped as InvalidSignature

Open stevefan1999-personal opened this issue 1 year ago • 1 comments

https://github.com/RustCrypto/rustls-rustcrypto/blob/e6d5ed9652228ff09e56fee2534b6f60877fb7b8/src/verify/rsa.rs#L37

stevefan1999-personal avatar Mar 30 '24 16:03 stevefan1999-personal

Same goes for https://github.com/RustCrypto/rustls-rustcrypto/blob/e6d5ed9652228ff09e56fee2534b6f60877fb7b8/src/verify/rsa.rs#L39-L41

But on a different context. I'm too lazy to find the correct error type though.

stevefan1999-personal avatar Mar 30 '24 16:03 stevefan1999-personal