├── .github └── workflows │ ├── ci-lint.yaml │ └── ci-test.yaml ├── .gitignore ├── .golangci.yml ├── LICENSE-APACHE ├── LICENSE-MIT ├── Makefile ├── README.md ├── auth.go ├── auth_test.go ├── cache ├── cache.go └── cache_test.go ├── constants └── constants.go ├── go.mod ├── go.sum ├── loaders ├── embededKeyLoader.go ├── embededKeyLoader_test.go ├── key.go └── verification_keys │ ├── authV2.json │ ├── authV3-8-32.json │ ├── authV3.json │ ├── credentialAtomicQueryMTPV2.json │ ├── credentialAtomicQueryMTPV2OnChain.json │ ├── credentialAtomicQuerySigV2.json │ ├── credentialAtomicQuerySigV2OnChain.json │ ├── credentialAtomicQueryV3-beta.1.json │ ├── credentialAtomicQueryV3OnChain-beta.1.json │ └── linkedMultiQuery10-beta.1.json ├── proofs ├── zk.go └── zk_test.go ├── pubsignals ├── atomicMtpV2.go ├── atomicSigV2.go ├── atomicV3.go ├── authV2.go ├── authV3.go ├── circuitsVerifier.go ├── common.go ├── linkedMultiQuery.go ├── query.go ├── queryCredentialSubjectV2.go ├── queryCredentialSubjectV3.go ├── query_test.go ├── signals.go └── verifyopts.go ├── state ├── mock │ ├── GISTGetterMock.go │ └── StateGetterMock.go ├── resolver-cache_test.go ├── resolver.go ├── state.go └── state_test.go ├── testdata ├── credentials-v1.json-ld ├── kyc-nonmerklized.jsonld ├── kyc-v101.json-ld ├── kyc-v2.json-ld ├── kyc-v3.json-ld └── kyc-v4.json-ld └── transport └── notification.go /.github/workflows/ci-lint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/.github/workflows/ci-lint.yaml -------------------------------------------------------------------------------- /.github/workflows/ci-test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/.github/workflows/ci-test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | .vscode 3 | -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/.golangci.yml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/README.md -------------------------------------------------------------------------------- /auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/auth.go -------------------------------------------------------------------------------- /auth_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/auth_test.go -------------------------------------------------------------------------------- /cache/cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/cache/cache.go -------------------------------------------------------------------------------- /cache/cache_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/cache/cache_test.go -------------------------------------------------------------------------------- /constants/constants.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/constants/constants.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/go.sum -------------------------------------------------------------------------------- /loaders/embededKeyLoader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/loaders/embededKeyLoader.go -------------------------------------------------------------------------------- /loaders/embededKeyLoader_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/loaders/embededKeyLoader_test.go -------------------------------------------------------------------------------- /loaders/key.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/loaders/key.go -------------------------------------------------------------------------------- /loaders/verification_keys/authV2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/loaders/verification_keys/authV2.json -------------------------------------------------------------------------------- /loaders/verification_keys/authV3-8-32.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/loaders/verification_keys/authV3-8-32.json -------------------------------------------------------------------------------- /loaders/verification_keys/authV3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/loaders/verification_keys/authV3.json -------------------------------------------------------------------------------- /loaders/verification_keys/credentialAtomicQueryMTPV2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/loaders/verification_keys/credentialAtomicQueryMTPV2.json -------------------------------------------------------------------------------- /loaders/verification_keys/credentialAtomicQueryMTPV2OnChain.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/loaders/verification_keys/credentialAtomicQueryMTPV2OnChain.json -------------------------------------------------------------------------------- /loaders/verification_keys/credentialAtomicQuerySigV2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/loaders/verification_keys/credentialAtomicQuerySigV2.json -------------------------------------------------------------------------------- /loaders/verification_keys/credentialAtomicQuerySigV2OnChain.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/loaders/verification_keys/credentialAtomicQuerySigV2OnChain.json -------------------------------------------------------------------------------- /loaders/verification_keys/credentialAtomicQueryV3-beta.1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/loaders/verification_keys/credentialAtomicQueryV3-beta.1.json -------------------------------------------------------------------------------- /loaders/verification_keys/credentialAtomicQueryV3OnChain-beta.1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/loaders/verification_keys/credentialAtomicQueryV3OnChain-beta.1.json -------------------------------------------------------------------------------- /loaders/verification_keys/linkedMultiQuery10-beta.1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/loaders/verification_keys/linkedMultiQuery10-beta.1.json -------------------------------------------------------------------------------- /proofs/zk.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/proofs/zk.go -------------------------------------------------------------------------------- /proofs/zk_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/proofs/zk_test.go -------------------------------------------------------------------------------- /pubsignals/atomicMtpV2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/pubsignals/atomicMtpV2.go -------------------------------------------------------------------------------- /pubsignals/atomicSigV2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/pubsignals/atomicSigV2.go -------------------------------------------------------------------------------- /pubsignals/atomicV3.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/pubsignals/atomicV3.go -------------------------------------------------------------------------------- /pubsignals/authV2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/pubsignals/authV2.go -------------------------------------------------------------------------------- /pubsignals/authV3.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/pubsignals/authV3.go -------------------------------------------------------------------------------- /pubsignals/circuitsVerifier.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/pubsignals/circuitsVerifier.go -------------------------------------------------------------------------------- /pubsignals/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/pubsignals/common.go -------------------------------------------------------------------------------- /pubsignals/linkedMultiQuery.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/pubsignals/linkedMultiQuery.go -------------------------------------------------------------------------------- /pubsignals/query.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/pubsignals/query.go -------------------------------------------------------------------------------- /pubsignals/queryCredentialSubjectV2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/pubsignals/queryCredentialSubjectV2.go -------------------------------------------------------------------------------- /pubsignals/queryCredentialSubjectV3.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/pubsignals/queryCredentialSubjectV3.go -------------------------------------------------------------------------------- /pubsignals/query_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/pubsignals/query_test.go -------------------------------------------------------------------------------- /pubsignals/signals.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/pubsignals/signals.go -------------------------------------------------------------------------------- /pubsignals/verifyopts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/pubsignals/verifyopts.go -------------------------------------------------------------------------------- /state/mock/GISTGetterMock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/state/mock/GISTGetterMock.go -------------------------------------------------------------------------------- /state/mock/StateGetterMock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/state/mock/StateGetterMock.go -------------------------------------------------------------------------------- /state/resolver-cache_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/state/resolver-cache_test.go -------------------------------------------------------------------------------- /state/resolver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/state/resolver.go -------------------------------------------------------------------------------- /state/state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/state/state.go -------------------------------------------------------------------------------- /state/state_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/state/state_test.go -------------------------------------------------------------------------------- /testdata/credentials-v1.json-ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/testdata/credentials-v1.json-ld -------------------------------------------------------------------------------- /testdata/kyc-nonmerklized.jsonld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/testdata/kyc-nonmerklized.jsonld -------------------------------------------------------------------------------- /testdata/kyc-v101.json-ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/testdata/kyc-v101.json-ld -------------------------------------------------------------------------------- /testdata/kyc-v2.json-ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/testdata/kyc-v2.json-ld -------------------------------------------------------------------------------- /testdata/kyc-v3.json-ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/testdata/kyc-v3.json-ld -------------------------------------------------------------------------------- /testdata/kyc-v4.json-ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/testdata/kyc-v4.json-ld -------------------------------------------------------------------------------- /transport/notification.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iden3/go-iden3-auth/HEAD/transport/notification.go --------------------------------------------------------------------------------