wycheproof-rsa-pss-specify-pkcs1-algorithm
RSA-PSS: Specify pkcs1 algorithm
The test vector contains a valid RSASSA-PSS signature. Encoded public keys (i.e. publicKeyPEM and public KeyDER) contain the ASN encoding of the Pkcs1Algorithm algorithm used to sign the message. These algorithms are described in Section A.2 of RFC 8017.
ACCEPT
Your service should accept this one.
Stated as the outcome to assert against, so a suite compares with this rather than hardcoding a result and getting it backwards.
Many implementations only accept public keys with Pkcs1Algorithm = rsaEncryption. Hence an implementation that does not accept the signature in test vector likely has no support for alternative algorithm-identifiers. Demonstrated by 150 test vectors in Project Wycheproof.
Provenance
- Kind
- normativeA specification clause requires this. Failing it is non-conformance, not opinion.
- Source
- wycheproof
- Clause
- RFC 8017 §8.1
- CVE
- none
- Weakness
- none
Test keys only. Nothing here is a statement about any particular service: the expected outcome above is what an application ought to do, not evidence that yours does.