Skip to content

Releases

Release v0.4.2

Choose a tag to compare

@github-actions github-actions released this 22 Nov 03:19
f153571

What's changed since v0.4.1

Fixes

  • Git notes: a note can be stored for any commit again (#254).
    Once a repository's notes are split into subdirectories, storing a note
    for a commit whose subdirectory already existed wrote a tree with a
    duplicate entry. Servers that check pushed objects, GitHub among them,
    refused the push with unpack index-pack failed. A commit could only be
    given a note if no other noted commit shared the first two digits of its
    SHA, so the failure rate grew with every note stored. The note is now
    written into the existing subdirectory, next to the notes already there.
    The notes on the remote were never damaged: the bad pushes were rejected.

  • Repository type registry: safe for concurrent use (#252).
    RepositoryFromString read the registry of repository types without
    taking its lock. A lookup that overlapped a registration, as when the
    default types are loaded on first use while repositories are already
    being built, was a concurrent map read and write, which ends the
    process. Lookups now take a read lock, and registering checks for an
    existing type under the same lock as the write.

  • Git notes: a note can be stored for any commit again (#254).
    Once a repository's notes are split into subdirectories, storing a note
    for a commit whose subdirectory already existed wrote a tree with a
    duplicate entry. Servers that check pushed objects, GitHub among them,
    refused the push with unpack index-pack failed. A commit could only be
    given a note if no other noted commit shared the first two digits of its
    SHA, so the failure rate grew with every note stored. The note is now
    written into the existing subdirectory, next to the notes already there.
    The notes on the remote were never damaged: the bad pushes were rejected.

  • Repository type registry: safe for concurrent use (#252).
    RepositoryFromString read the registry of repository types without
    taking its lock. A lookup that overlapped a registration, as when the
    default types are loaded on first use while repositories are already
    being built, was a concurrent map read and write, which ends the
    process. Lookups now take a read lock, and registering checks for an
    existing type under the same lock as the write.

  • Git notes: a rejected push is retried (#251).
    Every note of a repository lives under one ref, so a writer that read the
    notes before another writer pushed had its own push rejected and the
    attestation was lost. For a cloned repository the push is now tried up to
    three times, each time on top of the remote's current notes. Existing
    notes are kept and the attestation is written once. A local repository's
    notes are never reset, and a push refused for lack of access is not
    retried.

Features

  • git collector: authentication (#250).
    New WithToken and WithAuth options let the git collector read
    private repositories. The credentials are sent on every request it makes:
    resolving a ref, cloning, fetching a commit by SHA, and fetching the
    commits a subject query asks about. An empty token keeps it anonymous.

Changes in output

  • Signature attestations name and locate their commit (#253).
    The attestation synthesized from a commit's signature now has
    "<remote>@<sha>" as its subject name, where it had the repository URL
    alone, and a VCS locator as its subject uri
    (git+https://host/org/repo@<sha>), which was empty. Digests are
    unchanged. Credentials embedded in a remote's URL are no longer copied
    into the subject. Tag signature attestations are not changed.

Upgrade notes

  • Anything that compares a signature attestation's subject name to a
    bare repository URL needs updating; matching on digests is unaffected.
  • No API was removed. WithToken and WithAuth on the git collector
    are additions.

Release v0.4.1

Choose a tag to compare

@github-actions github-actions released this 19 Nov 03:00
60a898f
Cut by miniprow from a patch release request.

Policies verified:
- gitsign-commit-signature

Evaluated-Commit: 85bf218fc09a509a9469d3b3dbc906e9e330659b
Pull-Request: 249
Tree: 2bc3f05bf399dca037a292b23fea76679e02f356
Merge-Strategy: merge

Release v0.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Oct 18:34
Cut by miniprow from a minor release request.

Policies verified:
- gitsign-commit-signature

Release v0.3.17

Choose a tag to compare

@github-actions github-actions released this 19 Sep 01:28
Cut by miniprow from a patch release request.

Policies verified:
- gitsign-commit-signature

v0.3.16

Choose a tag to compare

@github-actions github-actions released this 10 Sep 23:38

📯 What's New

This release adds two new collector drivers: workflow artifacts and a collector deriver for pypi PEP740 attestations along with a couple of bug fixes.

All dependencies bumped to their latest versions except for sigstore/sigstore which was recently moved to go 1.27 in sigstore/sigstore#2415 (we want to keep 1.26 compatibility).

What's Changed

  • Add artifacts collector driver by @puerco in #203
  • Read the immutable-release attestation in the release collector by @puerco in #204
  • coci: write the predicateType layer annotation on store by @puerco in #205
  • coci: skip attestation layers that do not hold a parseable statement by @puerco in #206
  • Add the PEP740 pypi collector driver by @puerco in #207

Full Changelog: v0.3.15...v0.3.16

Release v0.3.15

Choose a tag to compare

@github-actions github-actions released this 08 Sep 03:45
Cut by miniprow from a patch release request.

Policies verified:
- gitsign-commit-signature

Release v0.3.14

Choose a tag to compare

@github-actions github-actions released this 03 Sep 00:26
Cut by miniprow from a patch release request.

Policies verified:
- gitsign-commit-signature

Release v0.3.13

Choose a tag to compare

@github-actions github-actions released this 29 Aug 03:04
Cut by miniprow from a patch release request.

Policies verified:
- gitsign-commit-signature

Release v0.3.12

Choose a tag to compare

@github-actions github-actions released this 26 Aug 20:18
Cut by miniprow from a patch release request.

Policies verified:
- gitsign-commit-signature

Release v0.3.11

Choose a tag to compare

@github-actions github-actions released this 09 Aug 02:11
Cut by miniprow from a patch release request.

Policies verified:
- gitsign-commit-signature