Open
Description
Description
Currently, we submit an entry to rekor before requesting a timestamp.
sigstore-python/sigstore/sign.py
Lines 181 to 190 in 8cb6fc7
But according to this document's diagram, we should actually be fetching the timestamp before submitting to rekor.
This is critical in error cases, where either fetching the timestamp or submitting to rekor fails:
- With RekorV2, there will no longer be Rekor-provided SignedEntry Timestamp, nor is aqn rfc3161 timestamp accepted by the RekorV2 API. Instead, clients must fetch an rfc3171 timestamp externally to store in their bundles for verification, according to spec.
- This means that submitting to RekorV2 without also having a timestamp will not be useful for verifying a bundle. We might consider this a pollution of the Log.
- On the other hand, timestamps can be independently verified without bundles.