feat: update spec1.1
This commit is contained in:
@@ -26,16 +26,16 @@ Meta format:
|
|||||||
| ageRecipient | String | `deprecated` Hex(Sha256(PGP Publickey)) |
|
| ageRecipient | 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 | String | `base64` GCM Nonce |
|
| nonce | String | `base64` GCM Nonce |
|
||||||
| fileLength | Long | File Length |
|
| fileLength | Long | File Length |
|
||||||
| fileLastModified | Long | File Last Modified, Unix Epoch |
|
| fileLastModified | Long | File Last Modified, Unix Epoch |
|
||||||
| compress | Boolean | Compressed or Not |
|
| compress | Boolean | Compressed or Not, GZIP if `true` |
|
||||||
|
|
||||||
Envelop format:
|
Envelop format:
|
||||||
|
|
||||||
| Field | Type | Comment |
|
| Field | Type | Comment |
|
||||||
|--------------|--------|--------------------------|
|
|--------------|--------|-------------------------|
|
||||||
| type | String | `kms`, `pgp`, ... |
|
| type | String | Type: `kms`, `pgp`, ... |
|
||||||
| kid | String | Key ID |
|
| kid | String | Key ID |
|
||||||
| desc | String | \[Optional\] Description |
|
| desc | String | `optional` Description |
|
||||||
| encryptedKey | String | `base64` Encrypted Key |
|
| encryptedKey | String | `base64` Encrypted Key |
|
||||||
Reference in New Issue
Block a user