| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Currently, this just takes a message from the text box and returns its
decrypted version, but next I will make it decrypt messages it gets from
relays.
This code works with both NIP-07 (window.nostr) and getPrivateKey(). If
both are available, it chooses NIP-07 like the encryption code.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
This makes the system work with any nostr extensions you might be using.
|
|
|
This is based on an audited NIP-44 implementation.
|