From ae2a6e551f6e7beef9bb792fb0510391af535e7a Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Tue, 20 Aug 2024 13:22:11 -0400 Subject: [PATCH] update private API use Signed-off-by: William Woodruff --- src/pypi_attestations/_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pypi_attestations/_impl.py b/src/pypi_attestations/_impl.py index d7346d3..53d0670 100644 --- a/src/pypi_attestations/_impl.py +++ b/src/pypi_attestations/_impl.py @@ -255,7 +255,7 @@ def from_bundle(cls, sigstore_bundle: Bundle) -> Attestation: verification_material=VerificationMaterial( certificate=base64.b64encode(certificate), transparency_entries=[ - TransparencyLogEntry(sigstore_bundle.log_entry._to_dict_rekor()) # noqa: SLF001 + sigstore_bundle.log_entry._to_rekor() # noqa: SLF001 ], ), envelope=Envelope(