You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a result, unconstrained resolutions of sigstore's deps end with an import error when sigstore is used.
Resolutions:
Short term: I've cut v3.5.3 as a patch release, which constrains cryptography < 44 to keep the existing code working
Medium term: We need to remove our use of the SignedCertificateTimestamp ABC or, better yet, remove support for detached SCTs entirely: Removed support for detached SCTs #850
All resolution tasks have been completed here, so I'm closing this. I'll leave it pinned for a bit, though, so that users who experience breakage can find it.
PyCA cryptography 44 was released a few hours ago, which broke un-pinned installations of
sigstore
(e.g.pip install sigstore
).Root cause:
We have an open-ended pin on
cryptography >= 42
:sigstore-python/pyproject.toml
Line 29 in f08e11f
We did this originally because
cryptography
is very stable, and we use no internal APIs.However,
cryptography >=44
intentionally removes several ABCs as public APIs, including theSignedCertificateTimestamp
ABCWe depend on
SignedCertificateTimestamp.register(...)
to register our own SCT implementation for detached Fulcio SCT support:sigstore-python/sigstore/_internal/fulcio/client.py
Line 170 in f08e11f
As a result, unconstrained resolutions of
sigstore
's deps end with an import error whensigstore
is used.Resolutions:
v3.5.3
as a patch release, which constrainscryptography < 44
to keep the existing code workingSignedCertificateTimestamp
ABC or, better yet, remove support for detached SCTs entirely: Removed support for detached SCTs #850In terms of limiting future regressions:
The text was updated successfully, but these errors were encountered: