iden-q-post-quantum (Python) — generated by iqcgen 1.2.0
Do not edit these sources. They are compiled from the IdenQ Crypto IR in
specs/ and regenerated with iqcgen generate. Cross-language byte parity is
the property this package exists to guarantee; hand edits silently break it.
Requires: CPython 3.10-3.13 from source; the published wheel is bytecode, so one wheel per minor version.
pip install ./dist/python
Passphrase-rooted hybrid post-quantum secret encryption (cipher_payload v2)
A passphrase is stretched with Argon2id into a master key; an ML-KEM-768 keypair is derived deterministically from that master key (so nothing has to be stored or synced); encapsulating to it yields a post-quantum shared secret which is mixed with a symmetric KEK to wrap a random per-secret data key. An attacker needs the passphrase — breaking ML-KEM alone, or recording traffic today to decrypt after a quantum computer exists, does not help.
from iden_q_post_quantum import (encrypt, decrypt)
encrypt(plaintext: string, passphrase: string)— Encrypt a secret under a passphrase.decrypt(payload: struct, passphrase: string)— Decrypt a payload with the passphrase that produced it.
Hybrid X25519 + ML-KEM-768 public-key envelope (login_envelope v1)
Seals a short credential to a recipient's static hybrid public key. Classical and post- quantum defence in depth: an interceptor who strips TLS must break BOTH X25519 and ML- KEM-768 to recover the key-encryption key, and neither alone is enough. The recipient opens it with the matching private keys.
from iden_q_post_quantum import (seal, unseal, derive_recipient_keys)
seal(plaintext: bytes, recipient_x_pk: bytes, recipient_mlkem_ek: bytes)— Seal a plaintext to a recipient's static hybrid public key.unseal(envelope: struct, x_sk: bytes, mlkem_dk: bytes)— Open an envelope with the recipient's private keys.derive_recipient_keys(seed: bytes)— Derive a recipient key set deterministically from a 96-byte seed.
ML-DSA-44 detached signature (mldsa_signature v1)
Post-quantum digital signatures (FIPS 204, ML-DSA-44). A signer derives a key pair
deterministically from a seed and signs a message; a verifier checks the signature
against the pinned public key and fails closed on anything that does not verify. Pure
ML-DSA with an empty context string, so the signing input is the message itself — the
shape a JWS ML-DSA-44 assertion needs.
from iden_q_post_quantum import (derive_signing_keys, signing_keys_from_private_jwk, sign, verify)
derive_signing_keys(seed: bytes)— Derive a signing key pair deterministically from a 32-byte seed.signing_keys_from_private_jwk(jwk: struct)— Derive the signing key pair from a private AKP JWK.sign(sk: bytes, message: bytes)— Sign a message with a signing key.verify(signed: struct, pk: bytes)— Verify a signed message against a pinned verification key.
Licence
IdenQ Proprietary Licence. See LICENSE — this software is licensed, not sold.
Third-party components keep their own terms; see THIRD-PARTY-NOTICES.md.
Metadata
Release files for iden-q-post-quantum 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iden_q_post_quantum-1.2.0-cp313-none-any.whl | CPython 3.13 | none | any | Details for iden_q_post_quantum-1.2.0-cp313-none-any.whl |
| iden_q_post_quantum-1.2.0-cp312-none-any.whl | CPython 3.12 | none | any | Details for iden_q_post_quantum-1.2.0-cp312-none-any.whl |
| iden_q_post_quantum-1.2.0-cp311-none-any.whl | CPython 3.11 | none | any | Details for iden_q_post_quantum-1.2.0-cp311-none-any.whl |
Total release size: 65.1 kB
Release files / iden_q_post_quantum-1.2.0-cp313-none-any.whl
| Download URL | iden_q_post_quantum-1.2.0-cp313-none-any.whl |
|---|---|
| Size | 21.3 kB |
| Tags | CPython 3.13 |
|
SHA-256 checksum How to use checksums |
36ec22bbcb9522f77017af351fbfd710a70b1cf65fda2f96c5353f0f5790ea4c
|
|
BLAKE2b-256 checksum How to use checksums |
f4997da5a1fad20edd96e9f6434087bd4a992c085111c10c86302df9d5b6127f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency logRelease files / iden_q_post_quantum-1.2.0-cp312-none-any.whl
| Download URL | iden_q_post_quantum-1.2.0-cp312-none-any.whl |
|---|---|
| Size | 21.3 kB |
| Tags | CPython 3.12 |
|
SHA-256 checksum How to use checksums |
da83c36eca443f48c0f704eb6b9c021c911003b6bb7c65b113006345be934f33
|
|
BLAKE2b-256 checksum How to use checksums |
4c5e0a8a216c8d3be9f66dc28183c35270e553c71bf78fe67fe4f72306703731
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency logRelease files / iden_q_post_quantum-1.2.0-cp311-none-any.whl
| Download URL | iden_q_post_quantum-1.2.0-cp311-none-any.whl |
|---|---|
| Size | 22.5 kB |
| Tags | CPython 3.11 |
|
SHA-256 checksum How to use checksums |
32bbd8c1aa3ec5008de9e09050eaf03699b70f73752f8e23c0cc24f7a301d94c
|
|
BLAKE2b-256 checksum How to use checksums |
ea0e0a64b147125f8c17214c6cf496ff4ae152ce77027613a94e9aa696f725e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency logSecurity for iden-q-post-quantum 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 3 files in this release have been uploaded with provenance metadata.
Attestation for iden_q_post_quantum-1.2.0-cp313-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.