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

NIP-26 Import Delegation Token [Feature Request][Enhancement] #451

Open
alltheseas opened this issue Jan 31, 2023 · 5 comments
Open

NIP-26 Import Delegation Token [Feature Request][Enhancement] #451

alltheseas opened this issue Jan 31, 2023 · 5 comments
Labels
feature New feature request NIP

Comments

@alltheseas
Copy link
Collaborator

User Story

As a pleb nostr user who wishes to use Damus to sign events on behalf of a npub stored on a hardware signing device (or other client), I want the capability to sign on behalf of a delegator, so I am not required to copypaste the delegator npub's private key to Damus from the HSD (or other client).

Acceptance Criteria

  1. Damus user can import delegate token generated from HSD (or other client)
  2. Damus user can sign of behalf of delegator
  3. Damus user can toggle between multiple accounts [blocked by multiple accounts https://github.com/Multiple Profiles (multiple accounts) #403]

Damus + HSD Flow:

  1. User generates / loads key on hardware signing device [HSD]
  2. Creates npub delegation token (can authorize other npub on behalf of token on HSD) [HSD]
  3. User loads profile / QR npub of Damus [Damus]
  4. Scan QR code of Damus [HSD]
  5. Review authorization delegation details [HSD]
  6. User authorizes Damus npub to sign on behalf of HSD npub [HSD]
  7. Export delegation token (QR) [HSD] (nostr:delegation example
    image
  8. Scan QR / import delegation token [Damus]

NIP-26
https://github.com/nostr-protocol/nips/blob/master/26.md

Keith Mukai implementation h/t https://github.com/kdmukai

https://youtu.be/-2k6nsMZHJw
https://youtu.be/_8qLi2QM3EE

https://damus.io/note1nqa2wh94hq68fqvtq6p3rfrpgjqe27c2zj9yjvxuujf98mswnzxq0dyuaf

@alltheseas
Copy link
Collaborator Author

@alltheseas alltheseas added feature New feature request NIP labels Jul 12, 2023
@alltheseas
Copy link
Collaborator Author

@dtonon advised NIP-26 delegation is dead

@alltheseas alltheseas closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
@jb55
Copy link
Collaborator

jb55 commented May 8, 2024

that's just like their opinion man

@jb55 jb55 reopened this May 8, 2024
@alltheseas alltheseas closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2024
@alltheseas alltheseas reopened this May 10, 2024
@alltheseas
Copy link
Collaborator Author

😁

@alltheseas
Copy link
Collaborator Author

@jb55 you think this can be used for damus as signature app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request NIP
Projects
None yet
Development

No branches or pull requests

2 participants