getAlby / lightning-browser-extension

The Bitcoin Lightning Browser Extension that brings deep Lightning & Nostr integration to the web. Wallet interface to multiple lightning nodes and key signer for Nostr, Liquid and onchain use.
https://getalby.com/#extension
MIT License
539 stars 194 forks source link

Sign arbitrary messages with Alby #413

Closed MoritzKa closed 2 years ago

MoritzKa commented 2 years ago

Allow Alby users to sign arbitrary messages. Similar to lnurl auth when signing a challenge, but with anything the website likes to be signed.

According to Kollider it might make user data management much simpler and reduces liability from Lapp operator point of view.

MoritzKa commented 2 years ago

Maybe should be part of the WebLN spec. But couldn't Alby serve as a testbed for WebLN feature requests?

bumi commented 2 years ago

we have this already: https://webln.dev/#/api/sign-message

most of the connectors should support that. but we need to build an interface for that: https://github.com/getAlby/lightning-browser-extension/issues/242 (right now we just sign anything)