File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ All versions prior to 0.9.0 are untracked.
67
67
configure the used Sigstore instance [ #1358 ] /(https://github.com/sigstore/sigstore-python/pull/1358 )
68
68
* By default (when ` --trust-config ` is not used) the whole trust configuration now
69
69
comes from the TUF repository [ #1363 ] ( https://github.com/sigstore/sigstore-python/pull/1363 )
70
+ * If the user provided TSA urls, rfc3161 timestamps are now fetched ** before** submitting
71
+ entries to rekor. [ #1463 ] ( https://github.com/sigstore/sigstore-python/pull/1463 )
70
72
71
73
### Removed
72
74
* API:
Original file line number Diff line number Diff line change @@ -178,11 +178,6 @@ def _finalize_sign(
178
178
"""
179
179
Perform the common "finalizing" steps in a Sigstore signing flow.
180
180
"""
181
- # Submit the proposed entry to the transparency log
182
- entry = self ._signing_ctx ._rekor .create_entry (proposed_entry )
183
-
184
- _logger .debug (f"Transparency log entry created with index: { entry .log_index } " )
185
-
186
181
# If the user provided TSA urls, timestamps the response
187
182
signed_timestamp = []
188
183
for tsa_client in self ._signing_ctx ._tsa_clients :
@@ -193,6 +188,10 @@ def _finalize_sign(
193
188
f"Unable to use { tsa_client .url } to timestamp the bundle. Failed with { e } "
194
189
)
195
190
191
+ # Submit the proposed entry to the transparency log
192
+ entry = self ._signing_ctx ._rekor .create_entry (proposed_entry )
193
+ _logger .debug (f"Transparency log entry created with index: { entry .log_index } " )
194
+
196
195
return Bundle ._from_parts (cert , content , entry , signed_timestamp )
197
196
198
197
def sign_dsse (
You can’t perform that action at this time.
0 commit comments