remotesigner: generate MuSig2 nonces on signer
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- go
- Ambito
- backend, cryptography, security
Direzione di ricerca
Read the linked sections in lnwallet/musig_session.go, lnwallet/rpcwallet/rpcwallet.go, and lnwallet/channel.go, plus issues #10705, #11529, and the remote-signing security model. Start by tracing nonce creation, RPC forwarding, and force-close reconstruction; then define signer-owned nonce persistence and replay behavior across the listed flows. Done means secret nonces stay on the signer, changed transcripts are rejected, and restart, force-close, and supported backup recovery cases are covered.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
Follow-up to #10705 and #11529.
The Taproot channel flow currently generates local MuSig2 nonces on the
watch-only node. RPCKeyRing.MuSig2CreateSession forwards the secret nonce
material through pregenerated_local_nonce:
Track moving nonce generation and secret nonce state to the signer. The
watch-only node should exchange public nonces and references to signer-owned
state.
Suggested scope
- Add a signer API for obtaining public nonces before the full signing session
is known, then using the corresponding nonce through an opaque handle or
equivalent signer-owned reference. - Update funding, commitment signing, cooperative close and reconnect paths to
use this API. Cover both classic RPC and the signer-initiated stream. - Reject caller-supplied secret nonces for keys covered by this isolation
contract, including through alternate signer API paths. - Define signer-side persistence or safe reconstruction across crashes and
restarts. Preserve exact commitment reconstruction after a lost response,
while rejecting reuse with a changed signing transcript. - Preserve force-close and static channel backup recovery. Define the rollout
for existing channels, wallet restore and lost or rolled-back signer state. - Update the remote-signing security model and document the resulting backup
requirements. Transaction validation and spending policy remain separate
work.
The nonce-to-transcript history in #11529 can remain useful for replay checks.
It stores fingerprints and transcript hashes, so secret nonce recovery still
needs its own design. Keep those replay checks while moving nonce ownership.
Test coverage
- The watch-only side receives public nonce material and opaque references;
secret nonce material stays on the signer. - Supplying secret nonce material through an old or alternate API cannot
bypass the new contract. - Reconnects, lost responses and signer restarts preserve the recorded
transcript and safe exact replay. - Changed transcripts fail before a partial signature is returned.
- Force-close and supported backup recovery work without secret nonces on the
watch-only node; unavailable signer state fails explicitly.
- Lingua principale
- Go
- Stelle
- 8.2k
- Fork
- 2.3k
- Merge medio
- 1g 11h
- PR unite (30g)
- 103
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di lightningnetwork/lnd
-
funding: failure logs print `<nil>` error and zero channel IDForse già presa @litbot-9000 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
lightningnetwork/lnd#11676 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 85/100
lightningnetwork/lnd#11674 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
lightningnetwork/lnd#11672 ·
I maintainer di solito rispondono entro 1 giorno
-
test flake
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
lightningnetwork/lnd#11663 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[flake]: lnwallet/test/bitcoind.TestLightningWalletBitcoindRPCPolling/spend_unconfirmed_outputsApertatest flake
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
lightningnetwork/lnd#11642 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di lightningnetwork/lnd
Issue simili
-
ConcatAgenticMessages loses the approval request ID of a streamed MCP tool callForse già presa @ningsiyuan1024 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
containers/gvisor-tap-vsock#796 ·
I maintainer di solito rispondono entro 2 giorni
-
external needs:triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
celestiaorg/celestia-node#5448 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Azure SAS signing uses local time instead of UTC, shifting validity window on non-UTC hostsForse già presa @huanghaoyuanhhy l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
zilliztech/milvus-backup#1418 ·
I maintainer di solito rispondono entro 1 giorno