Verification of expiry and issuance date
Opened this issue · 1 comments
F-Node-Karlsruhe commented
Do iat and exp get checked in the verify process? Afaik. they don't. The proposed verifier uses jose.compactVerify(jws, publicKey);
which does not check on the dates. Neither this is done for validFrom
and validUntil
.
Is the user supposed to do these checks? because i tested expired credentials and they verified.
OR13 commented
The "W3C Verifier" can decide to accept expired credentials that have verified successfully, afaik.
The layering between W3C and OAuth is blurred in the current implementation, but should be addressed in our W3C CR1 rewrite.