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
Port details on branch 2026Q1
py-cryptography Cryptographic recipes and primitives for Python developers
46.0.4,1 security on this many watch lists=36 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 45.0.7_2,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-02-03 05:09:53
Commit Hash: 16013d1
People watching this port, also watch:: py311-six, pkg, py311-cffi, py311-pycparser, libxml2
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 = 1769874406 SHA256 (cryptography-46.0.4.tar.gz) = bfd019f60f8abc2ed1b9be4ddc21cfef059c841d86d710bb69909a688cbb8f59 SIZE (cryptography-46.0.4.tar.gz) = 749301

Expand this list (72 items)

Collapse this list.

SHA256 (rust/crates/asn1-0.22.0.crate) = df42c2b01c5e1060b8281f67b4e5fb858260694916a667345a7305cd11e5dbfa SIZE (rust/crates/asn1-0.22.0.crate) = 47124 SHA256 (rust/crates/asn1_derive-0.22.0.crate) = cdccf849b54365e3693e9a90ad36e4482b79937e6373ac8e2cf229c985187b21 SIZE (rust/crates/asn1_derive-0.22.0.crate) = 8953 SHA256 (rust/crates/autocfg-1.5.0.crate) = c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8 SIZE (rust/crates/autocfg-1.5.0.crate) = 18729 SHA256 (rust/crates/base64-0.22.1.crate) = 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 SIZE (rust/crates/base64-0.22.1.crate) = 81597 SHA256 (rust/crates/bitflags-2.9.4.crate) = 2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394 SIZE (rust/crates/bitflags-2.9.4.crate) = 47950 SHA256 (rust/crates/cc-1.2.37.crate) = 65193589c6404eb80b450d618eaf9a2cafaaafd57ecce47370519ef674a7bd44 SIZE (rust/crates/cc-1.2.37.crate) = 90111 SHA256 (rust/crates/cfg-if-1.0.3.crate) = 2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9 SIZE (rust/crates/cfg-if-1.0.3.crate) = 8719 SHA256 (rust/crates/find-msvc-tools-0.1.1.crate) = 7fd99930f64d146689264c637b5af2f0233a933bef0d8570e2526bf9e083192d SIZE (rust/crates/find-msvc-tools-0.1.1.crate) = 30228 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.175.crate) = 6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543 SIZE (rust/crates/libc-0.2.175.crate) = 788728 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.74.crate) = 24ad14dd45412269e1a30f52ad8f0664f0f4f4a89ee8fe28c3b3527021ebb654 SIZE (rust/crates/openssl-0.10.74.crate) = 285425 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.110.crate) = 0a9f0075ba3c21b09f8e8b2026584b1d18d49388648f2fbbf3c97ea8deced8e2 SIZE (rust/crates/openssl-sys-0.9.110.crate) = 80412 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.1.crate) = f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483 SIZE (rust/crates/portable-atomic-1.11.1.crate) = 185506 SHA256 (rust/crates/proc-macro2-1.0.101.crate) = 89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de SIZE (rust/crates/proc-macro2-1.0.101.crate) = 53886 SHA256 (rust/crates/pyo3-0.26.0.crate) = 7ba0117f4212101ee6544044dae45abe1083d30ce7b29c4b5cbdfa2354e07383 SIZE (rust/crates/pyo3-0.26.0.crate) = 1151579 SHA256 (rust/crates/pyo3-build-config-0.26.0.crate) = 4fc6ddaf24947d12a9aa31ac65431fb1b851b8f4365426e182901eabfb87df5f SIZE (rust/crates/pyo3-build-config-0.26.0.crate) = 34309 SHA256 (rust/crates/pyo3-ffi-0.26.0.crate) = 025474d3928738efb38ac36d4744a74a400c901c7596199e20e45d98eb194105 SIZE (rust/crates/pyo3-ffi-0.26.0.crate) = 78247 SHA256 (rust/crates/pyo3-macros-0.26.0.crate) = 2e64eb489f22fe1c95911b77c44cc41e7c19f3082fc81cce90f657cdc42ffded SIZE (rust/crates/pyo3-macros-0.26.0.crate) = 8906 SHA256 (rust/crates/pyo3-macros-backend-0.26.0.crate) = 100246c0ecf400b475341b8455a9213344569af29a3c841d29270e53102e0fcf SIZE (rust/crates/pyo3-macros-backend-0.26.0.crate) = 81809 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.106.crate) = ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6 SIZE (rust/crates/syn-2.0.106.crate) = 301514 SHA256 (rust/crates/target-lexicon-0.13.3.crate) = df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c SIZE (rust/crates/target-lexicon-0.13.3.crate) = 28498 SHA256 (rust/crates/unicode-ident-1.0.19.crate) = f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d SIZE (rust/crates/unicode-ident-1.0.19.crate) = 47480 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):
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.3,146.0.4,1-44.0.3_3,146.0.4,1n/an/an/a
FreeBSD:13:quarterly45.0.7_2,145.0.7_2,1-44.0.3_1,145.0.7_2,1n/an/an/a
FreeBSD:14:latest46.0.3_1,146.0.4,1-44.0.3_2,146.0.4,1---
FreeBSD:14:quarterly45.0.7_2,145.0.7_2,1-44.0.3_1,145.0.7_2,1---
FreeBSD:15:latest46.0.4,146.0.4,1n/a44.0.3_2,1n/an/a--
FreeBSD:15:quarterly45.0.7_2,145.0.7_2,1n/a-n/an/a--
FreeBSD:16:latest46.0.3_1,146.0.4,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.93.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>=46.0.4<46.0.4_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. 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-schemachange
Expand this list (158 items / 151 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-keyvault
  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-core
  18. devel/py-moto
  19. devel/py-msal
  20. devel/py-oci
  21. devel/py-openstacksdk
  22. devel/py-perceval
  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. mail/py-checkdmarc
  38. mail/py-flanker
  39. net/onionprobe
  40. net/py-cepa
  41. net/py-magic-wormhole
  42. net/py-python-openstackclient
  43. net/py-ripe.atlas.sagan
  44. net/py-smbprotocol
  45. net/py-transip
  46. net/scapy
  47. net-im/gajim
  48. net-im/py-apprise
  49. net-im/py-matrix-synapse
  50. net-mgmt/py-adal
  51. net-p2p/reticulum
  52. net-p2p/warpinator
  53. news/sabnzbd
  54. security/caldera
  55. security/cowrie
  56. security/py-SecretStorage
  57. security/py-acme
  58. security/py-asyncssh
  59. security/py-authlib
  60. security/py-azure-keyvault-keys
  61. security/py-badkeys
  62. security/py-cert-human
  63. security/py-certbot
  64. security/py-certipy
  65. security/py-certomancer
  66. security/py-cryptojwt
  67. security/py-fido2
  68. security/py-google-auth
  69. security/py-josepy
  70. security/py-joserfc
  71. security/py-jwcrypto
  72. security/py-msoffcrypto-tool
  73. security/py-nethsm
  74. security/py-nitrokey
  75. security/py-noiseprotocol
  76. security/py-oauthlib
  77. security/py-omemo-dr
  78. security/py-openssh-wrapper
  79. security/py-paramiko
  80. security/py-pgpy
  81. security/py-plaso
  82. security/py-pnu-certwatch
  83. security/py-pyhanko
  84. security/py-pyhanko-certvalidator
  85. security/py-pyopenssl
  86. security/py-pysaml2
  87. security/py-pyspnego
  88. security/py-python-axolotl
  89. security/py-python-jose
  90. security/py-requests-credssp
  91. security/py-securesystemslib
  92. security/py-service-identity
  93. security/py-signxml
  94. security/py-social-auth-core
  95. security/py-sshpubkeys
  96. security/py-stem
  97. security/py-trustme
  98. security/py-txtorcon
  99. security/py-webauthn
  100. security/py-yubikey-manager
  101. sysutils/py-ansible-core
  102. sysutils/py-ansible-core219
  103. sysutils/py-ansible-core220
  104. sysutils/py-azure-cli
  105. sysutils/py-azure-cli-core
  106. sysutils/py-salt
  107. sysutils/virt-firmware
  108. textproc/py-pdfminer.six
  109. www/buku
  110. www/offpunk
  111. www/py-aioquic
  112. www/py-autobahn
  113. www/py-azure-storage
  114. www/py-calibreweb
  115. www/py-pyjwt
  116. www/py-pywebview-gtk
  117. www/py-pywebview-qt
  118. www/py-requests_ntlm
  119. www/py-scrapy
  120. x11/xpra
  121. Collapse this list.

Deleted ports which required this port:

Expand this list of 32 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-buku*
  31. www/py-pydrive2*
  32. www/py-requests-kerberos*
  33. 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-46.0.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 2026Q1 for this port