-
Notifications
You must be signed in to change notification settings - Fork 23
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
Issue verifying ldp whit did:web #173
Comments
Given it is closed I am assuming it is resolved. I am also guessing that the issue is that you really need an assertionMethod as verificationMethod relationship, as that needs to be checked when verifying a VC from an Issuer, but would be good to know what the issue was. |
I'm just facing the same issue - "Verification error(s)., getKeyPairForType does not support type: undefined." in an OIDC4VCI scenario where issuer uses web did. The same did.json works perfectly well in the OIDC4VP scenario. Note The issue is for both embedded and referenced verification method. @shagamd did you solve the issue? Can you share the experience how? |
What is the Is the verificationMethod both included in |
This is the example of the did:web document. I can check it has been fetched by the wallet.
And the proof looks like this:
However, I just discovered, that it's not an issue with did:web method, I got the same result when using JsonWebSignature2020 also with did:jwk and did:key. When I replaced the proof to |
Could you provide a bit more context? Which version of the wallet are you using? Also what are you using on the VCI side? |
The version that is in app store (0.1.3). I'm using our proprietary code to manage Oidc4Vci/Oidc4Vp flows, which is, at the moment, not public :-/ However, as mentioned, the issue seems to be with I can open you the issuer with mock data, but let's share that outside of public forum. |
@ejossev
So, I modified the structure of my did:web to use Ed25519VerificationKey2018.
|
@shagamd: Okay that explains why it worked for you, given the issue indeed is in JWK handling, specifically for did:web @ejossev: If you could send an e-mail to nklomp [at] sphereon . com, then I am happy to have a look at it. We can probably also give you access to a development build somewhere this week |
@nklomp Sent. |
When I generate an LDP_VC and enter the 'verificationMethod' as did:web in the 'proof', it is resolved but not interpreted correctly. I understand that it tries to obtain the 'verificationMethod' directly from the did.json, but it retrieves the web's structure and generates an error as it cannot obtain the key: 'Verification error(s)., getKeyPairForType does not support type: undefined.' However, the 'type' does exist but within the 'verificationMethod' of the LD.
The text was updated successfully, but these errors were encountered: