pyrixos-ed25519
Ed25519 signatures, as RFC 8032 section 5.1 defines them, in Python with no compiled code and no dependencies. PyrixOS uses it to sign and check its binary cache, so its build tools need no Rust or C extension.
pip install pyrixos-ed25519
from pyrixos_ed25519 import BadSignatureError, SigningKey, VerifyingKey
key = SigningKey.generate() # or SigningKey(seed), 32 bytes
signature = key.sign(b"message") # 64 bytes
public = key.verifying_key.encoded # 32 bytes
try:
VerifyingKey(public).verify(signature, b"message")
except BadSignatureError:
...
Keys and signatures are the raw byte strings of RFC 8032, so they
interoperate with OpenSSL, libsodium and the cryptography package.
The tests check the RFC's vectors and, when cryptography is
installed, compare signatures with it.
Verification rules
verify refuses a signature whose S is not less than the group order,
and a public key or R that is not a canonical encoding of a curve
point. It checks [S]B - [k]A against R without multiplying by the
cofactor, the rule OpenSSL and libsodium follow.
Limits
Python integers give no constant-time arithmetic, so signing time depends on the secret key. Use the package where an attacker cannot time many signatures, such as signing build outputs on a build host. Signing takes about 2 ms and verification about 10 ms on a current x86_64 core.
Development
pip install --group dev
pip install -e .
pybootstrap check
License
GPL-2.0-only. See LICENSE.
Metadata
Release files for pyrixos-ed25519 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyrixos_ed25519-1.0.0.tar.gz | 14.0 kB | With provenance | Details for pyrixos_ed25519-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyrixos_ed25519-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for pyrixos_ed25519-1.0.0-py3-none-any.whl |
Total release size: 27.4 kB
Release files / pyrixos_ed25519-1.0.0.tar.gz
| Download URL | pyrixos_ed25519-1.0.0.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
759e4a259087e815a8060bbea4d264a95f510d02a643033701c4aa6fce3c2afc
|
|
BLAKE2b-256 checksum How to use checksums |
b4db1a5bcc1260b155dc7ff3a884b9845b92ae250ee5fefd1d8bb00a541b0460
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logRelease files / pyrixos_ed25519-1.0.0-py3-none-any.whl
| Download URL | pyrixos_ed25519-1.0.0-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f6bf84315f4cbda18ad518504330b554fdc30e5f879b94c0171a7e3c00a1a8c
|
|
BLAKE2b-256 checksum How to use checksums |
07bfb4c9f1b8c1b1629dfb7225a179225f67761d1a6ec6d3c05e49438770187e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logSecurity for pyrixos-ed25519 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pyrixos_ed25519-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.