Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
py-pycryptodomex Cryptographic library for Python
3.24.1 security Σ=7 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 3.24.1Version 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: 2026-10-14 10:37:55
Commit Hash: 239f1fb
People watching this port, also watch: tiff, gnutls, libxml2, p5-Encode-Locale, desktop-file-utils
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 py312-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 py312-pycryptodomex listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py312-pycryptodomex
Package flavors (<flavor>: <package>) #
  • py312: py312-pycryptodomex
distinfo: #
TIMESTAMP = 1791842646 SHA256 (pycryptodomex-3.24.1.tar.gz) = 09081666ffc599976c0b8b29caf2cf82212c0f05bed233c8f8ed53e4f6e1d356 SIZE (pycryptodomex-3.24.1.tar.gz) = 4934627

No package information for this port in our database #
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Master port: security/py-pycryptodome #
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py312-setuptools>0 : devel/py-setuptools@py312
  2. py312-wheel>=0 : devel/py-wheel@py312
  3. python3.12 : lang/python312
  4. py312-build>=0 : devel/py-build@py312
  5. py312-installer>=0 : devel/py-installer@py312
Test dependencies: #
  1. py312-pycryptodome-test-vectors>=0 : security/py-pycryptodome-test-vectors@py312
  2. gmp>=0 : math/gmp
  3. python3.12 : lang/python312
Runtime dependencies: #
  1. python3.12 : lang/python312
This port is required by: #
for Build #
  1. www/yt-dlp
for Run #
  1. archivers/py-py7zr
  2. databases/py-mycli
  3. devel/py-merossiot
  4. devel/py-pyzipper
  5. multimedia/tautulli
  6. net/py-blobfile
  7. net/py-impacket
Expand this list (16 items / 9 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list.
  2. net-mgmt/py-pysnmp
  3. security/py-exscript
  4. security/py-pykeepass
  5. sysutils/py-salt
  6. www/py-yt-dlp
  7. www/yt-dlp
  8. 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.
for Test #
  1. security/py-keyrings.alt

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.

Number of commits found: 8 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
This is a slave port. You may also want to view the commits to the master port: security/py-pycryptodome
CommitCreditsLog message
3.24.1
14 Oct 2026 10:37:55
commit hash: 239f1fbd0d8568ae4356ed4658c09c8ca67da366commit hash: 239f1fbd0d8568ae4356ed4658c09c8ca67da366commit hash: 239f1fbd0d8568ae4356ed4658c09c8ca67da366commit hash: 239f1fbd0d8568ae4356ed4658c09c8ca67da366 files touched by this commit
Michael Osipov (michaelo) search for other commits by this committer
Author: John W. O'Brien
security/py-pycryptodome{,x}: Update to 3.24.1

Changelog:     
https://github.com/Legrandin/pycryptodome/blob/v3.24.1/Changelog.rst

PR:		299363
MFH:            2026Q4
Security:       07e99f22-c176-4c8f-9678-a57ba8114959
Sponsored by:   Saltant Solutions LLC
3.23.0
21 Jun 2025 21:10:29
commit hash: d475eec86aaf04f7b86ce6a4a219cde8ff79ca74commit hash: d475eec86aaf04f7b86ce6a4a219cde8ff79ca74commit hash: d475eec86aaf04f7b86ce6a4a219cde8ff79ca74commit hash: d475eec86aaf04f7b86ce6a4a219cde8ff79ca74 files touched by this commit This port version is marked as vulnerable.
Hiroki Tagato (tagattie) search for other commits by this committer
Author: John W. O'Brien
security/py-pycryptodome{,x}: update to 3.23.0

Changelog: https://github.com/Legrandin/pycryptodome/blob/v3.23.0/Changelog.rst

PR:		287707
Reported by:	John W. O'Brien <john@saltant.com> (maintainer)
3.21.0
28 Oct 2024 07:04:46
commit hash: d732b8d6628e808c92b78597728db2195d9ff048commit hash: d732b8d6628e808c92b78597728db2195d9ff048commit hash: d732b8d6628e808c92b78597728db2195d9ff048commit hash: d732b8d6628e808c92b78597728db2195d9ff048 files touched by this commit This port version is marked as vulnerable.
Li-Wen Hsu (lwhsu) search for other commits by this committer
Author: John W. O'Brien
security/py-pycryptodome{,x}: Update to 3.21.0

PR:		282360
3.20.0
15 Feb 2024 18:40:54
commit hash: 30ede0db9a2e972730a6ca970d10528fd660a640commit hash: 30ede0db9a2e972730a6ca970d10528fd660a640commit hash: 30ede0db9a2e972730a6ca970d10528fd660a640commit hash: 30ede0db9a2e972730a6ca970d10528fd660a640 files touched by this commit This port version is marked as vulnerable.
Charlie Li (vishwin) search for other commits by this committer
security/py-pycryptodome{,x}: update to 3.20.0

- switch to USE_PYTHON=pep517
- add math/gmp to TEST_DEPENDS to run additional GMP tests

PR: 276357
Approved by: John W. O'Brien <john[at]saltant[dot]com> (maintainer)
3.10.1
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit This port version is marked as vulnerable.
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
3.10.1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit This port version is marked as vulnerable.
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
3.6.1_1
17 Jun 2018 21:44:45
Revision:472640Original commit files touched by this commit This port version is marked as vulnerable.
yuri search for other commits by this committer
security/py-pycryptodomex: Fix build by creating a special file in WRKSRC

See https://github.com/Legrandin/pycryptodome/blob/v3.6.1/setup.py#L39-L48

PR:		225217
Reported by:	John W. O'Brien <john@saltant.com> (maintainer)
3.6.1_1
17 Jun 2018 01:33:49
Revision:472582Original commit files touched by this commit This port version is marked as vulnerable.
yuri search for other commits by this committer
New port: security/py-pycryptodomex: Slave port of security/py-pycryptodome

It installs the same package as security/py-pycryptodome but in a different
name space, Cryptodome instead of Crypto, and therefore can be installed
together with security/py-pycrypto if desired.

PR:		225217
Submitted by:	John W. O'Brien <john@saltant.com>

Number of commits found: 8