Skip to content

Commit

Permalink
Sigstore: Use new public SigningResult.to_bundle()
Browse files Browse the repository at this point in the history
  • Loading branch information
jku committed Oct 2, 2023
1 parent 1434f83 commit 4a938c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions securesystemslib/signer/_sigstore_signer.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,7 @@ def sign(self, payload: bytes) -> Signature:
with context.signer(self._token) as sigstore_signer:
result = sigstore_signer.sign(io.BytesIO(payload))

# TODO: Ask upstream if they can make this public
bundle = result._to_bundle() # pylint: disable=protected-access
bundle = result.to_bundle()

return Signature(
self.public_key.keyid,
Expand Down

0 comments on commit 4a938c8

Please sign in to comment.