Clarify character case of m tag value (#767)

This commit is contained in:
Asai Toshiya 2023-09-08 21:11:38 +09:00 committed by GitHub
parent c567f2e4d6
commit e3504024a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
94.md
View File

@ -13,7 +13,7 @@ The purpose of this NIP is to allow an organization and classification of shared
This NIP specifies the use of the `1063` event type, having in `content` a description of the file content, and a list of tags described below:
* `url` the url to download the file
* `m` a string indicating the data type of the file. The MIME types format must be used (https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types)
* `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.
* `"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.
* `size` (optional) size of file in bytes