Skip to content

LUD-03: withdrawRequest k1 should be signed using same key derived from LUD-04 #169

Description

@cmdruid

Hello. I think the k1 value used during withdrawRequest process should be signed using the same key derivation process outlined in LUD-04. That way, requests from the same domain are signed by the same key used in LUD-04, and a stored user session can also verify a wallet responding to a withdrawRequest.

This will solve the problem outlined in LUD-03 where anyone with the k1 value can submit their bolt11 invoice to be paid. With the proposed change above, sites could reuse a user's authenticated session from LUD-04 to verify a signed k1 value for processing a bolt11 withdraw.

Thank you for reading. Let me know what you think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideaEarly-stage proposal or discussion, no spec written yetlud-extensionAdds a field or behavior to an existing LUDstaleNo activity for 12+ months. Will be closed in 30 days if no further action.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions