Uh oh!
There was an error while loading. Please reload this page.
Introduce ReceiveAuthKey verification for Blinded Payment Paths - #4126
Conversation
👋 Thanks for assigning @TheBlueMatt as a reviewer! |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@## main #4126 +/- ##
==========================================
+ Coverage 89.28% 89.33% +0.04%
==========================================
Files 180 180 Lines 137913 138086 +173 Branches 137913 138086 +173 ==========================================
+ Hits 123142 123356 +214 + Misses 12167 12127 -40 + Partials 2604 2603 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ldk-reviews-bot
commented
Sep 27, 2025
🔔 1st Reminder Hey @jkczyz! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Sep 29, 2025
🔔 2nd Reminder Hey @jkczyz! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Oct 1, 2025
🔔 3rd Reminder Hey @jkczyz! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Oct 4, 2025
🔔 4th Reminder Hey @jkczyz! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Oct 6, 2025
🔔 5th Reminder Hey @jkczyz! This PR has been waiting for your review. |
shaavan
commented
Oct 6, 2025
ldk-reviews-bot
commented
Oct 8, 2025
🔔 6th Reminder Hey @jkczyz! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Oct 11, 2025
🔔 7th Reminder Hey @jkczyz! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Oct 13, 2025
🔔 8th Reminder Hey @jkczyz! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Oct 15, 2025
🔔 9th Reminder Hey @jkczyz! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Oct 18, 2025
🔔 10th Reminder Hey @jkczyz! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Oct 20, 2025
🔔 11th Reminder Hey @jkczyz! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Oct 22, 2025
🔔 12th Reminder Hey @jkczyz! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Oct 25, 2025
🔔 13th Reminder Hey @jkczyz! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Oct 27, 2025
🔔 14th Reminder Hey @jkczyz! This PR has been waiting for your review. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ldk-reviews-bot
commented
Oct 27, 2025
👋 The first review has been submitted! Do you think this PR is ready for a second reviewer? If so, click here to assign a second reviewer. |
shaavan
commented
Nov 4, 2025
acbadec to
18e6b33Compareshaavan
commented
Nov 4, 2025
Rebased.03 → .04 |
shaavan
commented
Nov 8, 2025
Rebased.04 → .05 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
shaavan
commented
Nov 12, 2025
Updated.05 → .06 Thanks @TheBlueMatt — changes:
|
jkczyz
left a comment
There was a problem hiding this comment.
LGTM. Mostly some nits but one is needed to be addressed to fix CI.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
shaavan
commented
Nov 12, 2025
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Extends the work started in [PR#3917](lightningdevkit#3917) by adding ReceiveAuthKey-based verification for Blinded Payment Paths. This reduces space previously taken by individual ReceiveTlvs and aligns the verification logic with that used for Blinded Message Paths.
Now that we have introduced an alternate mechanism for authentication in the codebase, we can safely remove the now redundant (hmac, nonce) fields from the Payment ReceiveTlvs's while maintaining the security of the onion messages.
shaavan
commented
Nov 13, 2025
TheBlueMatt
left a comment
There was a problem hiding this comment.
Hell yea net code removal!
Uh oh!
There was an error while loading. Please reload this page.
Building on the goals set forth in #3917, this PR introduces ReceiveAuthKey-based verification for Blinded Payment Paths.
Key Outcomes
ReceiveTlvsare noticeably reduced in size, making blinded paths lighter.Follow-Up Preparation
This PR also lays the groundwork for introducing dummy payment hops in a follow-up PR.
By minimizing per-hop authentication data, we keep dummy hops compact — preserving overall path size and ensuring that forward and dummy TLVs are padded to the same length, improving hop indistinguishability and privacy.