Verify What You Install
How Cargo checks the LogDrop Rust crate, and how to verify the signature of the Helm chart.
The LogDrop Rust crate is published on crates.io, where Cargo downloads it as source. Cargo checks every download against the checksum in your Cargo.lock. The Helm chart is signed by LogDrop with cosign.
Crate
The crate is logdrop on crates.io, published by LogDrop. Cargo records the SHA-256 checksum of every crate version in Cargo.lock and refuses a later download with different content, on your machine and in CI. Commit Cargo.lock and build with:
cargo build --lockedA published version never changes: crates.io does not allow a version to be replaced, and a fix comes as a new version.
Chart
Checking the chart's signature shows that the chart you install is the one LogDrop published, unchanged. The chart's signature is 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
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.
Rust pods use no agent image: the chart only adds settings and the key mount to them. The other images the chart uses are listed on the verify pages of the Java, Node.js, Python, .NET and PHP agents.
.png)