Subject: | Invalid signature calling verify() - traced to lack of parameter checking |
Crypt::RSA::SS::PKCS1v15::verify does not check it was actually passed a
Message or Plaintext parameter. Due to the lack of warnings pragma used
in this module, it took me a whole day to track down this typo:
my $plaintext = $rsa->verify(Messsage => $raw,
Key => $public_key,
Signature => $signature,
);
(note the extra S in Messsage).
Please fix for all methods that require/assume parameters but don't test
them.