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, 1 insertions, 3 deletions
diff --git a/94.md b/94.md
index 77944a0..c5e0f18 100644
--- a/94.md
+++ b/94.md
@@ -15,8 +15,7 @@ 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 **transformed** file after any server transformations 18* `x` containing the SHA-256 hexencoded string of the file.
19* `ox` containing the SHA-256 hexencoded string of the **original** file before any server transformations
20* `size` (optional) size of file in bytes 19* `size` (optional) size of file in bytes
21* `dim` (optional) size of file in pixels in the form `<width>x<height>` 20* `dim` (optional) size of file in pixels in the form `<width>x<height>`
22* `magnet` (optional) URI to magnet file 21* `magnet` (optional) URI to magnet file
@@ -38,7 +37,6 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
38 ["aes-256-gcm",<key>, <iv>], 37 ["aes-256-gcm",<key>, <iv>],
39 ["m", <MIME type>], 38 ["m", <MIME type>],
40 ["x",<Hash SHA-256>], 39 ["x",<Hash SHA-256>],
41 ["ox",<Hash SHA-256>],
42 ["size", <size of file in bytes>], 40 ["size", <size of file in bytes>],
43 ["dim", <size of file in pixels>], 41 ["dim", <size of file in pixels>],
44 ["magnet",<magnet URI> ], 42 ["magnet",<magnet URI> ],