From 0a520a61a3c2d1f789c138019b778438fb5f2593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Urban=20Vidovic=CC=8C?= Date: Thu, 19 Oct 2023 11:39:40 +0200 Subject: [PATCH 1/2] fix: ebsi provider --- libs/did-provider-ebsi/src/ebsiDidProvider.ts | 1 + 1 file changed, 1 insertion(+) 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, From 321d053e216c36385c739d0b03b4ab4849ad612a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Urban=20Vidovic=CC=8C?= Date: Thu, 19 Oct 2023 11:42:08 +0200 Subject: [PATCH 2/2] chore: add changeset --- .changeset/shy-seals-remember.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/shy-seals-remember.md 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.