-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I'm building on a Debian system, and have successfully built the v1.0.0 tag after checking that out and running make.
But when I checked out the main branch I hit two issues. The first appeared to be an invalid format in go.mod:
$ make
cd cmd/tkey-ssh-agent && sha512sum -c signer.bin.sha512
signer.bin-v1.0.2: OK
CGO_ENABLED=0 go build -ldflags "-X main.version= -X main.signerAppNoTouch=" -trimpath -buildvcs=false ./cmd/tkey-ssh-agent
go: errors parsing go.mod:
/home/d6/w/tkey-ssh-agent/go.mod:3: invalid go version '1.22.0': must match format 1.23
make: *** [Makefile:58: tkey-ssh-agent] Error 1
I was able to fix this by changing go 1.22.0 to go 1.22. After doing so I got further but hit another problem:
$ make
cd cmd/tkey-ssh-agent && sha512sum -c signer.bin.sha512
signer.bin-v1.0.2: OK
CGO_ENABLED=0 go build -ldflags "-X main.version= -X main.signerAppNoTouch=" -trimpath -buildvcs=false ./cmd/tkey-ssh-agent
go: downloading golang.org/x/crypto v0.29.0
go: downloading github.com/tillitis/tkeyclient v1.1.0
go: downloading github.com/tillitis/tkeysign v1.0.1
go: downloading github.com/tillitis/tkeyutil v0.0.8
go: downloading golang.org/x/term v0.26.0
go: downloading github.com/gen2brain/beeep v0.0.0-20240516210008-9c006672e7f4
go: downloading github.com/ccoveille/go-safecast v1.1.0
go: downloading golang.org/x/sys v0.27.0
../../go/pkg/mod/golang.org/x/crypto@v0.29.0/curve25519/curve25519.go:13:8: package crypto/ecdh is not in GOROOT (/usr/lib/go-1.19/src/crypto/ecdh)
make: *** [Makefile:58: tkey-ssh-agent] Error 1
Anyway, since the v1.0.0 tag does build correctly this isn't an urgent problem but I thought I should let you all know.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels