mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-04-19 07:45:26 +00:00
enhance confirm-built-with-fips for kube-vert-agent for Go 1.25
This commit is contained in:
@@ -28,7 +28,7 @@ then
|
||||
exit 1
|
||||
fi
|
||||
# check whether the kube-cert-agent binary has particular symbols that only exist when it's compiled with non-boring crypto
|
||||
kube_cert_agent_has_regular_crypto="$(go tool nm './image/rootfs/usr/local/bin/pinniped-concierge-kube-cert-agent' | grep sha256 | grep di)"
|
||||
kube_cert_agent_has_regular_crypto="$(go tool nm './image/rootfs/usr/local/bin/pinniped-concierge-kube-cert-agent' | grep sha256 | grep di | grep -v fips)"
|
||||
# if any of these symbols exist, that means it was compiled wrong and it should fail.
|
||||
if [ -n "$kube_cert_agent_has_regular_crypto" ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user