notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details on branch 2023Q3
py-cryptography Cryptographic recipes and primitives for Python developers
44.0.3_4,1 security on this many watch lists=38 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 44.0.3_3,1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-02-23 13:47:20
Last Update: 2025-10-03 08:16:50
Commit Hash: 97b5de4
People watching this port, also watch:: pkg, libxml2, py311-six, py39-pycparser, py311-cffi
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.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

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 = 1747546580 SHA256 (cryptography-44.0.3.tar.gz) = fe19d8bc5536a91a24a8133328880a41831b6c5df54599a8417b62fe015d3053 SIZE (cryptography-44.0.3.tar.gz) = 711096

Expand this list (70 items)

Collapse this list.

SHA256 (rust/crates/asn1-0.20.0.crate) = 2d8b84b4ea1de2bf1dcd2a759737ddb328fb6695b2a95eb7e44fed67e3406f32 SIZE (rust/crates/asn1-0.20.0.crate) = 39382 SHA256 (rust/crates/asn1_derive-0.20.0.crate) = a200809d0138620b3dba989f1d08d0620e76248bc1e62a2ec1b2df5eb1ee08ad SIZE (rust/crates/asn1_derive-0.20.0.crate) = 6998 SHA256 (rust/crates/autocfg-1.4.0.crate) = ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26 SIZE (rust/crates/autocfg-1.4.0.crate) = 17712 SHA256 (rust/crates/base64-0.22.1.crate) = 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 SIZE (rust/crates/base64-0.22.1.crate) = 81597 SHA256 (rust/crates/bitflags-2.9.1.crate) = 1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967 SIZE (rust/crates/bitflags-2.9.1.crate) = 47913 SHA256 (rust/crates/cc-1.2.23.crate) = 5f4ac86a9e5bc1e2b3449ab9d7d3a6a405e3d1bb28d7b9be8614f55846ae3766 SIZE (rust/crates/cc-1.2.23.crate) = 106527 SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 SHA256 (rust/crates/foreign-types-0.3.2.crate) = f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1 SIZE (rust/crates/foreign-types-0.3.2.crate) = 7504 SHA256 (rust/crates/foreign-types-shared-0.1.1.crate) = 00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b SIZE (rust/crates/foreign-types-shared-0.1.1.crate) = 5672 SHA256 (rust/crates/heck-0.5.0.crate) = 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea SIZE (rust/crates/heck-0.5.0.crate) = 11517 SHA256 (rust/crates/indoc-2.0.6.crate) = f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd SIZE (rust/crates/indoc-2.0.6.crate) = 17164 SHA256 (rust/crates/itoa-1.0.15.crate) = 4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c SIZE (rust/crates/itoa-1.0.15.crate) = 11231 SHA256 (rust/crates/libc-0.2.172.crate) = d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa SIZE (rust/crates/libc-0.2.172.crate) = 791646 SHA256 (rust/crates/memoffset-0.9.1.crate) = 488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a SIZE (rust/crates/memoffset-0.9.1.crate) = 9032 SHA256 (rust/crates/once_cell-1.21.3.crate) = 42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d SIZE (rust/crates/once_cell-1.21.3.crate) = 34534 SHA256 (rust/crates/openssl-0.10.72.crate) = fedfea7d58a1f73118430a55da6a286e7b044961736ce96a16a17068ea25e5da SIZE (rust/crates/openssl-0.10.72.crate) = 283852 SHA256 (rust/crates/openssl-macros-0.1.1.crate) = a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c SIZE (rust/crates/openssl-macros-0.1.1.crate) = 5601 SHA256 (rust/crates/openssl-sys-0.9.108.crate) = e145e1651e858e820e4860f7b9c5e169bc1d8ce1c86043be79fa7b7634821847 SIZE (rust/crates/openssl-sys-0.9.108.crate) = 78190 SHA256 (rust/crates/pem-3.0.5.crate) = 38af38e8470ac9dee3ce1bae1af9c1671fffc44ddfd8bd1d0a3445bf349a8ef3 SIZE (rust/crates/pem-3.0.5.crate) = 18140 SHA256 (rust/crates/pkg-config-0.3.32.crate) = 7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c SIZE (rust/crates/pkg-config-0.3.32.crate) = 21370 SHA256 (rust/crates/portable-atomic-1.11.0.crate) = 350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e SIZE (rust/crates/portable-atomic-1.11.0.crate) = 181258 SHA256 (rust/crates/proc-macro2-1.0.95.crate) = 02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778 SIZE (rust/crates/proc-macro2-1.0.95.crate) = 51820 SHA256 (rust/crates/pyo3-0.23.5.crate) = 7778bffd85cf38175ac1f545509665d0b9b92a198ca7941f131f85f7a4f9a872 SIZE (rust/crates/pyo3-0.23.5.crate) = 1088533 SHA256 (rust/crates/pyo3-build-config-0.23.5.crate) = 94f6cbe86ef3bf18998d9df6e0f3fc1050a8c5efa409bf712e661a4366e010fb SIZE (rust/crates/pyo3-build-config-0.23.5.crate) = 33885 SHA256 (rust/crates/pyo3-ffi-0.23.5.crate) = e9f1b4c431c0bb1c8fb0a338709859eed0d030ff6daa34368d3b152a63dfdd8d SIZE (rust/crates/pyo3-ffi-0.23.5.crate) = 74867 SHA256 (rust/crates/pyo3-macros-0.23.5.crate) = fbc2201328f63c4710f68abdf653c89d8dbc2858b88c5d88b0ff38a75288a9da SIZE (rust/crates/pyo3-macros-0.23.5.crate) = 8856 SHA256 (rust/crates/pyo3-macros-backend-0.23.5.crate) = fca6726ad0f3da9c9de093d6f116a93c1a38e417ed73bf138472cf4064f72028 SIZE (rust/crates/pyo3-macros-backend-0.23.5.crate) = 70938 SHA256 (rust/crates/quote-1.0.40.crate) = 1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d SIZE (rust/crates/quote-1.0.40.crate) = 31063 SHA256 (rust/crates/self_cell-1.2.0.crate) = 0f7d95a54511e0c7be3f51e8867aa8cf35148d7b9445d44de2f943e2b206e749 SIZE (rust/crates/self_cell-1.2.0.crate) = 16883 SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 SIZE (rust/crates/shlex-1.3.0.crate) = 18713 SHA256 (rust/crates/syn-2.0.101.crate) = 8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf SIZE (rust/crates/syn-2.0.101.crate) = 299250 SHA256 (rust/crates/target-lexicon-0.12.16.crate) = 61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1 SIZE (rust/crates/target-lexicon-0.12.16.crate) = 26488 SHA256 (rust/crates/unicode-ident-1.0.18.crate) = 5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512 SIZE (rust/crates/unicode-ident-1.0.18.crate) = 47743 SHA256 (rust/crates/unindent-0.2.4.crate) = 7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3 SIZE (rust/crates/unindent-0.2.4.crate) = 7422 SHA256 (rust/crates/vcpkg-0.2.15.crate) = accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426 SIZE (rust/crates/vcpkg-0.2.15.crate) = 228735

Collapse this list.


Packages (timestamps in pop-ups are UTC):
py27-cryptography
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest------2.9.2-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
 

py37-cryptography
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--2.9.2---2.9.2-
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
 

py39-cryptography
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--3.4.8_1,1---41.0.7_1,141.0.7_1,1
FreeBSD:14:latest--3.4.8,1--3.4.8_1,1-3.4.8_1,1
FreeBSD:14:quarterly------41.0.7_1,141.0.7_1,1
FreeBSD:15:latest--n/a-n/a-41.0.7_2,1-
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
 

py311-cryptography
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest44.0.3_3,144.0.3_3,1-44.0.3_2,144.0.3_3,1---
FreeBSD:13:quarterly44.0.3_1,144.0.3_1,1-44.0.3_1,144.0.3_1,1---
FreeBSD:14:latest44.0.3_2,144.0.3_3,1-44.0.3_2,144.0.3_3,1---
FreeBSD:14:quarterly44.0.3_1,144.0.3_1,1-44.0.3_1,144.0.3_1,1---
FreeBSD:15:latest44.0.3_2,144.0.3_3,1n/a44.0.3_2,1n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest-44.0.3_3,1n/a-n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-cffi>=1.12 : devel/py-cffi@py311
  2. py311-maturin>=1<2 : devel/py-maturin@py311
  3. py311-setuptools>=0 : devel/py-setuptools@py311
  4. py311-wheel>=0 : devel/py-wheel@py311
  5. rust>=1.90.0 : lang/rust
  6. pkgconf>=1.3.0_1 : devel/pkgconf
  7. python3.11 : lang/python311
  8. py311-build>=0 : devel/py-build@py311
  9. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-bcrypt>=3.1.5 : security/py-bcrypt@py311
  2. py311-certifi>=2024 : security/py-certifi@py311
  3. py311-cryptography-vectors>=44.0.3<44.0.3_99 : security/py-cryptography-vectors@py311
  4. py311-pretend>=0.7 : devel/py-pretend@py311
  5. py311-pytest-benchmark>=4.0 : devel/py-pytest-benchmark@py311
  6. py311-pytest-cov>=2.10.1 : devel/py-pytest-cov@py311
  7. py311-pytest-randomly>=0 : devel/py-pytest-randomly@py311
  8. py311-pytest-xdist>=3.5.0,1 : devel/py-pytest-xdist@py311
  9. py311-sqlite3>=0 : databases/py-sqlite3@py311
  10. py311-pytest>=7,1 : devel/py-pytest@py311
  11. python3.11 : lang/python311
Runtime dependencies:
  1. py311-cffi>=1.12 : devel/py-cffi@py311
  2. python3.11 : lang/python311
This port is required by:
for Build
  1. security/py-certbot
  2. security/py-yubikey-manager

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. misc/py-glance*
  2. security/py-keystone*
  3. Collapse this list of deleted ports.
for Run
  1. cad/uranium
  2. comms/py-esptool
  3. comms/py-pynitrokey
  4. comms/py-spsdk
  5. databases/py-mycli
  6. databases/py-ormar
  7. databases/py-snowflake-connector-python
