Files
palladum-lightning/common
Erick Cestari 6724db65de BOLT11: Make payment secret field ('s') mandatory
Make the payment secret field ('s') mandatory for BOLT11 payment requests,
implementing the requirement specified in BOLT11 spec PR #1242
(https://github.com/lightning/bolts/pull/1242).

This security enhancement prevents payment probing attacks by requiring
all invoices to include payment secrets. Changes include:

1. Adding validation in bolt11_decode_nosig() to reject invoices without
   the 's' field
2. Adding payment secrets to all test vectors
3. Updating expected encoded values in test cases to include payment secrets
4. Adding a specific test case that verifies proper rejection of invoices
   missing the payment secret field

Changelog-Changed: Made payment secret ('s' field) mandatory in BOLT11 payment requests for improved security.
2025-07-07 11:18:37 +09:30
..
2023-09-21 20:08:24 +09:30
2024-08-10 15:20:59 +09:30
2023-06-23 13:12:42 +09:30
2024-07-10 12:21:19 +09:30
2024-03-07 14:09:14 +01:00
2022-09-19 10:18:55 +09:30
2024-11-12 06:42:52 +10:30
2023-09-21 20:08:24 +09:30
2023-07-11 11:41:15 +09:30
2023-07-11 11:41:15 +09:30
2024-10-07 14:05:47 +02:00
2024-10-07 14:05:47 +02:00
2025-05-13 14:52:15 +09:30
2025-04-24 17:34:12 +09:30
2025-05-13 14:52:15 +09:30
2025-05-13 14:52:15 +09:30
2024-11-21 14:15:36 +10:30
2024-11-21 14:15:36 +10:30