BagIt
BagIt is a directory-based packaging format that combines payload files, checksum manifests and metadata tags for storing and transferring digital content.
BagIt 1.0 requires bagit.txt, a data directory and at least one payload manifest; each payload manifest must list every payload file exactly once. [1]
A complete bag has all required elements and referenced files, with its elements conforming to the format. Validity additionally requires every checksum in every payload and tag manifest to verify. Payload-Oxum counts bytes and files, not content identity. [1]
Optional fetch.txt describes remote payload to retrieve before checking completeness, not remote tag files. Optional tag manifests must cover all payload manifests and should cover other tags, but cannot list tag manifests. [1]
Relations
Advantages
- Payload files remain directly accessible through ordinary filesystem tools. [1]
Limitations
- An attacker able to replace both files and manifests can create a different valid bag; authentication needs additional protection. [1]