rust-lightning/lightning
Jeffrey Czyz 14634c6ae1
Add nonce to OffersContext::OutboundPayment
To authenticate that a Bolt12Invoice is for a valid InvoiceRequest or
Refund, include the nonce from the payer_metadata in the InvoiceRequest
reply path or Refund::paths, respectively. This can be used to prevent
de-anonymization attacks where an attacker sends invoices using
self-constructed paths to nodes near the blinded paths' introduction
nodes.
2024-07-22 11:34:04 -05:00
..
src Add nonce to OffersContext::OutboundPayment 2024-07-22 11:34:04 -05:00
Cargo.toml Use native check-cfg lint in cargo beta 2024-07-12 11:48:15 +02:00