Skip to content

v1.2.1

Choose a tag to compare

@github-actions github-actions released this 06 Oct 21:25
· 249 commits to main since this release
v1.2.1
b564b3f

verify-attestation.sh changes in this release. The new sha256 is 16dcf76978f0556e259385f676699a8bf11abaa94288ae1cc05ddf596b1ce7d0; v1.2.0's was 2838c929…. If you pin the script by hash, update the pin.

Fixed

LibreSSL was reported as an ML-DSA capable OpenSSL (#48).

  • LibreSSL is the openssl on macOS and what Homebrew's libressl installs. It prints a version of 3.5 or later and has no ML-DSA.
  • The verifier printed PASS OpenSSL 4.1.2 (ML-DSA capable) and then failed with an unexplained "OpenSSL rejected the reconstructed public key".
  • The exit code was already correct (2, "could not check"). The output was not.

The toolchain gate now checks, in order:

  1. that openssl version names OpenSSL;
  2. that its version is at least 3.5;
  3. that openssl list -signature-algorithms offers ML-DSA-65.

Each failure says why ("not ML-DSA capable", or "is too old") and exits 2. On a capable system the PASS line now reads OpenSSL 3.5.7 offers ML-DSA-65. Exit codes and verdicts are unchanged for every supported toolchain, and all 101 published vectors pass unchanged.

Tests and CI

  • tests/run.sh: new assertions using PATH shims for a LibreSSL version string and for an OpenSSL without ML-DSA-65, 74 in total.
  • New CI job: "LibreSSL is exit 2, not 1" runs the verifier on a published vector with real LibreSSL in a digest-pinned Alpine image.

Maintenance

  • Renovate removed (#47). renovate.json was never acted on, because the app was never installed on the repository.
  • How pins are updated now:
    • The container image digests and the cosign version are bumped by hand in periodic dependency reviews, with a 7-day quarantine; see CONTRIBUTING, "Dependencies".
    • Dependabot keeps the SHA-pinned actions current.

Verify this release

sha256sum -c SHA256SUMS
cosign verify-blob --bundle verify-attestation.sh.sigstore.json \
  --certificate-identity "https://github.com/Hodeitek/hodeishield-attest-verifier/.github/workflows/release.yml@refs/tags/v1.2.1" \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  verify-attestation.sh

verify-attestation.sh sha256: 16dcf76978f0556e259385f676699a8bf11abaa94288ae1cc05ddf596b1ce7d0

Full changelog: v1.2.0...v1.2.1