Sphereon-Opensource / OID4VC

OpenID for Verifiable Credentials - modules for issuers, holders and RPs
Apache License 2.0
62 stars 19 forks source link

Improve verification result details #144

Open TimoGlastra opened 3 weeks ago

TimoGlastra commented 3 weeks ago

Currently when verifying a VP and the verification fails, it is sometimes hard to get the results from the verification. Instead of throwing errors, it might be useful to build a verification object that includes for each VP the results of the verification and reasons for why the verification failed.

You can work around this by creating a mapping in the presentation verification callback and store what went wrong, but it would be nice if the OID4VP library would take care of this.