| Port details |
- py-cryptography Cryptographic recipes and primitives for Python developers
- 48.0.0_1,1 security
=33 48.0.0_1,1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2014-02-23 13:47:20
- Last Update: 2026-06-04 08:52:51
- Commit Hash: e29b5ee
- People watching this port, also watch:: py311-six, py311-pycparser, py311-cffi, libgpg-error, indexinfo
- Also Listed In: python
- License: APACHE20 BSD3CLAUSE
- WWW:
- https://cryptography.io/en/latest/
- https://github.com/pyca/cryptography
- Description:
- cryptography is a package which provides cryptographic recipes and primitives to
Python developers. Our goal is for it to be your "cryptographic standard
library". It supports Python 3.6+ and PyPy3 7.2+.
cryptography includes both high level recipes and low level interfaces to common
cryptographic algorithms such as symmetric ciphers, message digests, and key
derivation functions.
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/security/py-cryptography/ && make install clean
- To add the package, run one of these commands:
- pkg install security/py-cryptography
- pkg install py311-cryptography
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-cryptography listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-cryptography
- Package flavors (<flavor>: <package>)
- py311: py311-cryptography
- distinfo:
- TIMESTAMP = 1777994567
SHA256 (cryptography-48.0.0.tar.gz) = 5c3932f4436d1cccb036cb0eaef46e6e2db91035166f1ad6505c3c9d5a635920
SIZE (cryptography-48.0.0.tar.gz) = 832984
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-cffi>=2.0.0 : devel/py-cffi@py311
- py311-maturin>=1.9.4<2 : devel/py-maturin@py311
- py311-setuptools>=0 : devel/py-setuptools@py311
- rust>=1.96.0 : lang/rust
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-bcrypt>=3.1.5 : security/py-bcrypt@py311
- py311-certifi>=2024 : security/py-certifi@py311
- py311-cryptography-vectors>=48.0.0<48.0.0_99 : security/py-cryptography-vectors@py311
- py311-pretend>=0.7 : devel/py-pretend@py311
- py311-pytest-benchmark>=4.0 : devel/py-pytest-benchmark@py311
- py311-pytest-cov>=2.10.1 : devel/py-pytest-cov@py311
- py311-pytest-randomly>=0 : devel/py-pytest-randomly@py311
- py311-pytest-xdist>=3.5.0,1 : devel/py-pytest-xdist@py311
- py311-sqlite3>=0 : databases/py-sqlite3@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-cffi>=2.0.0 : devel/py-cffi@py311
- python3.11 : lang/python311
- This port is required by:
- for Build
-
- comms/py-pynitrokey
- net/py-lib389
- security/py-certbot
- security/py-yubikey-manager
-
Deleted ports which required this port:
- for Run
-
- cad/uranium
- comms/py-esptool
- comms/py-pynitrokey
- comms/py-spsdk
- databases/py-mycli
- databases/py-oracledb
- databases/py-ormar
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for py311-cryptography-48.0.0_1,1:
SSH=off: SSH protocol support
===> Use 'make config' to modify these settings
- Options name:
- security_py-cryptography
- USES:
- cargo cpe python ssl
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
1.0.2_4 02 Mar 2016 17:14:23
  |
koobs  |
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 |
1.0.2_3 18 Nov 2015 21:41:48
  |
rm  |
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) |
1.0.2_2 02 Nov 2015 16:39:53
  |
koobs  |
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 |
1.0.2_1 20 Oct 2015 15:14:09
  |
koobs  |
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 |
1.0.2 18 Oct 2015 03:13:54
  |
koobs  |
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> |
0.8.2 26 May 2015 16:47:03
  |
antoine  |
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 |
0.8.2 24 Apr 2015 13:36:30
  |
koobs  |
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> |
0.7.2 18 Jan 2015 09:38:16
  |
koobs  |
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> |
0.5.4 25 Aug 2014 08:40:33
  |
koobs  |
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 |
0.4 01 Jul 2014 04:55:57
  |
koobs  |
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 |
0.2.2_1 08 Mar 2014 09:12:34
  |
koobs  |
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 |
0.2.2 08 Mar 2014 02:33:00
  |
koobs  |
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. |
0.2.1_1 25 Feb 2014 11:29:36
  |
koobs  |
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 |
0.2.1 23 Feb 2014 13:47:05
  |
koobs  |
[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/ |