Skip to content

README tpm2.srk

The sample app tpm2.srk shows the basic usage of a TPM2 in Go with go-tpm and go-tpm-tools.

Also see "TPM2".

Introduction

It demonstrates how you can use the TPM2.0 of the ctrlX CORE or the emulated TPM2.0 on the ctrlX COREvirtual inside a Go application.

Build

cd samples-go/tpm2.srk
go build ./cmd/tpm2
export TPM2_SOCKET="<path to socket>"
./tpm2 create
./tpm2 load

Support

If you've any questions visit the ctrlX AUTOMATION Community


License

SPDX-FileCopyrightText: Bosch Rexroth AG SPDX-License-Identifier: MIT