RFR 8178370 : [TEST_BUG] java/security/Signature/SignatureLength.java fails
ivan.gerasimov at oracle.com
Tue Mar 6 21:01:48 UTC 2018
The regression test SignatureLength.java was seen to fail on some
This is because signature verifier from SunPKCS11-Solaris provider
doesn't always throw SignatureException when the signature is of wrong
length, but can simply return false to indicate it is invalid.
The test was also modified to try different combinations of providers
used to create key-pair generator, signer and verifier.
The fixed test passes well on all platforms with JDK 11 and JDK 8u.
Would you please help review it?
Thanks in advance!
With kind regards,
More information about the security-dev