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 2023Q3
py-cryptography Cryptographic recipes and primitives for Python developers
48.0.1_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 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-07-21 06:47:24
Commit Hash: 9c892d2
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 = 1782966576 SHA256 (cryptography-48.0.1.tar.gz) = 266f4ee051abb2f725b74ef8072b521ce1feacf685a3364fa6a6b45548db791a SIZE (cryptography-48.0.1.tar.gz) = 832989

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: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/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest48.0.1_1,148.0.1_1,1--48.0.1_1,1---
FreeBSD:14:quarterly48.0.1,148.0.1,1--48.0.1,1---
FreeBSD:15:latest48.0.1_1,148.0.1_1,1n/a-n/an/a--
FreeBSD:15:quarterly48.0.1,148.0.1,1n/a-n/an/a--
FreeBSD:16:latest48.0.1_1,148.0.1_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.0.0 : devel/py-cffi@py312
  2. py312-maturin>=1.9.4<2 : devel/py-maturin@py312
  3. py312-setuptools>=0 : devel/py-setuptools@py312
  4. rust>=1.97.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>=48.0.1<48.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. security/py-certbot
  5. 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 (176 items / 169 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. graphics/py-pdfminer-six
  39. irc/py-limnoria
  40. mail/py-checkdmarc
  41. mail/py-flanker
  42. misc/py-apache-beam
  43. misc/py-crewai-cli
  44. misc/py-crewai-core
  45. misc/py-litellm
  46. misc/py-sagemaker-core
  47. misc/py-sagemaker-mlops
  48. net/onionprobe
  49. net/py-cepa
  50. net/py-lib389
  51. net/py-magic-wormhole
  52. net/py-python-openstackclient
  53. net/py-ripe.atlas.sagan
  54. net/py-smbprotocol
  55. net/py-transip
  56. net/scapy
  57. net-im/gajim
  58. net-im/py-apprise
  59. net-im/py-matrix-synapse
  60. net-mgmt/py-adal
  61. net-p2p/reticulum
  62. net-p2p/warpinator
  63. news/sabnzbd
  64. science/py-h5pyd
  65. security/caldera
  66. security/cowrie
  67. security/dogtag-pki
  68. security/py-SecretStorage
  69. security/py-acme
  70. security/py-asyncssh
  71. security/py-authlib
  72. security/py-azure-keyvault-certificates
  73. security/py-azure-keyvault-keys
  74. security/py-badkeys
  75. security/py-cert-human
  76. security/py-certbot
  77. security/py-certipy
  78. security/py-certomancer
  79. security/py-cryptojwt
  80. security/py-fido2
  81. security/py-google-auth
  82. security/py-guardpost
  83. security/py-josepy
  84. security/py-joserfc
  85. security/py-jwcrypto
  86. security/py-msoffcrypto-tool
  87. security/py-nethsm
  88. security/py-nitrokey
  89. security/py-noiseprotocol
  90. security/py-oauthlib
  91. security/py-omemo-dr
  92. security/py-openssh-wrapper
  93. security/py-paramiko
  94. security/py-pgpy
  95. security/py-plaso
  96. security/py-pnu-certwatch
  97. security/py-pyhanko
  98. security/py-pyhanko-certvalidator
  99. security/py-pyopenssl
  100. security/py-pysaml2
  101. security/py-pyspnego
  102. security/py-python-axolotl
  103. security/py-python-jose
  104. security/py-requests-credssp
  105. security/py-securesystemslib
  106. security/py-service-identity
  107. security/py-signxml
  108. security/py-slip10
  109. security/py-social-auth-core
  110. security/py-social-auth-core4
  111. security/py-sshpubkeys
  112. security/py-stem
  113. security/py-trustme
  114. security/py-txtorcon
  115. security/py-webauthn
  116. security/py-yubikey-manager
  117. sysutils/py-ansible-core
  118. sysutils/py-ansible-core218
  119. sysutils/py-ansible-core219
  120. sysutils/py-ansible-core220
  121. sysutils/py-ansible-core221
  122. sysutils/py-azure-cli
  123. sysutils/py-azure-cli-core
  124. sysutils/py-salt
  125. sysutils/virt-firmware
  126. textproc/py-pdfminer.six
  127. www/buku
  128. www/offpunk
  129. www/py-aioquic
  130. www/py-autobahn
  131. www/py-calibreweb
  132. www/py-pyjwt
  133. www/py-pywebview-gtk
  134. www/py-pywebview-qt
  135. www/py-requests_ntlm
  136. www/py-scrapy
  137. x11/xpra
  138. 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-48.0.1_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 2023Q3 for this port