Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify blinded keysend PaymentSecrets #2956

Open
valentinewallace opened this issue Mar 20, 2024 · 0 comments
Open

Verify blinded keysend PaymentSecrets #2956

valentinewallace opened this issue Mar 20, 2024 · 0 comments

Comments

@valentinewallace
Copy link
Contributor

With unblinded MPP keysends, we do not verify the payment secret because it's payer-supplied. However, for blinded keysends, the recipient creates the payment secret to provide back to themselves, so we should inbound_payment::verify it.

We'll need to create a new inbound payment type for this (see inbound_payment::Method) because we don't know the payment hash at the time of payment secret creation.

cc #2298

@valentinewallace valentinewallace mentioned this issue Mar 20, 2024
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant