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 2024Q2
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_1,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_1,1-n/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_1,148.0.0_1,1n/a-n/an/a--
 

py312-cryptography
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest----48.0.0_1,1---
FreeBSD:14:quarterly--------
FreeBSD:15:latest-48.0.0_1,1n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/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-oracledb
  7. databases/py-ormar
Expand this list (167 items / 160 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/py-schemachange
  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-localstack
  18. devel/py-localstack-core
  19. devel/py-moto
  20. devel/py-oci
  21. devel/py-openstacksdk
  22. devel/py-perceval
  23. devel/py-pytest-recorder
  24. devel/py-twisted
  25. dns/letsdns
  26. dns/py-dns-crawler
  27. dns/py-dns-lexicon
  28. dns/py-dnspython
  29. filesystems/py-dfvfs
  30. filesystems/py-tahoe-lafs
  31. finance/electrum
  32. finance/freqtrade
  33. finance/odoo
  34. finance/odoo16
  35. finance/odoo17
  36. finance/odoo18
  37. finance/py-ccxt
  38. graphics/py-olmocr
  39. mail/py-checkdmarc
  40. mail/py-flanker
  41. misc/py-sagemaker-core
  42. misc/py-sagemaker-mlops
  43. net/onionprobe
  44. net/py-cepa
  45. net/py-magic-wormhole
  46. net/py-python-openstackclient
  47. net/py-ripe.atlas.sagan
  48. net/py-smbprotocol
  49. net/py-transip
  50. net/scapy
  51. net-im/gajim
  52. net-im/py-apprise
  53. net-im/py-matrix-synapse
  54. net-mgmt/py-adal
  55. net-p2p/reticulum
  56. net-p2p/warpinator
  57. news/sabnzbd
  58. security/caldera
  59. security/cowrie
  60. security/py-SecretStorage
  61. security/py-acme
  62. security/py-asyncssh
  63. security/py-authlib
  64. security/py-azure-keyvault-certificates
  65. security/py-azure-keyvault-keys
  66. security/py-badkeys
  67. security/py-cert-human
  68. security/py-certbot
  69. security/py-certipy
  70. security/py-certomancer
  71. security/py-cryptojwt
  72. security/py-fido2
  73. security/py-google-auth
  74. security/py-guardpost
  75. security/py-josepy
  76. security/py-joserfc
  77. security/py-jwcrypto
  78. security/py-msoffcrypto-tool
  79. security/py-nethsm
  80. security/py-nitrokey
  81. security/py-noiseprotocol
  82. security/py-oauthlib
  83. security/py-omemo-dr
  84. security/py-openssh-wrapper
  85. security/py-paramiko
  86. security/py-pgpy
  87. security/py-plaso
  88. security/py-pnu-certwatch
  89. security/py-pyhanko
  90. security/py-pyhanko-certvalidator
  91. security/py-pyopenssl
  92. security/py-pysaml2
  93. security/py-pyspnego
  94. security/py-python-axolotl
  95. security/py-python-jose
  96. security/py-requests-credssp
  97. security/py-securesystemslib
  98. security/py-service-identity
  99. security/py-signxml
  100. security/py-slip10
  101. security/py-social-auth-core
  102. security/py-sshpubkeys
  103. security/py-stem
  104. security/py-trustme
  105. security/py-txtorcon
  106. security/py-webauthn
  107. security/py-yubikey-manager
  108. sysutils/py-ansible-core
  109. sysutils/py-ansible-core218
  110. sysutils/py-ansible-core219
  111. sysutils/py-ansible-core220
  112. sysutils/py-ansible-core221
  113. sysutils/py-azure-cli
  114. sysutils/py-azure-cli-core
  115. sysutils/py-salt
  116. sysutils/virt-firmware
  117. textproc/py-pdfminer.six
  118. www/buku
  119. www/offpunk
  120. www/py-aioquic
  121. www/py-autobahn
  122. www/py-calibreweb
  123. www/py-pyjwt
  124. www/py-pywebview-gtk
  125. www/py-pywebview-qt
  126. www/py-requests_ntlm
  127. www/py-scrapy
  128. x11/xpra
  129. 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 2024Q2 for this port