Skip to content

Commit

Permalink
fix: ebsi provider (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudobun authored Oct 19, 2023
1 parent 07af046 commit 60c0e6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/shy-seals-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@blockchain-lab-um/did-provider-ebsi': patch
---

Correctly sets the privateKeyHex.
1 change: 1 addition & 0 deletions libs/did-provider-ebsi/src/ebsiDidProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ export class EbsiDIDProvider extends AbstractIdentifierProvider {
y,
};
privateKeyJwk = { ...publicKeyJwk, d };
privateKeyHex = args.privateKeyHex;

jwkThumbprint = await jose.calculateJwkThumbprint(
privateKeyJwk,
Expand Down

0 comments on commit 60c0e6e

Please sign in to comment.