Bug 286267 - security/py-cryptography: Build fails with no-LEGACY OpenSSL
Summary: security/py-cryptography: Build fails with no-LEGACY OpenSSL
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-21 13:33 UTC by Christian Ullrich
Modified: 2025-11-11 12:11 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
Patch (1.99 KB, patch)
2025-04-21 13:33 UTC, Christian Ullrich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ullrich 2025-04-21 13:33:27 UTC
If OpenSSL is configured without LEGACY, the build of security/py-cryptography fails starting with version 43.0.0 (the latest update was from 42.0.8 to 44.0.1). This has been fixed upstream, but is not considered worthy of a release, so the eventual release date is unknown.

This integrates the fix.
Comment 1 Christian Ullrich 2025-04-21 13:33:51 UTC
Created attachment 259770 [details]
Patch
Comment 2 Christian Ullrich 2025-04-21 13:52:28 UTC
Upstream bug report: https://github.com/pyca/cryptography/issues/12612
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2025-11-11 12:11:57 UTC
(In reply to Christian Ullrich from comment #2)

The upstream issue is fixed in cryptography 45.0.0.

security/py-cryptography has been updated to 45.0.7.

It should be fixed now.