Skip to content

Commit f0b79f9

Browse files
committed
sign: Tweak rekor annotation
This is a backwards compatible change (RekorClient is a RekorLogSumbitter), but also allows using a RekorV2Client. Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
1 parent afdebab commit f0b79f9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sigstore/sign.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@
5959
ExpiredCertificate,
6060
FulcioClient,
6161
)
62-
from sigstore._internal.rekor import EntryRequest
63-
from sigstore._internal.rekor.client import RekorClient
62+
from sigstore._internal.rekor import EntryRequest, RekorLogSubmitter
6463
from sigstore._internal.sct import verify_sct
6564
from sigstore._internal.timestamp import TimestampAuthorityClient, TimestampError
6665
from sigstore._internal.trust import ClientTrustConfig, KeyringPurpose, TrustedRoot
@@ -272,7 +271,7 @@ def __init__(
272271
self,
273272
*,
274273
fulcio: FulcioClient,
275-
rekor: RekorClient,
274+
rekor: RekorLogSubmitter,
276275
trusted_root: TrustedRoot,
277276
tsa_clients: list[TimestampAuthorityClient] | None = None,
278277
):

0 commit comments

Comments
 (0)