Expand this list (148 items / 141 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/py-valkey
  3. devel/oci-cli
  4. devel/osc
  5. devel/py-adb
  6. devel/py-aiortc
  7. devel/py-azure-identity
  8. devel/py-azure-keyvault
  9. devel/py-azure-multiapi-storage
  10. devel/py-azure-storage-common
  11. devel/py-castellan
  12. devel/py-cursive
  13. devel/py-moto
  14. devel/py-msal
  15. devel/py-oci
  16. devel/py-openstacksdk
  17. devel/py-perceval
  18. devel/py-twisted
  19. dns/letsdns
  20. dns/py-dns-crawler
  21. dns/py-dns-lexicon
  22. dns/py-dnspython
  23. filesystems/py-dfvfs
  24. filesystems/py-tahoe-lafs
  25. finance/electrum
  26. finance/freqtrade
  27. finance/odoo
  28. finance/odoo16
  29. finance/odoo17
  30. finance/py-ccxt
  31. mail/py-checkdmarc
  32. mail/py-flanker
  33. net/onionprobe
  34. net/py-cepa
  35. net/py-magic-wormhole
  36. net/py-python-openstackclient
  37. net/py-ripe.atlas.sagan
  38. net/py-smbprotocol
  39. net/py-transip
  40. net/scapy
  41. net-im/gajim
  42. net-im/py-apprise
  43. net-im/py-matrix-synapse
  44. net-mgmt/py-adal
  45. net-p2p/reticulum
  46. net-p2p/warpinator
  47. news/sabnzbd
  48. security/caldera
  49. security/cowrie
  50. security/py-SecretStorage
  51. security/py-acme
  52. security/py-asyncssh
  53. security/py-authlib
  54. security/py-azure-keyvault-keys
  55. security/py-badkeys
  56. security/py-cert-human
  57. security/py-certbot
  58. security/py-certipy
  59. security/py-certomancer
  60. security/py-cryptojwt
  61. security/py-fido2
  62. security/py-google-auth
  63. security/py-josepy
  64. security/py-joserfc
  65. security/py-jwcrypto
  66. security/py-msoffcrypto-tool
  67. security/py-nethsm
  68. security/py-nitrokey
  69. security/py-noiseprotocol
  70. security/py-oauthlib
  71. security/py-omemo-dr
  72. security/py-openssh-wrapper
  73. security/py-openssl
  74. security/py-paramiko
  75. security/py-pgpy
  76. security/py-plaso
  77. security/py-pnu-certwatch
  78. security/py-pyhanko
  79. security/py-pyhanko-certvalidator
  80. security/py-pysaml2
  81. security/py-pyspnego
  82. security/py-python-axolotl
  83. security/py-python-jose
  84. security/py-requests-credssp
  85. security/py-securesystemslib
  86. security/py-service-identity
  87. security/py-signxml
  88. security/py-social-auth-core
  89. security/py-sshpubkeys
  90. security/py-stem
  91. security/py-trustme
  92. security/py-txtorcon
  93. security/py-webauthn
  94. security/py-yubikey-manager
  95. sysutils/py-ansible-core
  96. sysutils/py-ansible-core219
  97. sysutils/py-azure-cli
  98. sysutils/py-azure-cli-core
  99. sysutils/py-salt
  100. textproc/py-pdfminer.six
  101. www/buku
  102. www/mitmproxy
  103. www/offpunk
  104. www/py-aioquic
  105. www/py-autobahn
  106. www/py-azure-storage
  107. www/py-calibreweb
  108. www/py-pyjwt
  109. www/py-pywebview-gtk
  110. www/py-pywebview-qt
  111. www/py-requests_ntlm
  112. www/py-scrapy
  113. x11/xpra
  114. Collapse this list.

Deleted ports which required this port:

Expand this list of 29 deleted ports
  1. devel/py-apns2*
  2. devel/py-azure-keyvault-keys*
  3. devel/py-castellan1*
  4. devel/py-openstacksdk043*
  5. emulators/py-nova*
  6. misc/py-cinder*
  7. misc/py-glance*
  8. news/sabnzbdplus*
  9. security/caldera4*
  10. security/py-dfvfs*
  11. security/py-keystone*
  12. security/py-letsencrypt*
  13. security/py-paramiko1*
  14. security/py-pysaml24*
  15. security/py-pysaml26*
  16. security/py-service_identity*
  17. security/py-sslyze*
  18. sysutils/ansible2*
  19. sysutils/ansible24*
  20. sysutils/ansible25*
  21. sysutils/ansible26*
  22. sysutils/ansible27*
  23. sysutils/ansible28*
  24. sysutils/datadog-integrations*
  25. sysutils/py-ansible-base*
  26. sysutils/py-ansible-core211*
  27. sysutils/py-azure-cli-botservice*
  28. www/py-buku*
  29. www/py-pydrive2*
  30. Collapse this list of deleted ports.
* - 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-44.0.3_4,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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/c/cryptography/
  2. https://pypi.org/packages/source/c/cryptography/
Collapse this list.

There are no commits on branch 2023Q3 for this port