Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OID4VCI] Testing the plugin with Paradym and Sphereon wallet fails #463

Open
timbl-ont opened this issue May 15, 2024 · 1 comment
Open

Comments

@timbl-ont
Copy link
Contributor

There are two issues that I found:

  1. The Paradym wallets requires a URI for the ID and JTI i.e urn:uuid:xxxxxx. I could not find where this requirement is documented - perhaps an EU convention. This is a quick fix.

  2. Validation checks fail in matching the kid, iss and controller for did:key. There is a comment in the credo source code noting that # is not handled in the validation. This is more likely a fix for credo, but noting it here. The modified error message:

LOG kid 'did:key:z6MkoGLkQZttTBhvATLDKVU2tMxN8nVnLef7MVRp8DMqV5ab#z6MkoGLkQZttTBhvATLDKVU2tMxN8nVnLef7MVRp8DMqV5ab' does not match id of signer (holder/issuer) 'did:key:z6MkoGLkQZttTBhvATLDKVU2tMxN8nVnLef7MVRp8DMqV5ab#z6MkoGLkQZttTBhvATLDKVU2tMxN8nVnLef7MVRp8DMqV5ab' and documentID 'did:key:z6MkoGLkQZttTBhvATLDKVU2tMxN8nVnLef7MVRp8DMqV5ab'

LOG Verification method controller 'did:key:z6MkoGLkQZttTBhvATLDKVU2tMxN8nVnLef7MVRp8DMqV5ab' does not match the signer 'did:key:z6MkoGLkQZttTBhvATLDKVU2tMxN8nVnLef7MVRp8DMqV5ab#z6MkoGLkQZttTBhvATLDKVU2tMxN8nVnLef7MVRp8DMqV5ab'

Issuance of a JWT VC to the Paradym wallet was successful after modifying the validation code in the wallet and fixing the URI in the plugin. I was not able to compile the Sphereon wallet, but it may have the same logic. FYI @dbluhm

@timbl-ont
Copy link
Contributor Author

The URI issue is also noted in #101

@timbl-ont timbl-ont changed the title Testing the OIDVCI plugin with Paradym and Sphereon wallet fails [OID4VCI] Testing the plugin with Paradym and Sphereon wallet fails May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant