cfssl icon indicating copy to clipboard operation
cfssl copied to clipboard

Only receive cfssl version 1.2.0 on Raspberry Pi 4

Open Albusoline opened this issue 1 year ago • 3 comments

Hi.

I only get Version 1.2.0 when using

go install github.com/cloudflare/cfssl/cmd/...@latest

My System:

go: Version 1.20.6 linux/arm64 Raspberry Pi OS: Debian GNU/Linux 11 (bullseye) uname -m results in: aarch64

However, for Nextcloud I will need cfssl version 1.6.3 at least.

Any ideas?

Albusoline avatar Jul 31 '23 19:07 Albusoline

What are you running to determine the version number? You actually shouldn't get a version number if you run go install because. (I can fix that by using https://pkg.go.dev/runtime/debug#ReadBuildInfo or something of the sort)

but this is what it looks like for me. Note the dev instead of 1.6.4

❯ go install github.com/cloudflare/cfssl/cmd/...@latest
❯ ~/go/bin/cfssl version
Version: dev
Runtime: go1.20.6

nickysemenza avatar Aug 01 '23 16:08 nickysemenza

Actually I may have used go install github.com/cloudflare/cfssl/cmd/cfssl@latest instead of go install github.com/cloudflare/cfssl/cmd/...@latest

Version checked with: cfssl version

Albusoline avatar Aug 02 '23 12:08 Albusoline

what does which cfssl give you? it's possible an older version could be taking precedence in your PATH over the one in GOROOT?

nickysemenza avatar Aug 03 '23 16:08 nickysemenza