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.
Port details on branch 2025Q4
py-cryptography Cryptographic recipes and primitives for Python developers
48.0.0_1,1 security on this many watch lists=33 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 46.0.7,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-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.
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 = 1777994567 SHA256 (cryptography-48.0.0.tar.gz) = 5c3932f4436d1cccb036cb0eaef46e6e2db91035166f1ad6505c3c9d5a635920 SIZE (cryptography-48.0.0.tar.gz) = 832984

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.22.1.crate) = 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 SIZE (rust/crates/base64-0.22.1.crate) = 81597 SHA256 (rust/crates/bitflags-2.11.1.crate) = c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3 SIZE (rust/crates/bitflags-2.11.1.crate) = 49082 SHA256 (rust/crates/cc-1.2.61.crate) = d16d90359e986641506914ba71350897565610e87ce0ad9e6f28569db3dd5c6d SIZE (rust/crates/cc-1.2.61.crate) = 97163 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.186.crate) = 68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66 SIZE (rust/crates/libc-0.2.186.crate) = 821883 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.79.crate) = bf0b434746ee2832f4f0baf10137e1cabb18cbe6912c69e2e33263c45250f542 SIZE (rust/crates/openssl-0.10.79.crate) = 307119 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.115.crate) = 158fe5b292746440aa6e7a7e690e55aeb72d41505e2804c23c6973ad0e9c9781 SIZE (rust/crates/openssl-sys-0.9.115.crate) = 75821 SHA256 (rust/crates/pem-3.0.6.crate) = 1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be SIZE (rust/crates/pem-3.0.6.crate) = 18362 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.13.1.crate) = c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49 SIZE (rust/crates/portable-atomic-1.13.1.crate) = 197001 SHA256 (rust/crates/proc-macro2-1.0.106.crate) = 8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934 SIZE (rust/crates/proc-macro2-1.0.106.crate) = 59765 SHA256 (rust/crates/pyo3-0.28.3.crate) = 91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12 SIZE (rust/crates/pyo3-0.28.3.crate) = 1204476 SHA256 (rust/crates/pyo3-build-config-0.28.3.crate) = e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e SIZE (rust/crates/pyo3-build-config-0.28.3.crate) = 35961 SHA256 (rust/crates/pyo3-ffi-0.28.3.crate) = 7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e SIZE (rust/crates/pyo3-ffi-0.28.3.crate) = 80881 SHA256 (rust/crates/pyo3-macros-0.28.3.crate) = df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813 SIZE (rust/crates/pyo3-macros-0.28.3.crate) = 8963 SHA256 (rust/crates/pyo3-macros-backend-0.28.3.crate) = c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb SIZE (rust/crates/pyo3-macros-backend-0.28.3.crate) = 88063 SHA256 (rust/crates/quote-1.0.45.crate) = 41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924 SIZE (rust/crates/quote-1.0.45.crate) = 31564 SHA256 (rust/crates/self_cell-1.2.2.crate) = b12e76d157a900eb52e81bc6e9f3069344290341720e9178cde2407113ac8d89 SIZE (rust/crates/self_cell-1.2.2.crate) = 23264 SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 SIZE (rust/crates/shlex-1.3.0.crate) = 18713 SHA256 (rust/crates/syn-2.0.117.crate) = e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99 SIZE (rust/crates/syn-2.0.117.crate) = 306011 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):
py37-cryptography
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--2.9.2--n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py39-cryptography
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly--3.4.8_1,1--n/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,1-44.0.3_3,146.0.7_1,1n/an/an/a
FreeBSD:13:quarterly46.0.7,146.0.7,1-44.0.3_1,146.0.7,1n/an/an/a
FreeBSD:14:latest48.0.0,148.0.0_1,1-44.0.3_2,148.0.0_1,1---
FreeBSD:14:quarterly46.0.7,146.0.7,1-44.0.3_1,146.0.7,1---
FreeBSD:15:latest48.0.0,148.0.0_1,1n/a44.0.3_2,1n/an/a--
FreeBSD:15:quarterly46.0.7,146.0.7,1n/a-n/an/a--
FreeBSD:16:latest48.0.0,148.0.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. py311-cffi>=2.0.0 : devel/py-cffi@py311
  2. py311-maturin>=1.9.4<2 : devel/py-maturin@py311
  3. py311-setuptools>=0 : devel/py-setuptools@py311
  4. rust>=1.96.0 : lang/rust
  5. pkgconf>=1.3.0_1 : devel/pkgconf
  6. python3.11 : lang/python311
  7. py311-build>=0 : devel/py-build@py311
  8. 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>=48.0.0<48.0.0_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>=2.0.0 : devel/py-cffi@py311
  2. python3.11 : lang/python311
