Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post-mortem: breakage with cryptography>=44 #1231

Closed
6 tasks done
woodruffw opened this issue Nov 27, 2024 · 1 comment
Closed
6 tasks done

Post-mortem: breakage with cryptography>=44 #1231

woodruffw opened this issue Nov 27, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@woodruffw
Copy link
Member

woodruffw commented Nov 27, 2024

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:

    "cryptography >= 42",

    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 the SignedCertificateTimestamp ABC

  • We depend on SignedCertificateTimestamp.register(...) to register our own SCT implementation for detached Fulcio SCT support:

    SignedCertificateTimestamp.register(DetachedFulcioSCT)

As a result, unconstrained resolutions of sigstore's deps end with an import error when sigstore is used.

Resolutions:

In terms of limiting future regressions:

@woodruffw
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant