Deprecate NIP 04

This commit is contained in:
Jonathan Staab
2023-08-11 13:09:17 -07:00
parent 00a8f9532e
commit 30696049cc
5 changed files with 23 additions and 15 deletions

10
46.md
View File

@@ -82,12 +82,18 @@ These are mandatory methods the remote signer app MUST implement:
- **get_relays**
- params []
- result `{ [url: string]: {read: boolean, write: boolean} }`
- **nip04_encrypt**
- **nip04_encrypt** (deprecated)
- params [`pubkey`, `plaintext`]
- result `nip4 ciphertext`
- **nip04_decrypt**
- **nip04_decrypt** (deprecated)
- params [`pubkey`, `nip4 ciphertext`]
- result [`plaintext`]
- **nip44_encrypt**
- params [`pubkey`, `plaintext`]
- result `nip44 encrypted payload`
- **nip44_decrypt**
- params [`pubkey`, `nip44 encrypted payload`]
- result [`plaintext`]
NOTICE: `pubkey` and `signature` are hex-encoded strings.