Update Dockerfile and Go modules for dependency upgrades and compatibility (#2)
All checks were successful
🏗️✨ Build Workflow / 🖥️ 🔨 Build (push) Successful in 5m32s

Reviewed-on: #2
Co-authored-by: Ron Rise <ron@siteworxpro.com>
Co-committed-by: Ron Rise <ron@siteworxpro.com>
This commit was merged in pull request #2.
This commit is contained in:
2025-12-29 02:45:48 +00:00
committed by Siteworx Pro Gitea
parent 8b9d57bba9
commit 739f786c3d
6 changed files with 327 additions and 435 deletions

View File

@@ -1,9 +1,10 @@
package aws_signing_helper
import (
tpm2 "github.com/google/go-tpm/tpm2"
"io"
"os"
tpm3 "github.com/google/go-tpm/legacy/tpm2"
)
func openTPM() (io.ReadWriteCloser, error) {
@@ -12,5 +13,5 @@ func openTPM() (io.ReadWriteCloser, error) {
if tpmdev != "" {
paths = append(paths, tpmdev)
}
return tpm2.OpenTPM(paths...)
return tpm3.OpenTPM(paths...)
}