lp: 4965 title: TxAuthEnvelope description: The typed post-quantum transaction-signing envelope — an ML-DSA-65 signature over a TupleHash256 transcript bound by the TX-AUTH-V1 customization string, verified by unmodified FIPS 204 author: Lux Core Team (@luxfi) discussions-to: https://github.com/luxfi/lps/discussions status: Final implementation-cpp: none implementation-rust: partial implementation-go: shipped type: Standards Track category: Core tags: [pq, ml-dsa, tx-auth, envelope, tuple-hash, strict-pq]
- lp-4400
- lp-4294
- lp-4340
Abstract
Every strict-PQ transaction on Lux is signed via a TxAuthEnvelope.
The transcript is built with TupleHash256 (SP 800-185) under the
customization string TX-AUTH-V1, committing to:
(profile_id, chain_id, account_id, nonce, payload_hash,
identity_scheme_id, hash_suite_id)
The signature is ML-DSA-65 and the verifier is unmodified FIPS 204
ML-DSA.Verify — no Lux-specific verification code sits on the
relying-party side.
TupleHash256 rather than a concatenate-then-hash construction is the
whole point of the "typed" in typed envelope: TupleHash unambiguously
encodes field boundaries, so no two distinct field tuples can produce
the same transcript by shifting bytes across a boundary. A
concatenation-based transcript would let a long chain_id borrow bytes
from a short account_id.
Profile
ProfileID: 0x01 (ProfileLuxStrictPQ)
ProfileName: LUX_STRICT_PQ
HashSuiteID: SHA3_NIST (0x01)
IdentitySchemeID: ML_DSA_65 (0x42)
FinalitySchemeID: PULSAR_M_65 (0x52)
HighValueSchemeID: PULSAR_M_87 (0x53)
ProofPolicyID: STARK_FRI_SHA3_PQ (0x10)
MinSoundnessBits: 128
MinHashOutputBits: 384
RequireTransparent: true
ForbidPairings: true
ForbidKZG: true
ForbidTrustedSetup: true
ForbidClassicalSNARKs: true
ForbidDevProofs: true
ForbidFallbacks: true
Bindings
luxfi/consensus/protocol/auth/tx_envelope.gois the canonical encoder/decoder;luxfi/wallet/pq/tx.goprovides signing helpers.- Mainnet acceptance rule: a transaction lacking a valid
TxAuthEnvelopeis rejected at mempool admission. There is no fallback to secp256k1 RLP onLUX_STRICT_PQ. - The
TX-AUTH-V1customization string is domain-separated from the Q-Block transcript (PULSAR-Q-BLOCK-V1) and the permit transcript (PERMIT-V1, LP-4962), so a signature minted for one context cannot be replayed into another. - KAT vectors:
luxfi/consensus/protocol/auth/testdata/tx_envelope_v1.json.
Compliance
A validator on LUX_STRICT_PQ MUST refuse transactions that do not
carry a valid TxAuthEnvelope. Permissive profiles (0x02) may accept
both forms during an operator-controlled transition.
References
- HIP-0086 — the full envelope specification this LP binds to the luxfi package surface
- NIST FIPS 204, FIPS 202, SP 800-185
luxfi/consensus/protocol/auth/tx_envelope.go
Copyright
Copyright (C) 2024-2026, Lux Industries Inc. All rights reserved.
Licensed under the MIT License.