Skip to content

Commit

Permalink
Merge pull request #121 from TBD54566975/kendallw/jsonwebkey
Browse files Browse the repository at this point in the history
Move from JsonWebKey2020 to JsonWebKey for DID VMs
  • Loading branch information
KendallWeihe authored Apr 3, 2024
2 parents 05b8b39 + 9c4fb7b commit 16aa6fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dids/didjwk/didjwk.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func createDocument(did did.DID, publicKey jwk.JWK) didcore.Document {

vm := didcore.VerificationMethod{
ID: did.URI + "#0",
Type: "JsonWebKey2020",
Type: "JsonWebKey",
Controller: did.URI,
PublicKeyJwk: &publicKey,
}
Expand Down
2 changes: 1 addition & 1 deletion dids/didweb/didweb.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ func Create(domain string, opts ...CreateOption) (_did.BearerDID, error) {

vm := didcore.VerificationMethod{
ID: "#" + strconv.Itoa(idx),
Type: "JsonWebKey2020",
Type: "JsonWebKey",
Controller: did.URI,
PublicKeyJwk: &publicKeyJWK,
}
Expand Down

0 comments on commit 16aa6fd

Please sign in to comment.