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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q3
py-cryptography Cryptographic recipes and primitives for Python developers
50.0.1,1 security on this many watch lists=32 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 48.0.0_1,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: 2026-09-09 14:48:42
Commit Hash: 127e281
People watching this port, also watch:: py311-six, py311-pycparser, py312-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.
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 py312-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 py312-cryptography listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-cryptography
Package flavors (<flavor>: <package>)
  • py312: py312-cryptography
distinfo:
TIMESTAMP = 1788500280 SHA256 (cryptography-50.0.1.tar.gz) = 5dd9bda1c12b4162f6ff568eeb5e0ff956c28d14406e875cfe8a63a2d414ff20 SIZE (cryptography-50.0.1.tar.gz) = 880381

Expand this list (64 items)

Collapse this list.

SHA256 (rust/crates/asn1-0.24.1.crate) = c9795210620c0cb3f9a7ce4f882808c38e1ef7b347c90591dceae0886e031fb1 SIZE (rust/crates/asn1-0.24.1.crate) = 50502 SHA256 (rust/crates/asn1_derive-0.24.1.crate) = 909e307f1cc32bb8bccbd98f446e6d1bf03fa30f7b53a4337da7181ad30fa11a SIZE (rust/crates/asn1_derive-0.24.1.crate) = 9534 SHA256 (rust/crates/base64-0.23.0.crate) = b25655df2c3cdd83c5e5b293b88acd880332b2ddadd7c30ac43144fdc0033da9 SIZE (rust/crates/base64-0.23.0.crate) = 93578 SHA256 (rust/crates/bitflags-2.13.1.crate) = b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da SIZE (rust/crates/bitflags-2.13.1.crate) = 51395 SHA256 (rust/crates/cc-1.4.0.crate) = 5add81bb678e6cb321aff7fa0dc7689ad82b112dbc032cea19f91d6b8e3582b9 SIZE (rust/crates/cc-1.4.0.crate) = 97878 SHA256 (rust/crates/cfg-if-1.0.4.crate) = 9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801 SIZE (rust/crates/cfg-if-1.0.4.crate) = 9360 SHA256 (rust/crates/find-msvc-tools-0.1.9.crate) = 5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582 SIZE (rust/crates/find-msvc-tools-0.1.9.crate) = 31493 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/itoa-1.0.18.crate) = 8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682 SIZE (rust/crates/itoa-1.0.18.crate) = 15935 SHA256 (rust/crates/libc-0.2.189.crate) = 3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2 SIZE (rust/crates/libc-0.2.189.crate) = 851502 SHA256 (rust/crates/once_cell-1.21.4.crate) = 9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50 SIZE (rust/crates/once_cell-1.21.4.crate) = 35010 SHA256 (rust/crates/openssl-0.10.81.crate) = 77823a27f0babb03091cb9ed9ef80af3b39dbc82f97e8fa530374b7dafd87a45 SIZE (rust/crates/openssl-0.10.81.crate) = 311187 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.117.crate) = b47e7e6bb2c38cd930d25a23b40fa52e068c10e85f3e03a7f5ba5aaca5713695 SIZE (rust/crates/openssl-sys-0.9.117.crate) = 76045 SHA256 (rust/crates/pem-4.0.0.crate) = d354a98a3d1251555de99e8fdd8afda05573c31b82f59063a7b0a29b5527f120 SIZE (rust/crates/pem-4.0.0.crate) = 18770 SHA256 (rust/crates/pkg-config-0.3.33.crate) = 19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e SIZE (rust/crates/pkg-config-0.3.33.crate) = 21590 SHA256 (rust/crates/portable-atomic-1.14.0.crate) = 3d20d5497ef88037a52ff98267d066e7f11fcc5e99bbfbd58a42336193aacec3 SIZE (rust/crates/portable-atomic-1.14.0.crate) = 200703 SHA256 (rust/crates/proc-macro2-1.0.107.crate) = 985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9 SIZE (rust/crates/proc-macro2-1.0.107.crate) = 59588 SHA256 (rust/crates/pyo3-0.29.0.crate) = cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c SIZE (rust/crates/pyo3-0.29.0.crate) = 1241253 SHA256 (rust/crates/pyo3-build-config-0.29.0.crate) = c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078 SIZE (rust/crates/pyo3-build-config-0.29.0.crate) = 39616 SHA256 (rust/crates/pyo3-ffi-0.29.0.crate) = ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b SIZE (rust/crates/pyo3-ffi-0.29.0.crate) = 88184 SHA256 (rust/crates/pyo3-macros-0.29.0.crate) = 9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771 SIZE (rust/crates/pyo3-macros-0.29.0.crate) = 8915 SHA256 (rust/crates/pyo3-macros-backend-0.29.0.crate) = 4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362 SIZE (rust/crates/pyo3-macros-backend-0.29.0.crate) = 91943 SHA256 (rust/crates/quote-1.0.47.crate) = 1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001 SIZE (rust/crates/quote-1.0.47.crate) = 31622 SHA256 (rust/crates/self_cell-1.3.0.crate) = 2ab42ca02749e120097e328d91d415325bdf43b1c72c4c8badf37375fe40a813 SIZE (rust/crates/self_cell-1.3.0.crate) = 23869 SHA256 (rust/crates/shlex-2.0.1.crate) = f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba SIZE (rust/crates/shlex-2.0.1.crate) = 19332 SHA256 (rust/crates/syn-2.0.119.crate) = 872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297 SIZE (rust/crates/syn-2.0.119.crate) = 307407 SHA256 (rust/crates/target-lexicon-0.13.5.crate) = adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca SIZE (rust/crates/target-lexicon-0.13.5.crate) = 26928 SHA256 (rust/crates/unicode-ident-1.0.24.crate) = e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75 SIZE (rust/crates/unicode-ident-1.0.24.crate) = 49298 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):
py39-cryptography
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
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/an/a41.0.7_2,1-
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py311-cryptography
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest46.0.7,146.0.7_1,1n/an/an/an/an/an/a
FreeBSD:13:quarterly46.0.7,146.0.7,1n/an/an/an/an/an/a
FreeBSD:14:latest---44.0.3_2,1----
FreeBSD:14:quarterly---44.0.3_1,1----
FreeBSD:15:latest--n/a44.0.3_2,1n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py312-cryptography
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--n/an/an/an/an/an/a
FreeBSD:13:quarterly--n/an/an/an/an/an/a
FreeBSD:14:latest50.0.1,150.0.1,1--50.0.1,1---
FreeBSD:14:quarterly48.0.1,148.0.1,1--48.0.1,1---
FreeBSD:15:latest50.0.1,150.0.1,1n/a-n/an/a--
FreeBSD:15:quarterly48.0.1,148.0.1,1n/a-n/an/a--
FreeBSD:16:latest50.0.1,150.0.1,1n/a-n/an/a--
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py312-cffi>=2.1 : devel/py-cffi@py312
  2. py312-maturin>=1.14.1<2 : devel/py-maturin@py312
  3. py312-setuptools>=0 : devel/py-setuptools@py312
  4. rust>=1.98.0 : lang/rust
  5. pkgconf>=1.3.0_1 : devel/pkgconf
  6. python3.12 : lang/python312
  7. py312-build>=0 : devel/py-build@py312
  8. py312-installer>=0 : devel/py-installer@py312
Test dependencies:
  1. py312-bcrypt>=3.1.5 : security/py-bcrypt@py312
  2. py312-certifi>=2024 : security/py-certifi@py312
  3. py312-cryptography-vectors>=50.0.1<50.0.1_99 : security/py-cryptography-vectors@py312
  4. py312-pretend>=0.7 : devel/py-pretend@py312
  5. py312-pytest-benchmark>=4.0 : devel/py-pytest-benchmark@py312
  6. py312-pytest-cov>=2.10.1 : devel/py-pytest-cov@py312
  7. py312-pytest-randomly>=0 : devel/py-pytest-randomly@py312
  8. py312-pytest-xdist>=3.5.0,1 : devel/py-pytest-xdist@py312
  9. py312-sqlite3>=0 : databases/py-sqlite3@py312
  10. py312-pytest>=7,1 : devel/py-pytest@py312
  11. python3.12 : lang/python312
Runtime dependencies:
  1. py312-cffi>=2.0.0 : devel/py-cffi@py312
  2. python3.12 : lang/python312
This port is required by:
for Build
  1. comms/py-pynitrokey
  2. misc/py-apache-beam
  3. net/py-lib389
  4. net/py-tinytuya
  5. security/py-certbot
  6. 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/mysql-shell
  6. databases/py-mycli
  7. databases/py-oracledb
