Each release artifact has been signed with a ECDSA-P256 key. The public key is available in the repository at here and can be used to verify the signature of the artifact.
In order to verify the signature of an artifact, you will need to install cosign. This can be done by getting the release artifacts from the cosign releases page or by using the following command if you have Go installed:
go install github.com/sigstore/cosign/cmd/[email protected]
Once you have cosign installed, you can verify the signature of an artifact by running the following command:
cosign verify-blob --key ./signature/bp_agent_key.pub --signature <PATH_TO_SIG> <PATH_TO_ARTIFACT>
Heres an example of verifying the signature of an agent binary:
cosign verify-blob --key ./signature/bp_agent_key.pub --signature observiq-otel-collector-v1.47.1-darwin-amd64.tar.gz.sig observiq-otel-collector-v1.47.1-darwin-amd64.tar.gz