Skip to main content

Post-quantum signing SDK for Python — ML-DSA-65 (NIST FIPS 204)

Project description

fipsign-sdk

PyPI License: MIT NIST FIPS 204

Post-quantum signing SDK for Python. Signs and verifies any payload using ML-DSA-65 (NIST FIPS 204) — resistant to Shor's algorithm, standardized by NIST in August 2024.

Not just for auth. Sign users, orders, documents, devices, AI agents, events — any entity that needs a tamper-proof, quantum-resistant signature.

📖 Full documentation, API reference, and guides →


Install

pip install fipsign-sdk

For async support (httpx-based):

pip install fipsign-sdk[async]

Quick start

  1. Create a free account at app.fipsign.dev.
  2. In the dashboard, create a project, then create an API key inside it. Save the key — it won't be shown again.
  3. Use it:
from fipsign import PQAuth

pq = PQAuth("pqa_your_api_key")

result = pq.sign("user_123", role="admin")
token  = result.token

verified = pq.verify(token)
if not verified.valid:
    raise PermissionError("invalid token")

print(verified.payload["sub"])  # "user_123"

That's signing and verifying. The SDK also covers async usage (AsyncPQAuth), Flask/FastAPI middleware, offline (in-memory) verification, revocation, webhooks, and a full Certificate Authority module (PQCert + X.509) for issuing post-quantum certificates to devices and services — all in the developer guide.


Why ML-DSA-65?

JWT with RS256/ES256 and standard OAuth tokens rely on ECDSA or RSA — both breakable by Shor's algorithm on a sufficiently powerful quantum computer. ML-DSA-65 is based on lattice problems (Module-LWE / Module-SIS) with no known quantum speedup. Standardized by NIST in August 2024 as FIPS 204.


Links

Project details


Download files

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

Source Distribution

fipsign_sdk-0.9.6.tar.gz (39.4 kB view details)

Uploaded Source

Built Distribution

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

fipsign_sdk-0.9.6-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file fipsign_sdk-0.9.6.tar.gz.

File metadata

  • Download URL: fipsign_sdk-0.9.6.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for fipsign_sdk-0.9.6.tar.gz
Algorithm Hash digest
SHA256 d0a964651bb822af4c8f981a4bdcee696519a4f533507c0ddebde984931c566d
MD5 87225678bfc40c239aa0d83b7c9e3809
BLAKE2b-256 8639c57423d659d367ac5b0e12d3835ea421bd467885e6045ffd76730c4ffd18

See more details on using hashes here.

File details

Details for the file fipsign_sdk-0.9.6-py3-none-any.whl.

File metadata

  • Download URL: fipsign_sdk-0.9.6-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for fipsign_sdk-0.9.6-py3-none-any.whl
Algorithm Hash digest
SHA256 db61197d5dd934cc3b31328ba3af98f1e45ed843cabd78a3ccea620a85d7f18d
MD5 84df9173264424dee381ed3ded66cfcd
BLAKE2b-256 ab41297321f2423615a93fc257c0da103642fe9c119d12bcdc31433053a17ee2

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