Verify What You Install
Check the signatures of the LogDrop Java agent, its container image and the Helm chart.
LogDrop signs its container images and its Helm chart with cosign, and its Maven files with GPG, using its own keys. Every artifact also comes with a CycloneDX SBOM. A valid signature shows that a file comes from LogDrop and has not changed since LogDrop signed it. The SBOM (software bill of materials) lists the components inside an artifact.
Images and the chart
Check the chart and the agent image it pulls when you install on Kubernetes. The signatures are not recorded in the public Rekor transparency log, so verification is a check against LogDrop's public key:
curl -fsSLO https://artifactory.logdrop.io/repository/logdrop-public/keys/cosign.pub
# The agent image (the image the chart uses by digest), its SBOM, and the chart.
cosign verify --key cosign.pub --insecure-ignore-tlog=true registry.logdrop.io/logdrop-javaagent:0.1.0-alpha5
cosign verify-attestation --key cosign.pub --insecure-ignore-tlog=true --type cyclonedx \
registry.logdrop.io/logdrop-javaagent:0.1.0-alpha5
cosign verify --key cosign.pub --insecure-ignore-tlog=true registry.logdrop.io/charts/logdrop-infrastructure:0.1.1-alpha15--insecure-ignore-tlog=true tells cosign not to look for a transparency log entry, because there is none. The signature is still checked against the key, and cosign prints a warning about the missing log entry. Admission policies that verify images in your cluster need the same two settings: LogDrop's public key, and the transparency log check turned off.
Maven files
Check these when you download the agent jar to run it outside Kubernetes, or when you add the logdrop-api library. Every file in LogDrop's Maven repository has a GPG signature (.asc) next to it:
curl -fsSLO https://artifactory.logdrop.io/repository/logdrop-java/io/logdrop/logdrop-javaagent/0.1.0-alpha5/logdrop-javaagent-0.1.0-alpha5.jar
curl -fsSLO https://artifactory.logdrop.io/repository/logdrop-java/io/logdrop/logdrop-javaagent/0.1.0-alpha5/logdrop-javaagent-0.1.0-alpha5.jar.asc
curl -fsSLO https://artifactory.logdrop.io/repository/logdrop-public/keys/logdrop-release.asc
gpg --import logdrop-release.asc
gpg --verify logdrop-javaagent-0.1.0-alpha5.jar.asc logdrop-javaagent-0.1.0-alpha5.jarThe CycloneDX SBOM of each Maven artifact sits next to it as -cyclonedx.json, for example logdrop-javaagent-0.1.0-alpha5-cyclonedx.json.
.png)