mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 00:45:53 -05:00
.
This commit is contained in:
parent
e9783b1a80
commit
5534326195
4
112.md
4
112.md
|
@ -12,7 +12,7 @@ This NIP builds on the encryption from NIP-44, the gift-wrap of NIP-59 and the d
|
||||||
|
|
||||||
It works by creating a shared secret that is used to encrypt the group or channel messages. Only the participants know that secret, so only such members can read/write to this group chat. This effectively hides metadata from external users. See drawbacks below.
|
It works by creating a shared secret that is used to encrypt the group or channel messages. Only the participants know that secret, so only such members can read/write to this group chat. This effectively hides metadata from external users. See drawbacks below.
|
||||||
|
|
||||||
It reserves 4 event kinds (104) for immediate use.
|
It reserves 8 event kinds (1059, 400-406) for immediate use.
|
||||||
|
|
||||||
- [`1059`](https://github.com/nostr-protocol/nips/pull/468) - encrypted gift-wrap, can be used by many protocols
|
- [`1059`](https://github.com/nostr-protocol/nips/pull/468) - encrypted gift-wrap, can be used by many protocols
|
||||||
- `400` - wrapped kind: create encrypted channel
|
- `400` - wrapped kind: create encrypted channel
|
||||||
|
@ -20,6 +20,8 @@ It reserves 4 event kinds (104) for immediate use.
|
||||||
- `402` - wrapped kind: change channel metadata
|
- `402` - wrapped kind: change channel metadata
|
||||||
- `403` - wrapped kind: send encrypted message
|
- `403` - wrapped kind: send encrypted message
|
||||||
- `404` - wrapped kind: moved to new channel
|
- `404` - wrapped kind: moved to new channel
|
||||||
|
- `405` - wrapped kind: delegate new owner
|
||||||
|
- `406` - wrapped kind: accept owner delegation
|
||||||
|
|
||||||
|
|
||||||
## Kind 1059: Encrypted Gift Wrap
|
## Kind 1059: Encrypted Gift Wrap
|
||||||
|
|
Loading…
Reference in New Issue
Block a user