aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/nip17.ts
Commit message (Collapse)AuthorAgeFilesLines
* Remove need for explicit key entryAdrien Hopkins2025-09-051-14/+16
| | | | | | | | | If window.nostr is available, I don't need the sender's SK, I can do everything with its functions. Otherwise, I'll ask for the SK using getPrivateKey(). The override public key was only for testing, but I still don't need it because I can get the users' private keys from the settings tab.
* Seal with NIP-07 if availableAdrien Hopkins2025-09-051-2/+21
| | | | This makes the system work with any nostr extensions you might be using.
* Add improved NIP-17 codeAdrien Hopkins2025-08-261-0/+59
This is based on an audited NIP-44 implementation.