This port is required by:
for Build
  1. comms/py-pynitrokey
  2. security/py-certbot
  3. 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-schemachange
Expand this list (164 items / 157 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/py-snowflake-connector-python
  3. databases/py-valkey
  4. devel/oci-cli
  5. devel/osc
  6. devel/py-adb
  7. devel/py-aiortc
  8. devel/py-azure-identity
  9. devel/py-azure-multiapi-storage
  10. devel/py-azure-storage-blob
  11. devel/py-azure-storage-common
  12. devel/py-azure-storage-file-share
  13. devel/py-azure-storage-queue
  14. devel/py-castellan
  15. devel/py-cursive
  16. devel/py-localstack
  17. devel/py-localstack-core
  18. devel/py-moto
  19. devel/py-oci
  20. devel/py-openstacksdk
  21. devel/py-perceval
  22. devel/py-pytest-recorder
  23. devel/py-twisted
  24. dns/letsdns
  25. dns/py-dns-crawler
  26. dns/py-dns-lexicon
  27. dns/py-dnspython
  28. filesystems/py-dfvfs
  29. filesystems/py-tahoe-lafs
  30. finance/electrum
  31. finance/freqtrade
  32. finance/odoo
  33. finance/odoo16
  34. finance/odoo17
  35. finance/odoo18
  36. finance/py-ccxt
  37. graphics/py-olmocr
  38. mail/py-checkdmarc
  39. mail/py-flanker
  40. net/onionprobe
  41. net/py-cepa
  42. net/py-magic-wormhole
  43. net/py-python-openstackclient
  44. net/py-ripe.atlas.sagan
  45. net/py-smbprotocol
  46. net/py-transip
  47. net/scapy
  48. net-im/gajim
  49. net-im/py-apprise
  50. net-im/py-matrix-synapse
  51. net-mgmt/py-adal
  52. net-p2p/reticulum
  53. net-p2p/warpinator
  54. news/sabnzbd
  55. security/caldera
  56. security/cowrie
  57. security/py-SecretStorage
  58. security/py-acme
  59. security/py-asyncssh
  60. security/py-authlib
  61. security/py-azure-keyvault-certificates
  62. security/py-azure-keyvault-keys
  63. security/py-badkeys
  64. security/py-cert-human
  65. security/py-certbot
  66. security/py-certipy
  67. security/py-certomancer
  68. security/py-cryptojwt
  69. security/py-fido2
  70. security/py-google-auth
  71. security/py-guardpost
  72. security/py-josepy
  73. security/py-joserfc
  74. security/py-jwcrypto
  75. security/py-msoffcrypto-tool
  76. security/py-nethsm
  77. security/py-nitrokey
  78. security/py-noiseprotocol
  79. security/py-oauthlib
  80. security/py-omemo-dr
  81. security/py-openssh-wrapper
  82. security/py-paramiko
  83. security/py-pgpy
  84. security/py-plaso
  85. security/py-pnu-certwatch
  86. security/py-pyhanko
  87. security/py-pyhanko-certvalidator
  88. security/py-pyopenssl
  89. security/py-pysaml2
  90. security/py-pyspnego
  91. security/py-python-axolotl
  92. security/py-python-jose
  93. security/py-requests-credssp
  94. security/py-securesystemslib
  95. security/py-service-identity
  96. security/py-signxml
  97. security/py-slip10
  98. security/py-social-auth-core
  99. security/py-sshpubkeys
  100. security/py-stem
  101. security/py-trustme
  102. security/py-txtorcon
  103. security/py-webauthn
  104. security/py-yubikey-manager
  105. sysutils/py-ansible-core
  106. sysutils/py-ansible-core218
  107. sysutils/py-ansible-core219
  108. sysutils/py-ansible-core220
  109. sysutils/py-ansible-core221
  110. sysutils/py-azure-cli
  111. sysutils/py-azure-cli-core
  112. sysutils/py-salt
  113. sysutils/virt-firmware
  114. textproc/py-pdfminer.six
  115. www/buku
  116. www/offpunk
  117. www/py-aioquic
  118. www/py-autobahn
  119. www/py-calibreweb
  120. www/py-pyjwt
  121. www/py-pywebview-gtk
  122. www/py-pywebview-qt
  123. www/py-requests_ntlm
  124. www/py-scrapy
  125. x11/xpra
  126. 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 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:
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 2025Q4 for this port