Expand this list (184 items / 177 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/py-ormar
  3. databases/py-snowflake-connector-python
  4. databases/py-valkey
  5. devel/oci-cli
  6. devel/osc
  7. devel/py-adb
  8. devel/py-aiortc
  9. devel/py-azure-identity
  10. devel/py-azure-multiapi-storage
  11. devel/py-azure-storage-blob
  12. devel/py-azure-storage-common
  13. devel/py-azure-storage-file-share
  14. devel/py-azure-storage-queue
  15. devel/py-castellan
  16. devel/py-cursive
  17. devel/py-keystonemiddleware
  18. devel/py-localstack
  19. devel/py-localstack-core
  20. devel/py-moto
  21. devel/py-oci
  22. devel/py-openstacksdk
  23. devel/py-perceval
  24. devel/py-pytest-recorder
  25. devel/py-twisted
  26. dns/dnsviz
  27. dns/letsdns
  28. dns/py-dns-crawler
  29. dns/py-dns-lexicon
  30. dns/py-dnspython
  31. filesystems/py-dfvfs
  32. filesystems/py-tahoe-lafs
  33. finance/electrum
  34. finance/freqtrade
  35. finance/odoo
  36. finance/odoo16
  37. finance/odoo17
  38. finance/odoo18
  39. finance/py-ccxt
  40. graphics/py-olmocr
  41. graphics/py-pdfminer-six
  42. irc/py-limnoria
  43. mail/py-checkdmarc
  44. mail/py-flanker
  45. misc/hermes-agent
  46. misc/py-apache-beam
  47. misc/py-crewai-cli
  48. misc/py-crewai-core
  49. misc/py-litellm
  50. misc/py-modelscope-hub
  51. misc/py-sagemaker-core
  52. misc/py-sagemaker-mlops
  53. net/freeipa-client
  54. net/onionprobe
  55. net/py-cepa
  56. net/py-lib389
  57. net/py-magic-wormhole
  58. net/py-python-openstackclient
  59. net/py-ripe.atlas.sagan
  60. net/py-smbprotocol
  61. net/py-tinytuya
  62. net/py-transip
  63. net/scapy
  64. net-im/gajim
  65. net-im/py-apprise
  66. net-im/py-matrix-synapse
  67. net-mgmt/py-adal
  68. net-p2p/reticulum
  69. net-p2p/warpinator
  70. news/sabnzbd
  71. science/py-h5pyd
  72. security/caldera
  73. security/cowrie
  74. security/dogtag-pki
  75. security/py-SecretStorage
  76. security/py-acme
  77. security/py-asyncssh
  78. security/py-authlib
  79. security/py-azure-keyvault-certificates
  80. security/py-azure-keyvault-keys
  81. security/py-badkeys
  82. security/py-cert-human
  83. security/py-certbot
  84. security/py-certipy
  85. security/py-certomancer
  86. security/py-cryptojwt
  87. security/py-fido2
  88. security/py-google-auth
  89. security/py-guardpost
  90. security/py-josepy
  91. security/py-joserfc
  92. security/py-jwcrypto
  93. security/py-msoffcrypto-tool
  94. security/py-nethsm
  95. security/py-nitrokey
  96. security/py-noiseprotocol
  97. security/py-oauthlib
  98. security/py-omemo-dr
  99. security/py-openssh-wrapper
  100. security/py-paramiko
  101. security/py-pgpy
  102. security/py-plaso
  103. security/py-pnu-certwatch
  104. security/py-pyhanko
  105. security/py-pyhanko-certvalidator
  106. security/py-pyopenssl
  107. security/py-pysaml2
  108. security/py-pyspnego
  109. security/py-python-axolotl
  110. security/py-python-jose
  111. security/py-requests-credssp
  112. security/py-securesystemslib
  113. security/py-service-identity
  114. security/py-signxml
  115. security/py-slip10
  116. security/py-social-auth-core
  117. security/py-social-auth-core4
  118. security/py-sshpubkeys
  119. security/py-stem
  120. security/py-trustme
  121. security/py-txtorcon
  122. security/py-webauthn
  123. security/py-yubikey-manager
  124. sysutils/py-ansible-core
  125. sysutils/py-ansible-core218
  126. sysutils/py-ansible-core219
  127. sysutils/py-ansible-core220
  128. sysutils/py-ansible-core221
  129. sysutils/py-azure-cli
  130. sysutils/py-azure-cli-core
  131. sysutils/py-salt
  132. sysutils/virt-firmware
  133. textproc/py-pdfminer.six
  134. www/buku
  135. www/offpunk
  136. www/py-aioquic
  137. www/py-autobahn
  138. www/py-calibreweb
  139. www/py-fastapi-sso
  140. www/py-pyjwt
  141. www/py-pywebview-gtk
  142. www/py-pywebview-qt
  143. www/py-requests_ntlm
  144. www/py-scrapy
  145. x11/xpra
  146. Collapse this list.

Deleted ports which required this port:

Expand this list of 33 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-openssl*
  14. security/py-paramiko1*
  15. security/py-pysaml24*
  16. security/py-pysaml26*
  17. security/py-service_identity*
  18. security/py-sslyze*
  19. sysutils/ansible2*
  20. sysutils/ansible24*
  21. sysutils/ansible25*
  22. sysutils/ansible26*
  23. sysutils/ansible27*
  24. sysutils/ansible28*
  25. sysutils/datadog-integrations*
  26. sysutils/py-ansible-base*
  27. sysutils/py-ansible-core211*
  28. sysutils/py-azure-cli-botservice*
  29. www/mitmproxy*
  30. www/py-azure-storage*
  31. www/py-buku*
  32. www/py-pydrive2*
  33. www/py-requests-kerberos*
  34. 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 py312-cryptography-50.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:
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 2026Q3 for this port