Skip to main content

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

Metadata

Release files for fipsign-sdk 0.10.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fipsign-sdk 0.10.1
File Size Uploaded
fipsign_sdk-0.10.1.tar.gz 31.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fipsign-sdk 0.10.1
File Interpreter ABI Platform
fipsign_sdk-0.10.1-py3-none-any.whl Python 3 none any Details

Total release size: 66.4 kB

Release files / fipsign_sdk-0.10.1.tar.gz

Download URL fipsign_sdk-0.10.1.tar.gz
Size 31.4 kB
Tags Source
SHA-256 checksum
How to use checksums
080894ce2228f0e6d85472c3b6c6736ca2c131a748dbe190ba5ba9ed8fe6d7b1
BLAKE2b-256 checksum
How to use checksums
8e6a96e8248adb693e08d06922e8c00730531e254aac405bb2fa5835a7eee10b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Release files / fipsign_sdk-0.10.1-py3-none-any.whl

Download URL fipsign_sdk-0.10.1-py3-none-any.whl
Size 35.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
086d34095ba359dda64f81427b8233d31e40916129a212a88866bcbcdce9da38
BLAKE2b-256 checksum
How to use checksums
d62bd642930308ea4eedf06808f9a27b85d1856f2750f4c1bace56de99e6a2fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Release history Release notifications | RSS feed

0.12.0

2 release files

0.11.0

2 release files

This release

0.10.1 This release

2 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page