We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af2ce0e commit 512d4c5Copy full SHA for 512d4c5
sigstore/models.py
@@ -488,9 +488,9 @@ def _verify(self) -> None:
488
# We expect some old bundles to violate the rules around root
489
# and intermediate CAs, so we issue warnings and not hard errors
490
# in those cases.
491
- leaf_cert, *chain_certs = [
+ leaf_cert, *chain_certs = (
492
load_der_x509_certificate(cert.raw_bytes) for cert in certs
493
- ]
+ )
494
if not cert_is_leaf(leaf_cert):
495
raise InvalidBundle(
496
"bundle contains an invalid leaf or non-leaf certificate in the leaf position"
0 commit comments