go-tpm-tools icon indicating copy to clipboard operation
go-tpm-tools copied to clipboard

Go packages built on go-tpm providing a high-level API for using TPMs

Results 56 go-tpm-tools issues
Sort by recently updated
recently updated
newest added

Add fake client that cleanly implements the Client interface instead of using GRPC libraries.

I've been bumping a docker container from Ubuntu2004 to Ubuntu2204 and encountered the following error: ``` # github.com/google/go-tpm-tools/simulator/internal In file included from /root/go/pkg/mod/github.com/google/[email protected]/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/BnValues.h:317, from /root/go/pkg/mod/github.com/google/[email protected]/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Global.h:82, from /root/go/pkg/mod/github.com/google/[email protected]/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Tpm.h:52, from /root/go/pkg/mod/github.com/google/[email protected]/simulator/internal/internal.go:34: /root/go/pkg/mod/github.com/google/[email protected]/simulator/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/TpmToOsslMath.h:52:5:...

Is it possible to simply load a cached key without having to know extra parameters, e.g. a template matching the key? Basically, I want a TPM client function like the...

Add ability to determine image state env (debug/hardended). Signed-off-by: Jiankun Lu

I've created the following script for testing proposes and I'm running it on a VMware VM with a virtualized TPM with RHEL8 as the OS. I got the following error...

There was no way to check if there exists a cachedHandle with a specific template so I added CachedKey, which returns a key if the template exists at a given...

- Add DmVerityState. - DmVerityState will contain the attested dm-verity hash algorithms, root digests, and salts required for validating a dm-verity mounted device (e.g., root fs). - Add parseArgs and...

Is there any particular reason why `CreateSigningKeyImportBlob` works only with RSA keys? [createPublicPrivateSign](https://github.com/google/go-tpm-tools/blob/642b7ac44712feb17ad7357c5445f2551816911e/server/key_conversion.go#L80) allows the key to be only RSA. Probably support for exporting ECC parameters can be added there?

good first issue

When compiling the project I receive these warnings about the use of deprecated macros being used in the code. OS: `Ubuntu 22.04` Kernel: `5.15.0-1004-gcp` go-tpm-tools: `v0.3.5` go: `go1.18.2 linux/amd64` The...

On the next breaking change of go-tpm-tools, we should change the names of `GceAttestationKeyRSA` and `GceAttestationKeyECC ` to `GCEShieldedSigningKeyRSA` and `GCEShieldedSigningKeyECC` to better match the documentation at https://cloud.google.com/compute/docs/reference/rest/v1/instances/getShieldedInstanceIdentity. We should...