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.7.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.7-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fipsign_sdk-0.9.7.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.7.tar.gz
Algorithm Hash digest
SHA256 3da65388b0d90ddf095bb7d1c1ae7e3df1b99b02eab43f2be01fb0e8c3f883f9
MD5 f4cddef34b2297ff32736400ee010120
BLAKE2b-256 080be557ef10d7567b716fd63a915f5833a21f5dee17645603be94442cee4e17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fipsign_sdk-0.9.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3e9f1fef5506df18657a8d64b011fcd55a57fb0fdda517baf05a407f92dcc0a1
MD5 d01b1341fb552de4733e07c3fdd5d463
BLAKE2b-256 414ed40ff265c0ecbb0ceac3bd9d3c3310958380442ff6e93bdfd53fb7b25dda

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