digitalbazaar / vc

W3C Verifiable Credentials implementation in JavaScript
BSD 3-Clause "New" or "Revised" License
182 stars 52 forks source link

Expiration date gets checked before signature #143

Open F-Node-Karlsruhe opened 1 year ago

F-Node-Karlsruhe commented 1 year ago

Is it intended, that the expiration date gets checked in the credentials check? When verifying a credential with a bad signature which has also expired, it fails because of the expiration and the information that the signature was forged does not get revealed to the user; even though it might be the more important bit of information.