Skip to content

Commit

Permalink
chore: HolderDID != kid
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Nov 1, 2024
1 parent 791087b commit 6470a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/siopv2-oid4vp-op-auth/src/session/OID4VP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class OID4VP {
}).createVerifiablePresentation(vcs.definition.definition, verifiableCredentials, signCallback, {
proofOptions,
// fixme: Update to newer siop-vp to not require dids here. But when Veramo is creating the VP it's still looking at this field to pass into didManagerGet
...(identifier && isManagedIdentifierDidResult(identifier) && { holderDID: identifier.kid }),
...(identifier && isManagedIdentifierDidResult(identifier) && { holderDID: identifier.did }),
})

const verifiablePresentations = presentationResult.verifiablePresentations.map((verifiablePresentation) =>
Expand Down

0 comments on commit 6470a05

Please sign in to comment.