Closed xaionaro closed 3 years ago
@ChriMarMe : Hey. Could somebody from your side take a look at this? I guess this problem will also be a blocker for @paulmenzel (see https://github.com/9elements/converged-security-suite/issues/268)
You need to crosscompile for amd64.
GOOS=Linux GOARCH=amd64 go get github.com/9elements/converged-security-suite/v2/cmd/pcr0tool@master
Or implement the "pkg/hwapi/cpuid_ppc64.go
" with dummy functions for the api
You need to crosscompile for amd64.
GOOS=Linux GOARCH=amd64 go get github.com/9elements/converged-security-suite/v2/cmd/pcr0tool@master
Well, it won't allow to execute the tool on PPC64LE :)
Or implement the "
pkg/hwapu/cpuid_ppc64.go
" with dummy functions for the api
I guess this is a sign of a deeper problem. May be we should not have a dependency on hwapi at all in tools where we do not read anything through it.
Go modules at its best....
pcr0tool
might be used to calculate PCR0 values for other machines, so it is not necessary should be compiled for x86_64, but:PPC64LE, Ubuntu 18.04, Go1.16.6