feat: update tiny encrypt spec v1.1
This commit is contained in:
@@ -19,14 +19,15 @@ Meta format:
|
|||||||
| userAgent | String | User Agent, e.g. `TinyEncrypt v0.5.1@MacOS` |
|
| userAgent | String | User Agent, e.g. `TinyEncrypt v0.5.1@MacOS` |
|
||||||
| comment | String | `optinonal` Plain text comment |
|
| comment | String | `optinonal` Plain text comment |
|
||||||
| encryptedComment | String | `optinonal` Encrypted comment |
|
| encryptedComment | String | `optinonal` Encrypted comment |
|
||||||
|
| encryptedMeta | String | `optional` Encrypted Meta Data |
|
||||||
| pgpEnvelop | String | `deprecated` PGP Publickey Encrypted DataKey |
|
| pgpEnvelop | String | `deprecated` PGP Publickey Encrypted DataKey |
|
||||||
| pgpFingerprint | String | `deprecated` Hex(Sha256(PGP Publickey)) |
|
| pgpFingerprint | String | `deprecated` Hex(Sha256(PGP Publickey)) |
|
||||||
| envelop | String | `deprecated` KMS Encrypted DataKey |
|
| envelop | String | `deprecated` KMS Encrypted DataKey |
|
||||||
| envelops | Envelop[] | Envelop Array |
|
| envelops | Envelop[] | Envelop Array |
|
||||||
| nonce | byte[] | GCM Nonce |
|
| nonce | byte[] | GCM Nonce |
|
||||||
| fileLength | Long | File Length |
|
| fileLength | Long | File Length |
|
||||||
| fileLastModified | Long | File Last Modified |
|
| fileLastModified | Long | File Last Modified, Unix Epoch |
|
||||||
| compress | Boolean | Compress or not |
|
| compress | Boolean | Compressed or Not |
|
||||||
|
|
||||||
Envelop format:
|
Envelop format:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user