CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
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-cryptography
installs 50.0.1_1,1 from latest; from quarterly (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 versionamd64aarch64i386
FreeBSD 1650.0.1_1,150.0.1,1–
FreeBSD 1550.0.1_1,150.0.1_1,1–
FreeBSD 1450.0.1_1,150.0.1,150.0.1_1,1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 1550.0.1,150.0.1,1–
FreeBSD 1450.0.1,150.0.1,150.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

PRSummaryStatusChanged
273770maintainer-feedback? security/py-cryptography: Run-time error with OpenSSL 3.0Open2026-10-17
299419maintainer-feedback? security/py-cryptography: Implement LEGACY optionNew2026-10-16
287633maintainer-feedback? security/py-cryptography: Ignoring LDFLAGSNew2026-09-18

Commits (123)

Sunpoet Po-Chuan Hsieh (sunpoet) · 1.6
Remove BROKEN_FreeBSD_9

Approved by:	portmgr (blanket)
e0b379fa6f
Dmitry Marakasov (amdmi3) · 1.6
- Mark BROKEN on 9.x

Approved by:	portmgr blanket
e3afb7d544
Antoine Brodin (antoine) · 1.6
Unbreak

With hat:	portmgr
MFH:		2016Q4
824a8c2ae6
Mark Felder (feld) · 1.6
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:		2016Q4
f1394379a3
Mark Felder (feld) · 1.6
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-9243
f999f2ff7e
Mathieu Arnold (mat) · 1.4
http://github.com redirects to https://github.com, spare everyone a redirect.

Sponsored by:	Absolight
bbf7ef5615
Steve Wills (swills) · 1.4
security/py-cryptography: update to 1.4

PR:		210484
Approved by:	koobs (maintainer)
1b0fe1b41f
Bernard Spil (brnrd) · 1.3.1
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:	D5959
4ebfb4cc75
Mathieu Arnold (mat) · 1.0.2_4
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
597afc47ba
Kubilay Kocak (koobs) · 1.0.2_4
security/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:		2016Q1
26301321f9
Ruslan Makhmatkhanov (rm) · 1.0.2_3
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
Kubilay Kocak (koobs) · 1.0.2_2
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:	brnrd
a8fe7b23c5
Kubilay Kocak (koobs) · 1.0.2_1
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:	antoine
d9484b7997
Kubilay Kocak (koobs) · 1.0.2
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
Antoine Brodin (antoine) · 0.8.2
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, mva
1b85bc9332
Kubilay Kocak (koobs) · 0.8.2
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
Kubilay Kocak (koobs) · 0.7.2
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>
43650faa38
Kubilay Kocak (koobs) · 0.5.4
security/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.rst
71555846ee
Kubilay Kocak (koobs) · 0.4
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/678
ae42ee59b2
Kubilay Kocak (koobs) · 0.2.2_1
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: antoine
939cefd72d
Kubilay Kocak (koobs) · 0.2.2
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
Kubilay Kocak (koobs) · 0.2.1_1
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/678
db88c60866
Kubilay Kocak (koobs) · 0.2.1
[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