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.8.tar.gz (28.3 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.8-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fipsign_sdk-0.9.8.tar.gz
  • Upload date:
  • Size: 28.3 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.8.tar.gz
Algorithm Hash digest
SHA256 c4132cbdc94079d69faa255d9afeba421c79f008f748e9de8155c64640aa26c6
MD5 b12c81e2f1d7a5c65f2aaedce60385be
BLAKE2b-256 b0ffa577782e3200f1b70a086e0def4f2dcd5facfb5f9b0f0b7cfe614859f241

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fipsign_sdk-0.9.8-py3-none-any.whl
  • Upload date:
  • Size: 31.5 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 373ce5d9717262d7f6c0c7af153fb4dfb6ad572485bca21ffcad1267cad572f8
MD5 237347447703dee73a39ba26155f112a
BLAKE2b-256 e86fc4e06eb76d1d4e059bc6a0a65735456e760bb9a6ad3c3d538726ba0ef408

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