-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #376 from hypersign-protocol/ld-json-fix
fixed JSON-LD canonization; added `client` proto package to define governed constants for external clients
- Loading branch information
Showing
36 changed files
with
509 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This client Proto package is only meant to be used by external clients apart from `hid-node` itself. These are supposed to be the de facto constants based on the Protocol. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// The messages defined here are meant only meant for TS client. | ||
syntax = "proto3"; | ||
package hypersign.ssi.client; | ||
|
||
option go_package = "github.com/hypersign-protocol/hid-node/x/ssi/types"; | ||
|
||
enum VerificationMethodRelationships { | ||
authentication = 0; | ||
assertionMethod = 1; | ||
keyAgreement = 2; | ||
capabilityInvocation = 3; | ||
capabilityDelegation = 4; | ||
} | ||
|
||
enum VerificationMethodTypes { | ||
Ed25519VerificationKey2020 = 0; | ||
EcdsaSecp256k1VerificationKey2019 = 1; | ||
EcdsaSecp256k1RecoveryMethod2020 = 2; | ||
X25519KeyAgreementKey2020 = 3; | ||
X25519KeyAgreementKeyEIP5630 = 4; | ||
Bls12381G2Key2020 = 5; | ||
BabyJubJubVerificationKey2023 = 6; | ||
} | ||
|
||
enum ProofTypes { | ||
Ed25519Signature2020 = 0; | ||
EcdsaSecp256k1Signature2019 = 1; | ||
EcdsaSecp256k1RecoverySignature2020 = 2; | ||
BabyJubJubSignature2023 = 3; | ||
BbsBlsSignature2020 = 4; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ enum ClientSpecType { | |
CLIENT_SPEC_TYPE_COSMOS_ADR036 = 1; | ||
CLIENT_SPEC_TYPE_ETH_PERSONAL_SIGN = 2; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.