Mar 6 - Mar 6, 2024
The conversation highlighted a proposal for utilizing the True Random Number Generator (TRNG) available in the Secure Element of Ledger devices as a foundational element for nonce generation. This approach contrasts with the alternative method involving CounterNonceGen, which necessitates the development of a secure atomic counter to serve as the nonce generator. The discourse suggests that despite the differing mechanisms—TRNG versus an atomic counter—the overarching strategy for managing psbt-level signing sessions could remain consistent.
The dialogue further explored the complexities associated with employing CounterNonceGen for psbt-level sessions, particularly emphasizing the importance of committing to both the initial counter value and the anticipated number of signatures for a given psbt within the session's state, identified by session_id
. This commitment is deemed crucial, especially when facilitating multiple psbt signing flows concurrently, to ensure the security and integrity of the signing process. Such a structured approach aims at mitigating risks related to nonce reuse, thereby bolstering the overall auditability and reliability of the nonce generation and management system.
TLDR
We’ll email you summaries of the latest discussions from authoritative bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.
We'd love to hear your feedback on this project?
Give Feedback