upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--94.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/94.md b/94.md
index c5e0f18..b512af4 100644
--- a/94.md
+++ b/94.md
@@ -15,7 +15,8 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
15* `url` the url to download the file 15* `url` the url to download the file
16* `m` a string indicating the data type of the file. The [MIME types](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) format must be used, and they should be lowercase. 16* `m` a string indicating the data type of the file. The [MIME types](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types) format must be used, and they should be lowercase.
17* `"aes-256-gcm"` (optional) key and nonce for AES-GCM encryption with tagSize always 128bits 17* `"aes-256-gcm"` (optional) key and nonce for AES-GCM encryption with tagSize always 128bits
18* `x` containing the SHA-256 hexencoded string of the file. 18* `x` containing the SHA-256 hexencoded string of the **original** file before any server transformations
19* `xx` containing the SHA-256 hexencoded string of the **transformed** file after any server transformations
19* `size` (optional) size of file in bytes 20* `size` (optional) size of file in bytes
20* `dim` (optional) size of file in pixels in the form `<width>x<height>` 21* `dim` (optional) size of file in pixels in the form `<width>x<height>`
21* `magnet` (optional) URI to magnet file 22* `magnet` (optional) URI to magnet file
@@ -37,6 +38,7 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
37 ["aes-256-gcm",<key>, <iv>], 38 ["aes-256-gcm",<key>, <iv>],
38 ["m", <MIME type>], 39 ["m", <MIME type>],
39 ["x",<Hash SHA-256>], 40 ["x",<Hash SHA-256>],
41 ["xx",<Hash SHA-256>],
40 ["size", <size of file in bytes>], 42 ["size", <size of file in bytes>],
41 ["dim", <size of file in pixels>], 43 ["dim", <size of file in pixels>],
42 ["magnet",<magnet URI> ], 44 ["magnet",<magnet URI> ],