Verify What You Install
Check the signatures of the LogDrop .NET agent image, the Helm chart and the NuGet package.
LogDrop signs the .NET 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-dotnet-agent:0.1.0-alpha1
cosign verify-attestation --key cosign.pub --insecure-ignore-tlog=true --type cyclonedx \
registry.logdrop.io/logdrop-dotnet-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-alpha12 to 0.1.1-alpha15 use the agent image by digest: registry.logdrop.io/logdrop-dotnet-agent@sha256:f3c20df38156b0c59286c3395f410963fb44c0a51b92524db991ff69ceee73ee.
NuGet package
LogDrop.Api is published on nuget.org by the LogDrop organization, and nuget.org signs every package it serves. To check a downloaded package:
dotnet nuget verify --all LogDrop.Api.0.1.0-alpha1.nupkgTo pin exactly what you restore, turn on NuGet lock files (<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> in your project) and restore with --locked-mode in CI: the lock file records each package's content hash, and a restore that gets a different package fails.
.png)