Skip to content

Commit

Permalink
Fixing documentation message about the sign API. (#702)
Browse files Browse the repository at this point in the history
  • Loading branch information
perone authored Jul 10, 2023
1 parent 5fab874 commit 83e7ae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sigstore/sign.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
# The artifact to sign
artifact = Path("foo.txt")
with artifact.open("rb") as a:
with artifact.open("rb") as file:
signing_ctx = SigningContext.production()
with signing_ctx.signer(identity, cache=True) as signer:
result = signer.sign(input_=a, rekor=signing_ctx._rekor, fulcio=signing_ctx._fulcio)
result = signer.sign(file)
print(result)
```
"""
Expand Down

0 comments on commit 83e7ae1

Please sign in to comment.