Registry / auth-security / ed25519-blake2b-fork

ed25519-blake2b-fork

JSON →
library1.4.2pypypi✓ verified 85d ago

A fork of the ed25519 library that uses BLAKE2b instead of SHA-512 hashing for public-key signatures. Version 1.4.2 adds automatic wheel builds via cibuildwheel. The library provides Ed25519 signing and verification with a pure Python implementation. Release cadence is irregular.

pip install ed25519-blake2b-fork
INSTALL
IMPORT
SIG · ED25519-BLAKE2B-FO
E
ed25519-blake2b-fork
auth-securitypythonv1.4.2
Install
1.5s avg
Import
10ms
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.4.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.008s · 18.2MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.5s · import 0.006s · 19MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SigningKey
from ed25519_blake2b import SigningKey
Standard import for the fork.
VerifyingKey
from ed25519_blake2b import VerifyingKey
Standard import for the fork.

Generate a key pair, sign a message, and verify the signature.

from ed25519_blake2b import SigningKey, VerifyingKey sk = SigningKey() vk = sk.get_verifying_key() message = b"Hello, world!" signature = sk.sign(message) print("Signature:", signature.hex()) assert vk.verify(signature, message) print("Verification passed!")
Debug
Known issues
gotchaThis library is a fork that uses BLAKE2b instead of SHA-512. Do not use it interchangeably with the standard ed25519 library; signatures are incompatible.
fix
Ensure you use this library only where BLAKE2b-based Ed25519 is expected.
affects: all
deprecatedThe package name 'ed25519-blake2b-fork' may be renamed or superseded. Check for newer versions or official replacements.
fix
Monitor the repository for updates or consider using the original ed25519 library with SHA-512 if compatibility is needed.
affects: <=1.4.2
gotchaThe private key seed generation uses system random. For deterministic keys, you must provide your own seed.
fix
Pass a 32-byte seed to SigningKey(seed=your_seed) for reproducible keys.
affects: all
Errors
Common errors & fixes
ImportError: No module named 'ed25519_blake2b'
The package is installed as ed25519-blake2b-fork but the import uses underscores.
fix
Ensure you installed the package: pip install ed25519-blake2b-fork
Then import: from ed25519_blake2b import SigningKey
AttributeError: module 'ed25519_blake2b' has no attribute 'SigningKey'
Possibly an older version or incorrect import path.
fix
Use from ed25519_blake2b import SigningKey. If still fails, reinstall package: pip install --upgrade ed25519-blake2b-fork
ed25519_blake2b.BadSignatureError: Invalid signature
Signature was created with a different key or algorithm (e.g., SHA-512 ed25519).
fix
Ensure you are using the same key and that the message hashing uses BLAKE2b. This fork is not compatible with standard Ed25519.
Upgrade
Version history
1.4.2latest on PyPI · released Mar 2, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources
ed25519-blake2b-fork — pip install ed25519-blake2b-fork · libregistry