Skip to content

Commit

Permalink
Update correct json schema draft 7 identifier (#453)
Browse files Browse the repository at this point in the history
* Update model.go

* remove sec warnings
  • Loading branch information
decentralgabe authored Aug 28, 2023
1 parent 6e10433 commit 70cb48d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion credential/schema/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const (

Draft202012 JSONSchemaVersion = "https://json-schema.org/draft/2020-12/schema"
Draft201909 JSONSchemaVersion = "https://json-schema.org/draft/2019-09/schema"
Draft7 JSONSchemaVersion = "https://json-schema.org/draft-07/schema"
Draft7 JSONSchemaVersion = "https://json-schema.org/draft-07/schema#"

// Known JSON Schema properties

Expand Down
2 changes: 1 addition & 1 deletion cryptosuite/bbs/bbsplussignatureproofsuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

const (
BBSPlusSignatureProof2020 cryptosuite.SignatureType = "BbsBlsSignatureProof2020"
BBSPlusSignatureProof2020 cryptosuite.SignatureType = "BbsBlsSignatureProof2020" // #nosec
)

type BBSPlusSignatureProofSuite struct{}
Expand Down
2 changes: 1 addition & 1 deletion did/ion/errorcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const (
DIDDocumentPublicKeyIDDuplicated ErrorCode = "DidDocumentPublicKeyIdDuplicated"
DIDDocumentPublicKeyMissingOrIncorrectType ErrorCode = "DidDocumentPublicKeyMissingOrIncorrectType"
DIDDocumentServiceIDDuplicated ErrorCode = "DidDocumentServiceIdDuplicated"
DIDSuffixIncorrectLength ErrorCode = "DidSuffixIncorrectLength"
DIDSuffixIncorrectLength ErrorCode = "DidSuffixIncorrectLength" // #nosec
EncodedStringIncorrectEncoding ErrorCode = "EncodedStringIncorrectEncoding"
IDNotUsingBase64URLCharacterSet ErrorCode = "IdNotUsingBase64UrlCharacterSet"
IDTooLong ErrorCode = "IdTooLong"
Expand Down

0 comments on commit 70cb48d

Please sign in to comment.