Expand description
Reads an agent archive without trusting it. Opening checks everything that can be checked without reading a part: the manifest (kind, format, shape, paths, sizes, caps), that the file holds exactly the parts the manifest names and nothing else, that no entry is a link or a directory, that no part claims a size its compressed form cannot hold, and the signature. Reading a part checks it chunk by chunk before any chunk is handed on, so a part that was changed is never used up to the point it was changed.