· 10/18/2024 ·
The Intel® Trust Authority go-connector module is the main component of the remote attestation client. The go-connector provides a set of Go modules for connecting to Intel Trust Authority services. The go-connector API is designed to be used by both attesters and relying parties, in either Passport or Background-check attestation mode. Go-connector relies on TEE adapters to interact with the underlying host platform.
There are two options for using go-connector: you can import the Go modules into your Go application, or you can execute the attestation client CLI from your application or workflow. The CLI is a wrapper around the go-connector that provides a command-line interface the core functionality of the go-connector, plus additional features exposed by TEE adapters.
go-connector requires configuration information to connect to the Intel Trust Authority service. The configuration information includes the URL of the Intel Trust Authority service for your region, the API key, TLS configuration, and optional connection retry parameters. For more information, see the sample configuration code.
For more information about go-connector and related topics, see the following resources:
- Intel Trust Authority Go Connector Reference — Detailed documentation for the go-connector API.
- Intel Trust Authority Attestation Client CLI — Documentation for the attestation client CLI.
- Intel Trust Authority Documentation —The primary documentation for Intel Trust Authority.
- Intel Trust Authority Client README — The main README for this branch.
Download the latest version of the module with the following command.
go get github.com/intel/trustauthority-client/go-connector
Use Go 1.22 or newer. See https://go.dev/doc/install for installation of Go.
To run the tests, run cd go-connector && go test ./...
. See the example test in go-connector/token_test.go
for an example of a test.
For usage information, see the Intel Trust Authority Go Connector Reference.
See the CONTRIBUTING file for information on how to contribute to this project. The project follows the Code of Conduct.
This library is distributed under the BSD-style license found in the LICENSE file.