diff --git a/.changeset/shy-seals-remember.md b/.changeset/shy-seals-remember.md new file mode 100644 index 000000000..dc4f20091 --- /dev/null +++ b/.changeset/shy-seals-remember.md @@ -0,0 +1,5 @@ +--- +'@blockchain-lab-um/did-provider-ebsi': patch +--- + +Correctly sets the privateKeyHex. diff --git a/libs/did-provider-ebsi/src/ebsiDidProvider.ts b/libs/did-provider-ebsi/src/ebsiDidProvider.ts index dd925805d..b3e82558e 100644 --- a/libs/did-provider-ebsi/src/ebsiDidProvider.ts +++ b/libs/did-provider-ebsi/src/ebsiDidProvider.ts @@ -202,6 +202,7 @@ export class EbsiDIDProvider extends AbstractIdentifierProvider { y, }; privateKeyJwk = { ...publicKeyJwk, d }; + privateKeyHex = args.privateKeyHex; jwkThumbprint = await jose.calculateJwkThumbprint( privateKeyJwk,