Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed JSON-LD canonization; added client proto package to define governed constants for external clients #376

Merged
merged 20 commits into from
Nov 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
2fde2fe
refactor: ed25519 signature verification has been aligned in accordan…
arnabghose997 Sep 19, 2023
07d115b
feat: added x25519-2020 ld context
arnabghose997 Sep 20, 2023
f0d4995
fix: normalized rdf string came empty even after passing correct Json…
arnabghose997 Sep 22, 2023
c4f2a40
feat: added secp256k1-2020 context
arnabghose997 Sep 25, 2023
00f27e4
feat: added bbs-signature-2020 ld-context
arnabghose997 Sep 25, 2023
e7f86b5
feat: added secp256k1-2019 ld context
arnabghose997 Sep 25, 2023
5c8f53b
refactor: corrected signature verification function name of BbsBlsSig…
arnabghose997 Sep 25, 2023
4ce52b2
- Pre TestnetV2 Refactor
arnabghose997 Oct 19, 2023
5e3fb53
fix: fixed the canonization process of JSON-LD documents by canonizin…
arnabghose997 Oct 30, 2023
4bcbe4e
added clients proto package to define supported constants by protocol…
arnabghose997 Oct 30, 2023
1ebd392
added check to ensure credentialMerkleRootHash is not changed while u…
arnabghose997 Oct 31, 2023
a019cfb
added check in updateCredentialStatus rpc to ensure that update only …
arnabghose997 Oct 31, 2023
256968c
added HypersignCredentialStatus2023 json-ld doc
arnabghose997 Oct 31, 2023
f9b5e0e
removed @version from internal @context doc to correct LD syntax
arnabghose997 Oct 31, 2023
91ae4a1
store related ssiKeeper methods are not exposed to prevent any usage …
arnabghose997 Nov 1, 2023
3e63994
updateDidDocumentInStore and registerDidDocumentInStore methods are r…
arnabghose997 Nov 1, 2023
e818923
moved HypersignCredentialStatus2023.jsonld to a seperate github repo;…
arnabghose997 Nov 6, 2023
36416aa
renamed X25519KeyAgreementKeyEIP5630 to X25519KeyAgreementKeyEIP5630C…
arnabghose997 Nov 6, 2023
915af78
fixed ssi genesis parameter name
arnabghose997 Nov 6, 2023
ce0091b
refactor: grouped the logic for document json-ld canonization under a…
arnabghose997 Nov 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ dist/
.cache/
__pycache__
artifacts
node_modules
package-lock.json
generated-ts
15 changes: 7 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export GO111MODULE=on
###############################################################################
.PHONY: build install

all: proto-gen swagger-docs-gen build
all: proto-gen-go proto-gen-swagger build

go-version-check:
ifneq ($(GO_MINOR_VERSION),19)
Expand All @@ -51,18 +51,17 @@ build: go-version-check
### Proto ###
###############################################################################

proto-gen:
proto-gen-go:
@echo "Generating golang code from protobuf"
./scripts/protocgen.sh
./scripts/protocgen-go.sh

###############################################################################
### Docs ###
###############################################################################

swagger-docs-gen:
proto-gen-swagger:
@echo "Generating swagger docs"
./scripts/protoc-swagger-gen.sh

proto-gen-ts:
@echo "Generating typescript code from protobuf"
./scripts/protocgen-ts.sh

###############################################################################
### Docker ###
Expand Down
37 changes: 20 additions & 17 deletions client/docs/config.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
{
"swagger": "2.0",
"info": {
"title": "Hypersign Identity Network - gRPC Gateway docs",
"description": "A REST interface for gRPC queries",
"version": "1.0.0"
"swagger": "2.0",
"info": {
"title": "Hypersign Identity Network - REST API docs",
"description": "A REST interface for gRPC queries",
"version": "1.0.0"
},
"externalDocs": {
"description": "Hypersign Identity Network Documentation",
"url": "https://docs.hypersign.id"
},
"apis": [
{
"url": "./.cache/tmp/swagger-gen/ssi/v1/query.swagger.json"
},
"apis": [
{
"url": "./.cache/tmp/swagger-gen/ssi/v1/query.swagger.json"
},
{
"url": "https://github.com/cosmos/cosmos-sdk/raw/v0.45.7/client/docs/swagger-ui/swagger.yaml",
"dereference": {
"circular": "ignore"
}
{
"url": "https://raw.githubusercontent.com/cosmos/cosmos-sdk/v0.45.11/client/docs/swagger-ui/swagger.yaml",
"dereference": {
"circular": "ignore"
}
]
}
}
]
}
Loading
Loading