feat: update spec1.1
This commit is contained in:
@@ -26,16 +26,16 @@ Meta format:
|
||||
| ageRecipient | String | `deprecated` Hex(Sha256(PGP Publickey)) |
|
||||
| envelop | String | `deprecated` KMS Encrypted DataKey |
|
||||
| envelops | Envelop[] | Envelop Array |
|
||||
| nonce | String | `base64` GCM Nonce |
|
||||
| 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`, ... |
|
||||
| kid | String | Key ID |
|
||||
| desc | String | \[Optional\] Description |
|
||||
| encryptedKey | String | `base64` Encrypted Key |
|
||||
| Field | Type | Comment |
|
||||
|--------------|--------|-------------------------|
|
||||
| type | String | Type: `kms`, `pgp`, ... |
|
||||
| kid | String | Key ID |
|
||||
| desc | String | `optional` Description |
|
||||
| encryptedKey | String | `base64` Encrypted Key |
|
||||
Reference in New Issue
Block a user