From 0d0c12d3360de5a64dcbfd1203bae2f704460386 Mon Sep 17 00:00:00 2001 From: salrashid123 Date: Fri, 14 Jun 2024 08:27:05 -0400 Subject: [PATCH] bump dependency --- README.md | 2 ++ go.mod | 3 ++- go.sum | 4 ++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 279151f..b669bd2 100644 --- a/README.md +++ b/README.md @@ -500,6 +500,8 @@ For example: --tpm-session-encrypt-with-name=000bb50d34f6377bb3c2f41a1b4b6094ed6efcd7032d28054566db0766879dad1ee0 ``` +You can also derive the "name" from a public key of a known template. see [go-tpm.tpm2_get_name](https://github.com/salrashid123/tpm2/tree/master/tpm2_get_name) + A TODO enhancement could be to add on support for `PKCS-11` systems: eg [salrashid123/golang-jwt-pkcs11](https://github.com/salrashid123/golang-jwt-pkcs11) also see: diff --git a/go.mod b/go.mod index 8a05da7..ac030e7 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/google/go-tpm v0.9.1-0.20240514145214-58e3e47cd434 github.com/google/go-tpm-tools v0.4.4 github.com/gorilla/mux v1.8.1 - github.com/salrashid123/golang-jwt-tpm v1.8.1-0.20240606202535-4a9cc73e10e7 + github.com/salrashid123/golang-jwt-tpm v1.8.1 github.com/salrashid123/oauth2/tpm v0.0.0-20240607190353-7c8d56da8695 golang.org/x/net v0.26.0 golang.org/x/oauth2 v0.21.0 @@ -40,6 +40,7 @@ require ( github.com/prometheus/client_model v0.6.1 // indirect github.com/prometheus/common v0.54.0 // indirect github.com/prometheus/procfs v0.15.1 // indirect + github.com/salrashid123/signer v0.8.4 // indirect go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.52.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect diff --git a/go.sum b/go.sum index 472042a..bc60ab1 100644 --- a/go.sum +++ b/go.sum @@ -101,10 +101,14 @@ github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0leargg github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= github.com/salrashid123/golang-jwt-tpm v1.8.1-0.20240606202535-4a9cc73e10e7 h1:Pf1R4jEDRNICUvVh3dILCNpJMAXSOTbJf+gsXzNl4kw= github.com/salrashid123/golang-jwt-tpm v1.8.1-0.20240606202535-4a9cc73e10e7/go.mod h1:j09G3lbE4f1xA8b/iJylp+vjM9zjbXU56+OS70eifTg= +github.com/salrashid123/golang-jwt-tpm v1.8.1 h1:wLCVGh3NE6nXkbtJCC4FqDMd1T4O9blkqhLrki/dEM0= +github.com/salrashid123/golang-jwt-tpm v1.8.1/go.mod h1:j09G3lbE4f1xA8b/iJylp+vjM9zjbXU56+OS70eifTg= github.com/salrashid123/oauth2/tpm v0.0.0-20240607173538-b627228b5c65 h1:o9SQjmccJAGmktGpPFEARcsqD6rNXYlawDX/Q/oPzAY= github.com/salrashid123/oauth2/tpm v0.0.0-20240607173538-b627228b5c65/go.mod h1:r/i6uqpS4UEttsF1cfMFA6d36E7hK9AewpEXjTq0/SA= github.com/salrashid123/oauth2/tpm v0.0.0-20240607190353-7c8d56da8695 h1:+XNYNHaB/S+7+1FoP1/IVDAKspp52l93G+h6CqhmcBc= github.com/salrashid123/oauth2/tpm v0.0.0-20240607190353-7c8d56da8695/go.mod h1:r/i6uqpS4UEttsF1cfMFA6d36E7hK9AewpEXjTq0/SA= +github.com/salrashid123/signer v0.8.4 h1:4D8xtYnxVF8+kqWXouHtEZDPc3Frio/974MatOUF5w0= +github.com/salrashid123/signer v0.8.4/go.mod h1:nnPEj0R9nLlUITJROI2vl6s1WtwArLwQJx3UFs6GGB8= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=