BSD Ports

security/py-pycryptodome 3.24.1 FreeBSD

Cryptographic library for Python

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
239f1fbd0d
License
BSD2CLAUSE, PD
Categories
security, python
Package size
1621.1 KiB, 8929.7 KiB installed

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

In the other systems

SystemPortVersion
FreeBSDsecurity/py-pycryptodome3.24.1
DragonFlysecurity/py-pycryptodome3.21.0
MidnightBSDsecurity/py-pycryptodome3.21.0_1

Install

Binary package:

pkg install py312-pycryptodome

From the ports tree:

cd /usr/ports/security/py-pycryptodome/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-pycryptodome>0:security/py-pycryptodome

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.23.03.24.13.16.03.23.03.24.1
FreeBSD:14:quarterly3.23.03.24.1n/a3.23.03.24.1
FreeBSD:15:latest3.24.13.24.1n/a3.23.03.23.0
FreeBSD:15:quarterly3.23.03.24.1n/an/an/a
FreeBSD:16:latest3.23.03.24.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Test 2

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 7

Configuration

No options to configure.

USES
cpe python
Service scripts
none
Conflicts with
${PYTHON_PKGNAMEPREFIX}pycrypto

Message after installing

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.

Files

distinfo 1
FileSizeSHA256
pycryptodome-3.24.1.tar.gz4.932558e+063f9e74444c0ecbec7af232a95d282c74b114d53212ce075ed17b7fd7dca32bb3
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
239f1fbd0d 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