Skip to content

Commit

Permalink
chore: Enable key contexts in did documents
Browse files Browse the repository at this point in the history
Update sidetree-core: enable key contexts in did documents

Closes #416

Signed-off-by: Sandra Vrtikapa <[email protected]>
  • Loading branch information
sandrask committed May 20, 2021
1 parent e82f7f1 commit cb73df1
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion cmd/orb-cli/common/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const (
},
{
"id": "key2",
"type": "JwsVerificationKey2020",
"type": "JsonWebKey2020",
"purposes": ["authentication"],
"jwkPath": "%s"
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/orb-cli/createdidcmd/createdid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const (
},
{
"id": "key2",
"type": "JwsVerificationKey2020",
"type": "JsonWebKey2020",
"purposes": ["authentication"],
"jwkPath": "%s"
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/orb-cli/recoverdidcmd/recoverdid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
},
{
"id": "key2",
"type": "JwsVerificationKey2020",
"type": "JsonWebKey2020",
"purposes": ["authentication"],
"jwkPath": "%s"
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/orb-cli/updatedidcmd/updatedid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const (
},
{
"id": "key2",
"type": "JwsVerificationKey2020",
"type": "JsonWebKey2020",
"purposes": ["authentication"],
"jwkPath": "%s"
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/orb-server/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
github.com/stretchr/testify v1.7.0
github.com/trustbloc/edge-core v0.1.7-0.20210310142750-7eb11997c4a9
github.com/trustbloc/orb v0.0.0
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210519143310-f0606b30b35b
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210520185648-ad6fce89b352
golang.org/x/net v0.0.0-20210423184538-5f58ad60dda6 // indirect
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/orb-server/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1055,8 +1055,8 @@ github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1
github.com/trustbloc/edge-core v0.1.4-0.20200709143857-e104bb29f6c6/go.mod h1:SZg7nAIc9FONS+G7MwEyGkCWCJR3R02bePwTpWxqH5w=
github.com/trustbloc/edge-core v0.1.7-0.20210310142750-7eb11997c4a9 h1:JCWLY91Vp1qf19IFDSYUmHyPSfnYWZ5/fN6I5s+jq0M=
github.com/trustbloc/edge-core v0.1.7-0.20210310142750-7eb11997c4a9/go.mod h1:BpCeNH2fEH3RX7+C5XfnVIXFQbk7LzBdWdBdgnEb284=
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210519143310-f0606b30b35b h1:ZgkOSMPh005/5jRuKeKNjZUgyQ4I1IqHbGakwgr9kQ4=
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210519143310-f0606b30b35b/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs=
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210520185648-ad6fce89b352 h1:Uk78yCqB3CgziTLTggTK4J4RsgbYQzUFzcvVCDyVXL8=
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210520185648-ad6fce89b352/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs=
github.com/trustbloc/vct v0.1.0 h1:hG5oBXUjzaTY+tIJZBDsCyb1lHoNFgsJc6ObfgJkI8A=
github.com/trustbloc/vct v0.1.0/go.mod h1:wU4hT9o3Vjf4cJlICwHCxkWYGgQsMDLI0+5qx3vzBdE=
github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ require (
github.com/sirupsen/logrus v1.7.0
github.com/stretchr/testify v1.7.0
github.com/trustbloc/edge-core v0.1.7-0.20210310142750-7eb11997c4a9
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210519143310-f0606b30b35b
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210520185648-ad6fce89b352
github.com/trustbloc/vct v0.1.0
golang.org/x/net v0.0.0-20210421230115-4e50805a0758 // indirect
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1052,8 +1052,8 @@ github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1
github.com/trustbloc/edge-core v0.1.4-0.20200709143857-e104bb29f6c6/go.mod h1:SZg7nAIc9FONS+G7MwEyGkCWCJR3R02bePwTpWxqH5w=
github.com/trustbloc/edge-core v0.1.7-0.20210310142750-7eb11997c4a9 h1:JCWLY91Vp1qf19IFDSYUmHyPSfnYWZ5/fN6I5s+jq0M=
github.com/trustbloc/edge-core v0.1.7-0.20210310142750-7eb11997c4a9/go.mod h1:BpCeNH2fEH3RX7+C5XfnVIXFQbk7LzBdWdBdgnEb284=
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210519143310-f0606b30b35b h1:ZgkOSMPh005/5jRuKeKNjZUgyQ4I1IqHbGakwgr9kQ4=
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210519143310-f0606b30b35b/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs=
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210520185648-ad6fce89b352 h1:Uk78yCqB3CgziTLTggTK4J4RsgbYQzUFzcvVCDyVXL8=
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210520185648-ad6fce89b352/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs=
github.com/trustbloc/vct v0.1.0 h1:hG5oBXUjzaTY+tIJZBDsCyb1lHoNFgsJc6ObfgJkI8A=
github.com/trustbloc/vct v0.1.0/go.mod h1:wU4hT9o3Vjf4cJlICwHCxkWYGgQsMDLI0+5qx3vzBdE=
github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
Expand Down
2 changes: 1 addition & 1 deletion test/bdd/fixtures/did-keys/create/publickeys.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
{
"id": "key2",
"type": "JwsVerificationKey2020",
"type": "JsonWebKey2020",
"purposes": ["capabilityInvocation"],
"jwkPath": "./fixtures/did-keys/create/key2_jwk.json"
}
Expand Down
2 changes: 1 addition & 1 deletion test/bdd/fixtures/did-keys/update/publickeys.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"id": "key2",
"type": "JwsVerificationKey2020",
"type": "JsonWebKey2020",
"purposes": ["capabilityInvocation"],
"jwkPath": "./fixtures/did-keys/update/key2_jwk.json"
},
Expand Down
2 changes: 1 addition & 1 deletion test/bdd/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
github.com/sirupsen/logrus v1.7.0
github.com/tidwall/gjson v1.7.4
github.com/trustbloc/orb v0.0.0
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210519143310-f0606b30b35b
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210520185648-ad6fce89b352
)

replace github.com/trustbloc/orb => ../../
Expand Down
4 changes: 2 additions & 2 deletions test/bdd/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1035,8 +1035,8 @@ github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1
github.com/trustbloc/edge-core v0.1.4-0.20200709143857-e104bb29f6c6/go.mod h1:SZg7nAIc9FONS+G7MwEyGkCWCJR3R02bePwTpWxqH5w=
github.com/trustbloc/edge-core v0.1.7-0.20210310142750-7eb11997c4a9 h1:JCWLY91Vp1qf19IFDSYUmHyPSfnYWZ5/fN6I5s+jq0M=
github.com/trustbloc/edge-core v0.1.7-0.20210310142750-7eb11997c4a9/go.mod h1:BpCeNH2fEH3RX7+C5XfnVIXFQbk7LzBdWdBdgnEb284=
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210519143310-f0606b30b35b h1:ZgkOSMPh005/5jRuKeKNjZUgyQ4I1IqHbGakwgr9kQ4=
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210519143310-f0606b30b35b/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs=
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210520185648-ad6fce89b352 h1:Uk78yCqB3CgziTLTggTK4J4RsgbYQzUFzcvVCDyVXL8=
github.com/trustbloc/sidetree-core-go v0.6.1-0.20210520185648-ad6fce89b352/go.mod h1:prRWqxBavkSxgKtPmUriSxCemrvl47yStMbW4jMFuRs=
github.com/trustbloc/vct v0.1.0/go.mod h1:wU4hT9o3Vjf4cJlICwHCxkWYGgQsMDLI0+5qx3vzBdE=
github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=
Expand Down

0 comments on commit cb73df1

Please sign in to comment.