Closed hansgylling closed 10 months ago
👋 Hello @hansgylling, thank you for opening this issue! I plan to take a look later this week to get this sorted out.
Thank you again for reporting this @hansgylling! I decided to take the easy route here, and specify 1.21 as the minimum Go version. But, happy to revisit that in the future if needed.
The
go
directive in thego.mod
file isn't correct regarding the minimum version needed to build commands from the taint module, as demonstrated in the following shell sessions. It's the same problem for thelogi
,sqli
,taint
, andxss
commands, but not forssadump
. I'm usingsqli
as an example, because that's the one I've been using.With Go 1.20:
With Go 1.21:
You should change either the code or the version in go.mod to be consistent with each other.
I also suggest that the CI job for this module should also use the oldest Go version that taint supports. If you also want to run with a newer version you can use a matrix of versions to run the same job with different Go versions: https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs