Zakura Proposes One-Time Viewing Keys to Stop Quantum Linking of Zcash Swaps

Zakura Proposes One-Time Viewing Keys to Stop Quantum Linking of Zcash Swaps


Zakura, a Zcash full node team, has proposed a wallet-level change that would stop a future quantum computer from linking a user’s shielded Zcash payments through a single publicly posted address. The design, called a one-time incoming viewing key, mainly targets cross-chain swaps through NEAR Intents and does not require changes to Zcash’s consensus rules.

Zakura principal engineer Adam Tucker set out the design in an engineering post titled “Quantum Unlinkability for Zcash Swaps”, which Zakura shared on X on October 18. Zakura’s engineering page lists the work as in review. Zakura is developed as a collaboration between Valar Group and Project Tachyon, the two teams working on Zcash scalability.

On October 18 Zakura posted the one-time ivk design to address quantum unlinkability in NEAR swap transactions.

Earlier, on October 9 NEAR announced post‑quantum signatures, but those did not protect Zcash swap addresses.

Zackura’s proposal serves as an interim fix until Project Tachyon’s recursive proofs, discussed since September 28, are deployed.

Why One Published Address Is the Weak Point

Every Zcash shielded account has one secret key behind all of its addresses, called the incoming viewing key (ivk). The wallet uses the ivk to find and decrypt payments sent to the account. A shielded address carries a short value called a diversifier and an elliptic curve point, and a wallet can create many different-looking addresses from the same ivk by changing the diversifier.

A classical computer cannot recover the ivk from an address, because doing so means solving the discrete logarithm problem. The Zcash blockchain itself also never shows the address values that encrypted payments are locked to. As Zcash cofounder Sean Bowe explained in “Zcash and Quantum Computers,” this is why shielded transactions keep their privacy against quantum computers in many common cases. That matters for “harvest now, decrypt later” attacks, in which an adversary stores encrypted data today and decrypts it once stronger computers exist.

The exposure appears when an address is published somewhere permanent. According to the Zakura post, a sufficiently powerful quantum computer running Shor’s algorithm, a quantum method for solving discrete logarithm problems, could recover the ivk from one published address. The attacker could then see the value and memo of every payment the account ever received and link them together.

How NEAR Intents Exposes Zcash Addresses

NEAR Intents is a cross-chain swap service built on the NEAR Protocol. Zakura identifies it as the most concerning case for this exposure.

When a user swaps ZEC, Zcash’s native token, for an asset on another chain, the wallet deposits ZEC to a NEAR deposit address on the Zcash chain. The swap quote includes a refundTo field holding one of the user’s shielded addresses, where unused or failed funds are returned. Zakura says that address is written to NEAR’s public chain as soon as the deposit registers, whether or not a refund ever happens. Swaps into ZEC post the shielded address as the recipient instead.

Each swap posts a new address, but all of them are diversified addresses of one account that share one ivk. Zakura’s post summary says NEAR Intents swaps publish such addresses hundreds of times a day.

NEAR’s own quantum work does not close this gap. NEAR said in an October 9 post on X that its accounts support the Module-Lattice-Based Digital Signature Algorithm (ML-DSA), a post-quantum signature standard, as The Crypto Times reported. That protects NEAR account signatures, not the Zcash addresses recorded in swap data.

How the One-Time ivk Works

Zcash derives an account’s keys from its spending key. That key produces three secrets: a spend authorizing key (ask), whose public half (ak) authorizes spends; a nullifier deriving key (nk), which marks notes as spent; and a randomness value (rivk), which is mixed into the ivk.

Zakura’s design changes only rivk. For each address that must be published, the wallet derives a new rivk using the same keyed hash construction that Zcash Improvement Proposal 32 (ZIP 32) already uses to create internal change keys. Zakura adds its own domain byte, so swap keys cannot collide with internal keys, and appends a purpose and an index, so one account can hold as many swap keys as it needs.

Because ak and nk stay the same, the account’s normal spending key can still spend funds received at a swap address. A quantum attacker who breaks one posted address learns only the payments to that address. Tying that key back to the parent account would require inverting a hash-based derivation, which Zakura says remains out of reach even for a quantum computer.

Zakura rejected the simpler option of opening a new account for every swap because of hardware wallet limits. The post states that Keystone’s Zcash support signs only from account index 0, while Ledger can spend from only one account per transaction, forcing repeated approvals for a single payment.

Keeping Seed Recovery Practical

More keys normally mean slower recovery. Wallets find payments through trial decryption, testing each key against every output on the chain. Day to day, Zakura says the cost is small because a wallet only scans with keys for swaps still in progress. A wallet restored from its seed phrase, however, would need a full chain pass for every swap key ever used.

Zakura’s workaround relies on a NEAR bridge behavior. Every outgoing transaction from NEAR’s Zcash bridge is encrypted with the same all-zero outgoing viewing key (OVK), which lets anyone build an index mapping recipient addresses to transactions. Restoring wallets download small public filters, similar to Bloom filters, and check their addresses locally. The filters can occasionally flag an unpaid address but never miss a paid one.

The wallet then fetches matching records through private information retrieval (PIR), a lattice-based technique that returns a database record without the server learning which record was requested. Zakura already uses PIR for Zcash coinholder voting lookups and transparent wallet monitoring.

For swaps out of ZEC, the deposit’s change output carries an encrypted memo, readable only by the user, recording the index used for that swap key. A restored wallet reads these notes and rebuilds only the keys it actually used. For swaps into ZEC, where the wallet sends nothing on Zcash, it checks addresses in order against the filters and stops after 30 consecutive unused addresses. Zakura says a wallet never issues an address more than 30 positions past the last one that was paid or quoted to NEAR.

Where the Proposal Fits in Zcash’s Quantum Roadmap

The one-time ivk is an interim measure. Zakura’s post describes the gap as open “until Tachyon ships,” referring to Project Tachyon, the proposed Zcash upgrade based on recursive proofs that is not yet live. Tachyon lead Sean Bowe said on September 28 that the team had begun upstreaming Tachyon’s recursive proofs into Zakura Common, a step The Crypto Times covered without any change to mainnet.

On the transparent side, Zakura engineer Roman Akhtariev wrote in an earlier engineering post that the team plans for post-quantum signature opcodes to land in Zcash in January. The post does not give a network activation date.

Separately, Shielded Labs announced Epoch on October 1, a research and engineering project to build production-ready post-quantum cryptography for Zcash. As The Crypto Times reported, the project targets the end of 2027.

The one-time ivk is limited in scope. Its practical effect will depend on how many wallets adopt it, how quickly hardware wallets add support, and whether NEAR Intents remains a major route for shielded ZEC.

Also Read: THORChain’s v3.21 Update Restores Solana and Zcash Trading, Patches Rujira Exploit


Disclaimer: The information researched and reported by The Crypto Times is for informational purposes only and is not a substitute for professional financial advice. Investing in crypto assets involves significant risk due to market volatility. Always Do Your Own Research (DYOR) and consult with a qualified Financial Advisor before making any investment decisions.





Leave a Reply

Your email address will not be published. Required fields are marked *