What is happening
The RPM format stores signature and header index/data sections before the payload. Header boundaries, tag offsets, digest algorithms, and compressor details must agree before recovered files can be associated confidently with package metadata.