feat: update spec1.1

This commit is contained in:
2023-03-25 15:50:39 +08:00
parent cf32c86c0c
commit 9a6e5ff067

View File

@@ -29,13 +29,13 @@ Meta format:
| nonce | String | `base64` GCM Nonce |
| fileLength | Long | File Length |
| fileLastModified | Long | File Last Modified, Unix Epoch |
| compress | Boolean | Compressed or Not |
| compress | Boolean | Compressed or Not, GZIP if `true` |
Envelop format:
| Field | Type | Comment |
|--------------|--------|--------------------------|
| type | String | `kms`, `pgp`, ... |
|--------------|--------|-------------------------|
| type | String | Type: `kms`, `pgp`, ... |
| kid | String | Key ID |
| desc | String | \[Optional\] Description |
| desc | String | `optional` Description |
| encryptedKey | String | `base64` Encrypted Key |