Skip to content

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

Closed
@woodruffw

Description

@woodruffw

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:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions