diff options
| author | Jonathan Staab <shtaab@gmail.com> | 2023-08-11 13:09:17 -0700 |
|---|---|---|
| committer | Jonathan Staab <shtaab@gmail.com> | 2023-08-11 13:14:52 -0700 |
| commit | 30696049ccdc9f19b9f737b97290a78d0a64ba9c (patch) | |
| tree | 8b2357b2f46b4103f69f06c5fc2bbbef5c30839d /46.md | |
| parent | 00a8f9532eeee918c0417ae0f501c790cd5a3f56 (diff) | |
Deprecate NIP 04
Diffstat (limited to '46.md')
| -rw-r--r-- | 46.md | 10 |
1 files changed, 8 insertions, 2 deletions
| @@ -82,12 +82,18 @@ These are mandatory methods the remote signer app MUST implement: | |||
| 82 | - **get_relays** | 82 | - **get_relays** |
| 83 | - params [] | 83 | - params [] |
| 84 | - result `{ [url: string]: {read: boolean, write: boolean} }` | 84 | - result `{ [url: string]: {read: boolean, write: boolean} }` |
| 85 | - **nip04_encrypt** | 85 | - **nip04_encrypt** (deprecated) |
| 86 | - params [`pubkey`, `plaintext`] | 86 | - params [`pubkey`, `plaintext`] |
| 87 | - result `nip4 ciphertext` | 87 | - result `nip4 ciphertext` |
| 88 | - **nip04_decrypt** | 88 | - **nip04_decrypt** (deprecated) |
| 89 | - params [`pubkey`, `nip4 ciphertext`] | 89 | - params [`pubkey`, `nip4 ciphertext`] |
| 90 | - result [`plaintext`] | 90 | - result [`plaintext`] |
| 91 | - **nip44_encrypt** | ||
| 92 | - params [`pubkey`, `plaintext`] | ||
| 93 | - result `nip44 encrypted payload` | ||
| 94 | - **nip44_decrypt** | ||
| 95 | - params [`pubkey`, `nip44 encrypted payload`] | ||
| 96 | - result [`plaintext`] | ||
| 91 | 97 | ||
| 92 | 98 | ||
| 93 | NOTICE: `pubkey` and `signature` are hex-encoded strings. | 99 | NOTICE: `pubkey` and `signature` are hex-encoded strings. |