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

Support Signing via a browser plugin #3

Open
5 tasks
NfNitLoop opened this issue Jan 21, 2025 · 0 comments
Open
5 tasks

Support Signing via a browser plugin #3

NfNitLoop opened this issue Jan 21, 2025 · 0 comments

Comments

@NfNitLoop
Copy link
Member

One thing I liked about the Nostr ecosystem is that they had browser plugins that would allow you to sign things without having to constantly input your private key. We should do that for Diskuto.

Right now, there's a "signing tool" that does this in the browser. While that's somewhat secure since I know the implementation, it's difficult to trust that as a user.

Write a plugin that:

  • Preferably works across Chrome/Firefox/Safari without needing different codebases.

  • DOES NOT require read access to the web page (i.e.: all web pages) until a user clicks on the extension button.

  • Supports multiple identities

  • Saves private keys for identities, preferably with an attached "name" so it's easy to distinguish them.

  • When the user clicks the plugin icon in their browser, it should:
    * Look for a signing request on the page. (simplest: hidden <input> element.)
    * Prompts the user to confirm they want to sign as a given user.
    * Places the signature into the signature field on the page.

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