Skip to content

Commit

Permalink
Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
facutuesca committed May 7, 2024
1 parent 7fd87f5 commit 8d646bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pypi_attestation_models/_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def sigstore_to_pypi(sigstore_bundle: Bundle) -> Attestation:
version=1,
verification_material=VerificationMaterial(
certificate=b64encode(certificate).decode("ascii"),
transparency_entries=[sigstore_bundle.log_entry._to_dict_rekor()], # noqa: SLF001
transparency_entries=[TransparencyLogEntry(sigstore_bundle.log_entry._to_dict_rekor())], # noqa: SLF001
),
message_signature=b64encode(signature).decode("ascii"),
)
Expand Down

0 comments on commit 8d646bf

Please sign in to comment.