Verify What You Install
Check the signatures of the LogDrop Python agent image, the Helm chart and the PyPI packages.
LogDrop signs the Python agent image and its Helm chart with cosign, using its own key. The image also carries a CycloneDX SBOM.
Image and chart
A signature check shows that the agent image, its SBOM (the list of software in the image) and the chart come from LogDrop and were not changed. Run it before you deploy, or let an admission policy in your cluster check the image.
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-python-agent:0.1.0-alpha1
cosign verify-attestation --key cosign.pub --insecure-ignore-tlog=true --type cyclonedx \
registry.logdrop.io/logdrop-python-agent:0.1.0-alpha1
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.
The charts 0.1.1-alpha11 to 0.1.1-alpha15 use the agent image by digest: registry.logdrop.io/logdrop-python-agent@sha256:767446a8b50d10aedd7e2885b50606fb84a020a865c61cc2c96db404bad1632b.
PyPI packages
logdrop-agent and logdrop-api are published on PyPI. pip checks each file against the SHA-256 hash PyPI publishes for it. To pin exactly what you install, use hashes in your requirements file:
pip download --no-deps logdrop-agent==0.1.0a1 logdrop-api==0.1.0a1 -d logdrop
pip hash logdrop/*.whlPut the printed --hash=sha256:… values next to the two packages in your requirements file and install with pip install --require-hashes -r requirements.txt.
.png)