"""
Walk over instances of the magic string in the payload, collecting their
positions. If the offset of the first found instance is not zero, the file
- begins with leading garbage.
+ begins with leading garbage. Used by desaster recovery.
:return: The list of offsets in the file.
"""
Always creates a fresh decryptor, so validation steps across objects don’t
apply.
- Errors during GCM tag validation are ignored.
+ Errors during GCM tag validation are ignored. Used by desaster recovery.
"""
ctleft = hdr ["ctsize"]
pos = off