PQC Auth: How It Works
Starting with v1.1.0 (opens in a new tab) (and hardened in v1.1.1 and v1.2.0), Dora Vota supports PQC Auth (x/pqcauth). You can register an ML-DSA-65 post-quantum signing key and a separate offline recovery key for an existing classical account. Once protection takes effect, ordinary transactions sent directly by that account must carry both the original account signature and a PQC signature—otherwise the chain rejects them.
Your address stays the same. Your assets, staking positions, and transaction history stay where they are. There is no need to migrate to a new account.

Why We Built PQC Auth
Most Cosmos accounts today use secp256k1 signatures. A sufficiently powerful quantum computer could use Shor's algorithm to derive a private key from its public key. Once an account sends a transaction, its public key is exposed on-chain.
Such quantum computers do not exist today, but migration takes time. NIST published the post-quantum signature standard FIPS 204 (ML-DSA) (opens in a new tab) in 2024. PQC Auth uses ML-DSA-65, one of the parameter sets defined in that standard.
Moving to a Native ML-DSA Account is the cleanest transition for new accounts, but for existing accounts it means changing your address, moving assets, unbonding and restaking, and updating application records. PQC Auth offers an in-place alternative: keep your existing account and let the chain enforce an additional post-quantum authorization.
Three Keys, Three Roles
| Key | Purpose | Where to keep it | When it is used |
|---|---|---|---|
Original account key (secp256k1, ed25519, or secp256r1) | Preserves your existing identity and signs each transaction | Your online wallet machine | Every transaction |
PQC signing key (ML-DSA-65) | Adds post-quantum authorization | A separate signing device | Ordinary protected transactions and most key-management operations |
PQC recovery key (ML-DSA-65) | Authorizes a replacement if the signing key is lost | An offline device, with a separate backup | Only during recovery |
The chain stores only the two PQC public keys and your protection policy. Private keys are never uploaded and do not need to leave their respective devices.
Use fresh, separate mnemonics. Because Cosmos SDK v0.55 currently derives ML-DSA keys directly from the BIP32
secp256k1private key for a given mnemonic, BIP39 passphrase, and HD path, never reuse your classical account's mnemonic for either PQC key, and never share one mnemonic between your signing key and recovery key.
How It Works
Register Once

Two separate devices each generate an ML-DSA-65 key and sign a key proof (create-key-proof) to demonstrate possession, outputting the public key, proof, and its SHA-256 fingerprint (public_key_sha256). Each proof binds the network ID, chain ID, account address, proposed key ID, role, purpose, and current policy version (0 for registration). It cannot be reused for another account or context.
The online wallet machine includes both public keys and proofs in a MsgRegisterKey (register-key, which must enable self_enforce: true), verifies their SHA-256 fingerprints against values obtained out of band from each key device, signs in SIGN_MODE_DIRECT with the original account key, and broadcasts it. If the transaction succeeds at height H, the chain records signing key #1, recovery key #2, and a pending policy. Protection takes effect in the next block, H+1.
Send a Protected Transaction

The PQC signing key stays off the online machine. Transactions move between devices as JSON signing-bundle files:
- The online machine freezes the transaction. Generate an unsigned transaction (
--generate-only), then useprepare-bundleto read the account number, sequence, current PQC key, and policy version at one committed block height and build the sign document. - The signing device signs offline.
sign-bundlerecomputes the sign document from the transaction bytes, displays the decoded transaction for review, and—after confirmation—signs with ML-DSA-65. - The online machine revalidates and broadcasts.
broadcast-bundlere-queries on-chain state and stops if the key, policy, or sequence changed. If everything matches, it attaches the PQC extension, adds the original account signature (SIGN_MODE_DIRECT), and broadcasts.
The amount, fees, gas limit, and sequence are frozen in step 1. To change any of them, start again from step 1.
What the Signatures Protect

The PQC signature binds the transaction contents—including recipient, amount, memo, timeout height, fees, gas limit, and fee payer or granter—to the network ID, chain ID, account number, sequence, signer, PQC key ID, algorithm, and policy version. Changing the recipient, amount, or fees after signing invalidates the PQC signature.
ML-DSA-65 signs a dedicated canonical PQCSignDocV1 containing the transaction body (with the PQC extension removed), AuthInfo, and the context fields above. The original account key then signs the standard Cosmos SIGN_MODE_DIRECT document, whose transaction body includes the PQC extension. Both signatures authorize the same transaction, but they do not sign identical bytes.
How Nodes Check a Transaction

Every validator enforces these checks before executing the transaction. Protection is an on-chain consensus rule, not a wallet or RPC setting:
- Pre-decode wire validation: Before decoding
ExtensionPQCAuth, the transaction decoder verifies canonical protobufAnyframing and strict size/entry bounds, rejecting malformed or empty PQC extensions. - Structural and fee checks: Ante decorators verify single-message lifecycle rules, block nested lifecycle messages (such as inside
authz,gov, orgroup), enforceSIGN_MODE_DIRECT, and deduct fees. - Signature verification: The original classical account signature must pass before the ML-DSA-65 signature (or lifecycle proof) is verified and charged
verification_gas.
If any Ante check fails, the transaction is rejected before execution, no fee is charged, and on-chain state is unchanged. If Ante passes but message execution fails (for example, insufficient funds), the fee is charged and the sequence increases as usual.
Lost Your Signing Key? Recovery Includes a Waiting Period

Recovery (MsgRecoverKey) requires a single top-level transaction signed in SIGN_MODE_DIRECT (even if personal self-protection is disabled) carrying three proofs:
- The original classical account signature;
- A transaction-bound signature from the offline recovery key;
- A proof of possession of the new signing key.
The lost signing key is not required.
Recovery does not take effect immediately. The chain waits recovery_delay_blocks blocks before the new signing key replaces the old one. The default is 107,520 blocks (approximately seven days), and this value is immutable after initialization. Check your target network's value with dorad query pqcauth params --node "$RPC". During the waiting period:
- The old signing key remains usable.
- Key rotation and protection-toggle operations are blocked.
- If you did not initiate the recovery, you can cancel it immediately with
cancel-recovery(using your original account key and current signing key), then submit a separaterotate-recovery-keytransaction to replace the compromised recovery key.
Stealing the recovery key alone does not allow immediate takeover. The recovery key can only replace a PQC signing key; it cannot recover a lost original classical account key.
Who Is It For?
| Your situation | Recommendation |
|---|---|
| You have a single-signer classical account with significant holdings or active delegations, can keep keys on separate devices, and are comfortable with the CLI | A strong fit. Test the full workflow on a small account or testnet first |
| You are creating a brand-new account without legacy address requirements | Consider a Native ML-DSA Account instead |
| You rely on a browser wallet for everyday transactions | Confirm that your wallet and PQC signer can construct and preserve the PQC extension and sign in SIGN_MODE_DIRECT. Ordinary wallets alone are insufficient; use the dorad CLI |
| You use a Ledger hardware wallet | The current SDK Amino-only Ledger backend cannot register or send protected transactions, which require SIGN_MODE_DIRECT |
| You use a multisig account | Registration is not supported in Phase 1; existing transactions are unaffected |
| You use a native ML-DSA account | Not needed. The account already uses post-quantum signatures and cannot register PQC Auth |
| You operate a validator or business account that must transact at any time | Evaluate carefully. Governance emergency pauses are capped at 46,080 blocks (~72 hours) per activation and can be renewed; during a full PQC pause, protected accounts can only submit or cancel recovery |
What Is Protected?
Phase 1 of PQC Auth protects the transaction sender's own direct signature.
| Scenario | Protected? |
|---|---|
| Ordinary transactions sent directly by your protected account | Yes. Both signatures are required |
Lifecycle operations (rotate-key, rotate-recovery-key, set-protection, revoke-key, cancel-recovery) | Yes. Always require the current PQC signing key and classical key, even if self-protection is off |
Recovery (recover-key) | Yes. Requires classical key (SIGN_MODE_DIRECT) + registered recovery key + proof of new signing key |
An authz grant you issued to someone else | No. The grantee can act within its grant using its own signature without your PQC factor |
A feegrant allowance you issued to someone else | No. The grantee can spend your balance on fees up to the allowance limit |
| Validator consensus signatures or IBC light clients | No. Validator consensus uses ML-DSA consensus keys; counterparty light clients follow Post-Quantum IBC Interoperability |
| A lost original classical account key | No. Back up your classical key separately |
Before registering, run the built-in readiness check to inspect outgoing authz grants and feegrant allowances at a single consistent block height:
dorad query pqcauth protection-readiness YOUR_DORA_ADDRESS --node "https://vota-rpc.dorafactory.org:443"The command prints a JSON report to stdout and exits with status 0 only when outgoing_grants_clear is true (both grant lists are empty and neither more_authz_grants nor more_feegrant_allowances is truncated). Revoke any unwanted delegations before or after enrollment.
To register your keys, send a protected transfer, and explore every subcommand, continue to the PQC Auth: CLI Guide.