Remove BROKEN_FreeBSD_9 Approved by: portmgr (blanket)e0b379fa6f
Port details
security/py-cryptography 50.0.1_1,1
Cryptographic recipes and primitives for Python developers
Port info
- Maintainer
- sunpoet@FreeBSD.org
- Packages
- latest: 50.0.1_1,1
- Upstream
- Higher version available: 50.0.2
- Last update
- to 50.0.1_1,1 · 9c878207a1
- Quarterly
- 2026Q4: 50.0.1,1
- Formerly
- security/py3-cryptography until 2017-11-30
- WWW
- https://cryptography.io/en/latest/
- Links
- cgit · VuXML
Install
- Package
# pkg install py312-cryptographyinstalls 50.0.1_1,1 fromlatest; fromquarterly(2026Q4) 50.0.1,1- Port
# cd /usr/ports/security/py-cryptography && make install clean# make -C /usr/ports/security/py-cryptography config # change options first
- Size
- 1.6 MiB download · 7.9 MiB installed
- Depends on
- devel/py-cffi 2.1.1, lang/python312 3.12.15
- License
- APACHE20 or BSD3CLAUSE
- Options
- 0 of 1 on in the package
Show the 1 options that are off
SSH
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 50.0.1_1,1 | 50.0.1,1 | – |
| FreeBSD 15 | 50.0.1_1,1 | 50.0.1_1,1 | – |
| FreeBSD 14 | 50.0.1_1,1 | 50.0.1,1 | 50.0.1_1,1 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 50.0.1,1 | 50.0.1,1 | – |
| FreeBSD 14 | 50.0.1,1 | 50.0.1,1 | 50.0.1,1 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 50.0.1_1,1.Fixed (0)
No VuXML entries for this package.
Problem reports (3) · open in Bugzilla, most recently changed first
| PR | Summary | Status | Changed |
|---|---|---|---|
| 273770 | maintainer-feedback? security/py-cryptography: Run-time error with OpenSSL 3.0 | Open | 2026-10-17 |
| 299419 | maintainer-feedback? security/py-cryptography: Implement LEGACY option | New | 2026-10-16 |
| 287633 | maintainer-feedback? security/py-cryptography: Ignoring LDFLAGS | New | 2026-09-18 |
Commits (123)
- Mark BROKEN on 9.x Approved by: portmgr blankete3afb7d544
Unbreak With hat: portmgr MFH: 2016Q4824a8c2ae6
security/py-pycryptography: Fix build on FreeBSD 9.3 Modern py-cryptography requires a more modern OpenSSL. This switch to requiring OpenSSL from ports is a disruptive change, but it will protect these users from the recently patched vulnerabilites. Support for OpenSSL 0.9.8 was removed in pycryptography as of version 1.4. The last release to support OpenSSL 0.9.8 was 1.3.4 which is still vulnerable to the HDKF key generation bug. It appears that version 1.4 did build successfully on FreeBSD 9.3, but upstream had abandoned support for OpenSSL 0.9.8 at that point so it is unclear if it was fully functional. PR: 214915 MFH: 2016Q4f1394379a3
security/py-cryptography: Update to 1.6 Changelog: https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst PR: 214915 Approved by: ports-secteam (with hat) MFH: 2016Q4 Security: CVE-2016-9243f999f2ff7e
http://github.com redirects to https://github.com, spare everyone a redirect. Sponsored by: Absolightbbf7ef5615
security/py-cryptography: update to 1.4 PR: 210484 Approved by: koobs (maintainer)1b0fe1b41f
security/py-cryptography: Update to 1.3.1 - Update to latest version 1.3.1 - Remove patch now included upstream - Add patch to allow build without openssl/e_os.h in base Reviewed by: koobs (mentor, python), feld (mentor) Approved by: feld (mentor) Differential Revision: D59594ebfb4cc75
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight597afc47basecurity/py-cryptography: Fix build with OpenSSL 1.0.2g Backport upstream commit [1] fixing build failures after the OpenSSL 1.0.2g update [1] https://github.com/pyca/cryptography/commit/df779dfec9ce87b79e48448aea3c597a4716b29e PR: 207624 Reported by: matthew, Pierre Guinoiseau <pierre guinoiseau eu> MFH: 2016Q126301321f9
devel/py-asn1: move to devel/py-pyasn1 to match PyPI name - move to devel/py-pyasn1 to match PyPI name - update *_DEPENDS and bump PORTREVISION in dependent ports - reset PORTEPOCH PR: 204567 Submitted by: John W. O'Brien <john@saltant.com> Approved by: mhjacks@swbell.net (maintainer of devel/py-asn1)f637b43fec
security/py-cryptography: Add missing run-time dependencies Add py-idna and conditionally (For Python < 3.3) py-ipaddress to RUN_DEPENDS While I'm here: - Update minimum versions requirement for py-cffi - Update test target since the framework supports TEST_DEPENDS et al. Noticed by: brnrda8fe7b23c5
security/py-cryptography: Add enum43 to RUN_DEPENDS Refactor *_DEPENDS to match setup.py's less than obvious dependencies cffi is both a build/run dependency, the rest are only run dependencies. This was causing a build failure for net-im/papyon: ImportError: No module named enum Reported by: kwm, pkg-fallout Assisted by: antoined9484b7997
security/py-cryptography: Update to 1.0.2 - Update to 1.0.2 - Strip shared libraries - Add patch to support building with LibreSSL - Remove ALPN patch (upstreamed) Changes: https://github.com/pyca/cryptography/blob/1.0.2/CHANGELOG.rst PR: 203819 Submitted by: Ralf van der Enden <tremere cainites net>8b7f69106a
Switch PYTHON_REL from a 3 digits number to a 4 digits number to handle python 2.7.10 Differential Revision: https://reviews.freebsd.org/D2639 Reviewed by: sunpoet, mva1b85bc9332
security/py-cryptography: Update to 0.8.2 - Update to 0.8.2 - Update COMMENT (upstream) - Pet portlint (TEST_DEPENDS must appear earlier) - Remove patches that have been upstreamed - Backport ALPN patch merged upstream, not yet released [1] Changes: * https://github.com/pyca/cryptography/blob/0.8.2/CHANGELOG.rst [1] https://github.com/pyca/cryptography/pull/1849 PR: 197049 Submitted by: Bernard Spil <spil.oss gmail com>14dc812451
security/py-cryptography: Update to 0.7.2, Fix LibreSSL
- Update to 0.7.2
- Update BUILD_DEPENDS and TEST_DEPENDS
- Patch upstream sources to fix LibreSSL:
* Remove EGD (Perl Entropy Gathering Daemon) support. This hasn't
been needed on FreeBSD since FreeBSD 4.2
* Disable compression conditionally using OPENSSL_NO_COMP
* Check features, not version for x509_vfy
[1] https://github.com/pyca/cryptography/issues/928
PR: 196827
Submitted by: Bernard Spil <spil.oss gmail com>43650faa38security/py-cryptography: Update to 0.5.4, Modernize - Update 0.5.4 - Add LICENSE_FILE - Update TEST_DEPENDS - Modernize Python framework entries (USES, USE_PYTHON) Changes: https://github.com/pyca/cryptography/blob/0.5.4/CHANGELOG.rst71555846ee
security/py-cryptography: Update to 0.4 - Update to 0.4 - Remove setup.py patch (Upstreamed [1]) Changes: * https://github.com/pyca/cryptography/blob/0.4/CHANGELOG.rst [1] https://github.com/pyca/cryptography/pull/678ae42ee59b2
security/py-cryptography: BUILD_DEPENDS are also RUN_DEPENDS Add BUILD_DEPENDS (cffi and six) to RUN_DEPENDS as they are needed at run time Reported by: antoine939cefd72d
security/py-cryptography: Update to 0.2.2 - Update to 0.2.2 Changes: * Removed a constant definition that was causing compilation problems with specific versions of OpenSSL.98cda265a3
security/py-cryptography: Tests fix, Depend on OpenSSL - Backport python setup.py test integration PR [1] - Add OpenSSL as a dependency (Was py-openssl dependency) - Add TEST_DEPENDS and regression-test: target [1] https://github.com/pyca/cryptography/pull/678db88c60866
[NEW PORT] security/py-cryptography: Cryptographic recipes and primitives to Python developers cryptography is a package designed to expose cryptographic recipes and primitives to Python developers. Our goal is for it to be your "cryptographic standard library". It supports Python 2.6-2.7, Python 3.2+, and PyPy. cryptography includes both high level recipes, and low level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests and key derivation functions. WWW: http://github.com/pyca/cryptography/48e1e74a58