feat: update tiny encrypt spec v1.1

This commit is contained in:
2023-02-12 21:32:49 +08:00
parent 1aec5a61f3
commit 84e6928701

View File

@@ -19,14 +19,15 @@ Meta format:
| userAgent | String | User Agent, e.g. `TinyEncrypt v0.5.1@MacOS` |
| comment | String | `optinonal` Plain text comment |
| encryptedComment | String | `optinonal` Encrypted comment |
| encryptedMeta | String | `optional` Encrypted Meta Data |
| pgpEnvelop | String | `deprecated` PGP Publickey Encrypted DataKey |
| pgpFingerprint | String | `deprecated` Hex(Sha256(PGP Publickey)) |
| envelop | String | `deprecated` KMS Encrypted DataKey |
| envelops | Envelop[] | Envelop Array |
| nonce | byte[] | GCM Nonce |
| fileLength | Long | File Length |
| fileLastModified | Long | File Last Modified |
| compress | Boolean | Compress or not |
| fileLastModified | Long | File Last Modified, Unix Epoch |
| compress | Boolean | Compressed or Not |
Envelop format: