Seeking feedback on a simple secret-reveal scheme for a quantum-secure vault.   There may be some missing details, but in general, this shows that covenant-protected vaults, with appropriate depth-locks are quantum-resistant.   The whole idea involves a two-phase reveal: you must clear one tx to pin the destination and then you can inspect what's been mined, and then, based on that inspection, submit an escape or a final reveal.   It uses linear-state as a more flawless quantum security and doesn't require new signature schemes or cryptography-libraries. 

Assumptions:


Threat model:

An attacker may:

An attacker may not:


High-level idea:

This construction creates a multi-phase envelope that separates:

Even if signatures are forgeable, funds can only move into a protected Anchor envelope, and from there only along template-bound paths.

Phase 0 locking policy:

The Phase 0 UTXO enforces the following:

  1. Anchor pinning: Any spend MUST create exactly one value-bearing output whose scriptPubKey equals P_anchor.

  2. No value leakage: No other value-bearing outputs are permitted. Transaction fees are paid by reducing the Anchor output amount.

  3. Fee bound: The Phase 0 script MUST enforce a bound on fee extraction, e.g.:

These conditions are enforced using OP_TXHASH, selecting and verifying:

Phase 1: AnchorPublishTx

Properties:

The Anchor envelope is now instantiated on-chain. An attacker may have triggered this spend... that's ok.


Anchor UTXO locking script shape

A Taproot script tree with two spending paths.

Path 1: Reveal spend (normal)

Conditions:

  1. Relative depth gate The Anchor UTXO must have aged by at least k blocks (CSV).

  2. Reveal check SHA256(x) == C.

  3. Template enforcement The spending transaction MUST match template T via OP_CTV.


Path 2: Escape hatch

Conditions:

  1. Template enforcement The spending transaction MUST match template E via OP_CTV.

  2. No secret revealed The value x is not disclosed on this path.

The escape path may be immediately available or time-delayed


Phase 2: SpendAnchorTx


Security properties

Some more information and discussion is on delving bitcoin:

https://delvingbitcoin.org/t/a-quantum-resistance-script-only-using-op-ctv-op-txhash-and-no-new-signatures/2168/5

--
You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/CAJowKgJnvHr%2BWV7%2B_52prP_QqiL%3D%2BzWe%2BhBMLmsCbO2san2NbQ%40mail.gmail.com.