Skip to content

Releases: trailofbits/pypi-attestations

v0.0.20

11 Dec 16:58
d612336
Compare
Choose a tag to compare

Changed

  • Explicitly support sigstore-python 3.6
    (#79)

v0.0.19

04 Dec 23:13
08802ef
Compare
Choose a tag to compare

Fixed

  • Corrective release for 0.0.18

v0.0.18

27 Nov 20:52
64fd162
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.17...v0.0.18

v0.0.17

19 Nov 22:22
cfb3d4d
Compare
Choose a tag to compare

Fixed

  • The GitLabPublisher policy now takes the workflow file path in order to
    verify attestations, rathen than assuming it will always be gitlab-ci.yml
    (#71).
  • The GitLabPublisher now longer expects claims being passed during construction,
    rather the ref and sha claims are extracted from the certificate's extensions,
    similar to GitHubPublisher's behavior
    (#71).

Changed

  • Publisher classes (GitLabPublisher and GitHubPublisher) no longer take a claims
    dictionary during construction
    (#72).

v0.0.16

07 Nov 22:42
58c872e
Compare
Choose a tag to compare

Added

  • Attestation.statement has been added as a convenience API for accessing
    the attestation's enveloped statement as a dictionary

v0.0.15

06 Nov 22:49
478c93f
Compare
Choose a tag to compare

Full Changelog: v0.0.14...v0.0.15

v0.0.14

06 Nov 22:45
59fc62b
Compare
Choose a tag to compare

What's Changed

  • build(deps): bump actions/checkout from 4.2.1 to 4.2.2 in the actions group by @dependabot in #66
  • build(deps): bump actions/setup-python from 5.2.0 to 5.3.0 in the actions group by @dependabot in #67
  • fix handling of zip sdists by @woodruffw in #68

Full Changelog: v0.0.13...v0.0.14

v0.0.13

22 Oct 16:18
2cf1f8f
Compare
Choose a tag to compare

Changed

  • The minimum Python version required has been brought back to 3.9
    (#64).

  • The Attestation.verify(...) API has been changed to remove the Verifier
    argument in favor of an optional staging: bool kwarg to select the
    Sigstore instance
    (#62)

  • The Attestation.verify(...) API has been changed to accept both Publisher
    and VerificationPolicy objects as a policy. The publisher object is internally
    converted to an appropriate verification policy.

Fixed

  • python -m pypi_attestations verify now handles inputs like dist/*
    gracefully, by pre-filtering any attestation paths from the inputs.

  • python -m pypi_attestations verify now exits with a non-zero exit code
    if the verification step fails
    (#57)

v0.0.12

19 Sep 16:10
5a6f9a9
Compare
Choose a tag to compare

Fixed

  • Base64-encoded bytes inside Attestation objects contained newline characters
    every 76 characters due to a bug in Pydantic's Base64Bytes type. Those
    newlines were also (incorrectly) ignored by Pydantic during decoding
    (#48).

v0.0.11

20 Aug 17:29
3b84d95
Compare
Choose a tag to compare

What's Changed

  • workflows: hash-pin all workflows by @woodruffw in #40
  • build(deps): bump actions/attest from c578ab5e377a70e30e1411d16a0eba675e5dc2e9 to 2da0b136720d14f01f4dbeeafd1d5a4d76cbe21d in the actions group by @dependabot in #41
  • Update CHANGELOG for version 0.0.10 by @DarkaMaul in #42
  • Run mypy on tests by @woodruffw in #43
  • build(deps): update sigstore requirement from ~=3.1.0 to >=3.1,<3.3 in the python group by @dependabot in #45

Full Changelog: v0.0.10...v0.0.11