Skip to main content

AgDR-Mantle: Sovereign post-quantum fortification for AgDR-Phoenix output (ML-DSA-65, Sparse Merkle, Brotli)

Project description

AgDR-Mantle

Post-quantum fortification for AgDR records.

What it does

AgDR-Mantle adds an optional post-quantum security layer to AgDR-Phoenix. It wraps each sealed record with an ML-DSA-65 signature, a sparse Merkle tree witness, and Brotli compression.

You do not need to change your existing AgDR-Phoenix setup. Mantle runs after the fact. The hot path stays at 0.62 microseconds.

Changes from v1.0.1 to v1.0.5

v1.0.2: Fixed license syntax. Corrected the spec URL. Set Python to less than 3.13.

v1.0.3: Fixed PyO3 compatibility. Added native Windows wheels.

v1.0.4: Added Brotli compression. Published to PyPI.

v1.0.5: Cleaned up documentation.

Install

pip install agdr-mantle

With post-quantum enabled: pip install agdr-mantle[post-quantum]

With all features: pip install agdr-mantle[post-quantum,self-learning,sovereign]

Quick example

from agdr_mantle import AgDRMantle

engine = AgDRMantle(fo_i="Accountability (Toronto)") ppp = {"provenance": "...", "place": "Toronto", "purpose": "Test"} record = engine.seal(ppp)

Performance

These numbers come from a build container, not production hardware.

ML-DSA-65 key generation: 0.3 ms Sign and wrap: 1 ms Verify: 0.2 ms

License

You can use this under either CC0 1.0 or Apache 2.0. Pick the one that works for you.

About

AgDR-Mantle is maintained by the Genesis Glass Foundation, a federally incorporated Canadian not-for-profit. The standard is open. No vendor lock-in. No royalties.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agdr_mantle-1.0.7-cp39-abi3-win_amd64.whl (134.0 kB view details)

Uploaded CPython 3.9+Windows x86-64

File details

Details for the file agdr_mantle-1.0.7-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: agdr_mantle-1.0.7-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 134.0 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for agdr_mantle-1.0.7-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7a0e3f3ae62d87d95004aa1590860ac47d9a9ee99e16746a7b69e22e29c4d7ee
MD5 dfe77a185febfc20d983686157589aa8
BLAKE2b-256 3163a950093b62ba206515e81694920e55fab700e32cab0d7600c5e5cb16f13d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page