Skip to content

Commit

Permalink
Move from JsonWebKey2020 to JsonWebKey for DID VMs
Browse files Browse the repository at this point in the history
  • Loading branch information
KendallWeihe committed Mar 20, 2024
1 parent d164e6b commit 9c4fb7b
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 9c4fb7b

Please sign in to comment.