wycheproof-jws-wrong-primitive
JWS: Wrong primitive
The signature uses a different algorithm than the algorithm specified in the key.
REJECT
Your service should reject this one.
Stated as the outcome to assert against, so a suite compares with this rather than hardcoding a result and getting it backwards.
The signature uses a different algorithm than the algorithm specified in the key. Demonstrated by 10 test vectors in Project Wycheproof.
Provenance
- Kind
- normativeA specification clause requires this. Failing it is non-conformance, not opinion.
- Source
- wycheproof
- Clause
- RFC 7515
- 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.