File Formats¶
Proxmox File Archive Format (.pxar
)¶
Data Blob Format (.blob
)¶
The data blob format is used to store small binary data. The magic number decides the exact format:
|
unencrypted |
uncompressed |
|
unencrypted |
compressed |
|
encrypted |
uncompressed |
|
encrypted |
compressed |
The compression algorithm used is zstd
. The encryption cipher is
AES_256_GCM
.
Unencrypted blobs use the following format:
|
|
|
Encrypted blobs additionally contain a 16 byte initialization vector (IV), followed by a 16 byte authenticated encryption (AE) tag, followed by the encrypted data:
|
|
|
|
|
Fixed Index Format (.fidx
)¶
All numbers are stored as little-endian.
|
|
|
Unique ID |
|
Creation Time (epoch) |
|
SHA-256 over the index (without header) |
|
Image size |
|
Chunk size |
|
Overall header size is one page (4096 bytes) |
|
First chunk digest |
|
Second chunk digest |
... |
Next chunk digest ... |
Dynamic Index Format (.didx
)¶
All numbers are stored as little-endian.
|
|
|
Unique ID |
|
Creation Time (epoch) |
|
SHA-256 over the index (without header) |
|
Overall header size is one page (4096 bytes) |
|
End of first chunk |
|
First chunk digest |
|
End of second chunk |
|
Second chunk digest |
... |
Next chunk offset/digest |