mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
Only for file-URL content
This commit is contained in:
parent
51389571bc
commit
c00e2b7550
4
17.md
4
17.md
|
@ -54,7 +54,7 @@ Kind `14`s MUST never be signed. If it is signed, the message might leak to rela
|
||||||
["decryptiion-nonce", "<decryption-nonce>"],
|
["decryptiion-nonce", "<decryption-nonce>"],
|
||||||
// rest of tags...
|
// rest of tags...
|
||||||
],
|
],
|
||||||
"content": "<file-url-or-base64-content-in-plain-text>"
|
"content": "<file-url>"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ Kind 15 is used for sending encrypted file event messages:
|
||||||
- `encryption-algorithm`: Indicates the encryption algorithm used for encrypting the file. Supported algorithms may include `aes-gcm`, `chacha20-poly1305`,`aes-cbc` etc.
|
- `encryption-algorithm`: Indicates the encryption algorithm used for encrypting the file. Supported algorithms may include `aes-gcm`, `chacha20-poly1305`,`aes-cbc` etc.
|
||||||
- `decryption-key`: The decryption key that will be used by the recipient to decrypt the file.
|
- `decryption-key`: The decryption key that will be used by the recipient to decrypt the file.
|
||||||
- `decryption-nonce`: The decryption nonce that will be used by the recipient to decrypt the file.
|
- `decryption-nonce`: The decryption nonce that will be used by the recipient to decrypt the file.
|
||||||
- `content`: Contains either the URL of the file (`<file-url>`) or the encrypted data in base64 format (`<base64-content-in-plain-text>`).
|
- `content`: The URL of the file (`<file-url>`).
|
||||||
|
|
||||||
## Chat Rooms
|
## Chat Rooms
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user