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
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details on branch 2025Q4
py-pycryptodomex Cryptographic library for Python
3.23.0 security on this many watch lists=10 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.23.0Version of this port present on the latest quarterly branch.
Maintainer: john@saltant.com search for ports maintained by this maintainer
Port Added: 2018-06-17 01:54:47
Last Update: 2025-06-21 21:10:29
Commit Hash: d475eec
People watching this port, also watch:: gnutls, py311-cryptography, libxml2, tiff, openjpeg
Also Listed In: python
License: BSD2CLAUSE PD
WWW:
https://www.pycryptodome.org/
Description:
PyCryptodome is a fork of PyCrypto. It brings the following enhancements with respect to the last official version of PyCrypto (2.6.1): * Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB) * Accelerated AES on Intel platforms via AES-NI * First class support for PyPy * Elliptic curves cryptography (NIST P-curves; Ed25519, Ed448, Curve25519) * Better and more compact API * SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms * Salsa20 and ChaCha20 stream ciphers * scrypt and HKDF * Deterministic (EC)DSA and EdDSA * Password-protected PKCS#8 key containers * Shamir's Secret Sharing scheme * Random numbers get sourced directly from the OS (and not from a CSPRNG in userspace) * Simplified install process, including better support for Windows * Cleaner RSA and DSA key generation (largely based on FIPS 186-4) * Major clean ups and simplification of the code base
Homepage    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}pycryptodomex>0:security/py-pycryptodomex@${PY_FLAVOR}
To install the port:
cd /usr/ports/security/py-pycryptodomex/ && make install clean
To add the package, run one of these commands:
  • pkg install security/py-pycryptodomex
  • pkg install py311-pycryptodomex
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-pycryptodomex listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-pycryptodomex
Package flavors (<flavor>: <package>)
  • py311: py311-pycryptodomex
distinfo:
TIMESTAMP = 1750385185 SHA256 (pycryptodomex-3.23.0.tar.gz) = 71909758f010c82bc99b0abf4ea12012c98962fbf0583c2164f8b84533c2e4da SIZE (pycryptodomex-3.23.0.tar.gz) = 4922157

Packages (timestamps in pop-ups are UTC):
py37-pycryptodomex
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--3.9.8--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-pycryptodomex
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly--3.18.0--n/an/an/a
FreeBSD:14:latest--3.16.0--3.16.0-3.16.0
FreeBSD:14:quarterly-----3.19.03.19.03.19.0
FreeBSD:15:latest--n/a-n/an/a3.19.03.20.0
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest--n/a-n/an/a--
 
py311-pycryptodomex
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.23.03.23.0-3.23.03.23.0n/an/an/a
FreeBSD:13:quarterly3.23.03.23.0-3.23.03.23.0n/an/an/a
FreeBSD:14:latest3.23.03.23.0-3.23.03.23.0---
FreeBSD:14:quarterly3.23.03.23.0-3.23.03.23.0---
FreeBSD:15:latest3.23.03.23.0n/a3.23.0n/an/a--
FreeBSD:15:quarterly-3.23.0n/a-n/an/a--
FreeBSD:16:latest-3.23.0n/a-n/an/a--
 
Master port: security/py-pycryptodome
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-wheel>=0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-pycryptodome-test-vectors>=0 : security/py-pycryptodome-test-vectors@py311
  2. gmp>=0 : math/gmp
  3. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
This port is required by:
for Build
  1. www/yt-dlp
for Run
  1. archivers/py-py7zr
  2. devel/py-merossiot
  3. devel/py-pyzipper
  4. multimedia/tautulli
  5. net/py-blobfile
  6. net/py-impacket
  7. net-mgmt/py-pysnmp
Expand this list (15 items / 8 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. security/py-exscript
  3. security/py-pykeepass
  4. sysutils/py-salt
  5. www/py-yt-dlp
  6. www/yt-dlp
  7. Collapse this list.

Deleted ports which required this port:

Expand this list of 3 deleted ports
  1. security/py-rekall-core*
  2. security/py-rekall_lib*
  3. www/py-yt-dlp-devel*
  4. 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:
No options to configure
Options name:
security_py-pycryptodomex
USES:
cpe python
pkg-message:
For install:
Install the math/gmp port to enable accelerated processing with the GNU Multiple Precision Arithmetic Library. PyCryptodome will use the optional enhancement at runtime automatically if the library is available.
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/pycryptodomex/
  2. https://pypi.org/packages/source/p/pycryptodomex/
Collapse this list.

There are no commits on branch 2025Q4 for this port