algovoi-rfc9421-ecdsa
ECDSA (P-256 / P-384) add-on for the AlgoVoi RFC 9421 verifier.
A pure add-on: it does not modify or re-publish the core verifier. It gives
you a drop-in verify_request that accepts Ed25519 (delegated verbatim to the
untouched verifier) plus the two RFC 9421-registered ECDSA suites:
ecdsa-p256-sha256(RFC 9421 3.3.5): P-256, SHA-256, 64-byter‖ssignatureecdsa-p384-sha384(RFC 9421 3.3.6): P-384, SHA-384, 96-byter‖ssignature
The ECDSA path reuses the verifier's already-hardened primitives (Signature-Input
parsing, freshness/replay, Content-Digest, signing-base, downgrade/allow-list) and
adds only the ECDSA signature check. The core verifier stays Ed25519 + PyNaCl-only
and unchanged; this package brings its own cryptography dependency.
from algovoi_rfc9421_ecdsa import verify_request
result = verify_request(
method="POST", authority="api.example.com", path="/a2a",
headers=headers, body=body, public_key=sec1_point_bytes,
allowed_algorithms={"ecdsa-p256-sha256"}, # opt in per request
)
# Ed25519 requests are delegated to the core verifier automatically.
Hardening
Before accepting an ECDSA signature the provider enforces:
- the public-key point is on the curve and not the identity;
- the signature is exactly the curve size (64 / 96 bytes, raw
r‖s, not DER); randsare each in[1, n-1];- optional canonical low-
senforcement (anti-malleability) viaset_strict_low_s(True), off by default for spec interop.
Apache-2.0.
Metadata
Release files for algovoi-rfc9421-ecdsa 0.1.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 |
|---|---|---|---|---|
| algovoi_rfc9421_ecdsa-0.1.0.tar.gz | 11.2 kB | Without provenance | Details for algovoi_rfc9421_ecdsa-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| algovoi_rfc9421_ecdsa-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for algovoi_rfc9421_ecdsa-0.1.0-py3-none-any.whl |
Total release size: 23.2 kB
Release files / algovoi_rfc9421_ecdsa-0.1.0.tar.gz
| Download URL | algovoi_rfc9421_ecdsa-0.1.0.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
017c8e78a31c8dab3b888ce3af78d1a6aa09bfb4aae29f5158a9172668262229
|
|
BLAKE2b-256 checksum How to use checksums |
397f99aca8b59cc31432663975e7c0b8bf6c5dfb3fbdd094a304fcb88dae01ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / algovoi_rfc9421_ecdsa-0.1.0-py3-none-any.whl
| Download URL | algovoi_rfc9421_ecdsa-0.1.0-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fa03d4d00e44f0071408a698e897eea3d781198c1de9b327b59c8ba65aeac453
|
|
BLAKE2b-256 checksum How to use checksums |
ecb5c742a88680b965d8109aaf73c054b69c4d300857136c4e79c03af9230168
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for algovoi-rfc9421-ecdsa 0.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.