Skip to content

Commit

Permalink
Merge pull request #35 from lacchain/fix/revoke-jwk
Browse files Browse the repository at this point in the history
fix: encodingMethod when revoking a jwk key from didDocument 'hex' ->…
  • Loading branch information
eum602 authored Oct 17, 2023
2 parents 6b33c68 + 0f0ceff commit 5933462
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lacchain-identity",
"version": "0.0.6",
"version": "0.0.7",
"description": "Rest api for lacchain identity manager",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/services/did-lac/did.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ export abstract class DidService implements DidLacService {
did: jwkAttribute.did,
relation: jwkAttribute.relation,
algorithm: 'jwk',
encodingMethod: 'hex',
encodingMethod: 'json',
value: toUtf8Bytes(canonicalize(jwkAttribute.jwk)),
revokeDeltaTime: jwkAttribute.revokeDeltaTime,
compromised: jwkAttribute.compromised
Expand Down

0 comments on commit 5933462

Please sign in to comment.