Skip to content

feat(aztec-nr): sender-side support for interactive handshakes#24522

Open
nchamo wants to merge 2 commits into
nchamo/secrets-cleanupfrom
nchamo/f-786-feataztec-nr-sender-side-support-for-interactive-handshakes
Open

feat(aztec-nr): sender-side support for interactive handshakes#24522
nchamo wants to merge 2 commits into
nchamo/secrets-cleanupfrom
nchamo/f-786-feataztec-nr-sender-side-support-for-interactive-handshakes

Conversation

@nchamo

@nchamo nchamo commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Motivation

The handshake registry has an interactive_handshake entrypoint (#24473), but no sender can reach it: the delivery stack only knows how to establish non-interactive handshakes.

The change

Senders can now choose an interactive handshake the same two ways non-interactive ones are chosen:

  • In-contract: a via_interactive_handshake() builder option on both onchain delivery modes, flowing through a new TagDerivation kind and TagSecretSource kind that call the registry's interactive_handshake entrypoint via a new pinned selector.
  • By the wallet: an interactive-handshake variant in the TaggingSecretStrategy hook union and in ResolvedTaggingStrategy (TS and Noir in lockstep).

Defaults do not change: interactive is strictly opt-in. Like a fresh non-interactive handshake, a fresh interactive one backs both delivery modes and starts its constrained sequence at index 0; an existing handshake of either type is reused before establishing a new one.

The oracle version minors are bumped since no existing contracts were using this oracle yet.

Fixes F-786

@nchamo nchamo self-assigned this Jul 4, 2026
@nchamo nchamo added ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure labels Jul 4, 2026
@nchamo nchamo marked this pull request as ready for review July 4, 2026 14:33
@nchamo nchamo requested a review from nventuro as a code owner July 4, 2026 14:33
@nchamo nchamo requested a review from vezenovm July 4, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant