NIP-71: remove aes-256-gcm tag

This commit is contained in:
Asai Toshiya 2024-05-25 01:41:15 +09:00 committed by fiatjaf_
parent 58c76f04e8
commit 5d1d1c178e

2
71.md
View File

@ -26,7 +26,6 @@ The list of tags are as follows:
* `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. * `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.
* `title` (required) title of the video * `title` (required) title of the video
* `"published_at"`, for the timestamp in unix seconds (stringified) of the first time the video was published * `"published_at"`, for the timestamp in unix seconds (stringified) of the first time the video was published
* `"aes-256-gcm"` (optional) key and nonce for AES-GCM encryption with tagSize always 128bits
* `x` containing the SHA-256 hexencoded string of the file. * `x` containing the SHA-256 hexencoded string of the file.
* `size` (optional) size of file in bytes * `size` (optional) size of file in bytes
* `dim` (optional) size of file in pixels in the form `<width>x<height>` * `dim` (optional) size of file in pixels in the form `<width>x<height>`
@ -62,7 +61,6 @@ The list of tags are as follows:
["url",<string with URI of file>], ["url",<string with URI of file>],
["m", <MIME type>], ["m", <MIME type>],
["x",<Hash SHA-256>], ["x",<Hash SHA-256>],
["aes-256-gcm",<key>, <iv>],
["size", <size of file in bytes>], ["size", <size of file in bytes>],
["duration", <duration of video in seconds>], ["duration", <duration of video in seconds>],
["dim", <size of file in pixels>], ["dim", <size of file in pixels>],