Foxboron / ssh-tpm-agent

:computer: :key: ssh-agent for TPMs
MIT License
355 stars 20 forks source link

Fix build with go 1.23 #68

Closed gartnera closed 2 weeks ago

gartnera commented 2 weeks ago

go 1.23 makes this vet warning fatal:

➜  ssh-tpm-agent git:(add-certificate) ✗ go vet ./...
# github.com/foxboron/ssh-tpm-agent/agent
# [github.com/foxboron/ssh-tpm-agent/agent]
agent/agent.go:303:51: slog.Debug arg "err" should be a string or a slog.Attr (possible missing key or value)
agent/agent.go:312:54: slog.Debug arg "err" should be a string or a slog.Attr (possible missing key or value)