Urgent.News

What's breaking now, across hundreds of outlets.

Tech

512 bytes at a time: reconstructing IBM i save-file checksums

To reconstruct IBM i save-file checksums, one must consider two container-consistency checksum mechanisms used by IBM i save files, also known as SAVFs. Each 512-byte payload within a SAVF has a 16-byte trailer, and the logical stream carries a 16-byte global checksum in its final payload. Both mechanisms were reconstructed, modified, and repaired by creating a small SAVF containing a disposable program named USERB1/CALLAES.

The original SAVF was transferred as a binary file for inspection byte by byte. After modifying three payload bytes and a stale global checksum, repairing the container changed only the global-checksum field and the final record trailer. The global algorithm's table and constants were found in IBM i Licensed Internal Code (LIC) installation media.

The reconstructed format allowed removing one complete object from a two-object SAVF. The SAVF's deterministic, unkeyed checksum values provide internal consistency checks but do not authenticate the source or prevent modification.

Rewritten by urgent.news; may contain errors — check the original.

Source: blog.silentsignal.eu

Read the original at blog.silentsignal.eu →

Report a problem with this story

More in Tech

Hello Python 3.15, goodbye 3.10, and now I can use 3.11

Python 3.15 is here ! Here's the essential What's new in Python 3.15 guide, this year curated by 3.14 and 3.15 release manager Hugo van Kemenade.

  • Python 3.15 released, replacing 3.10
  • Explicit lazy imports introduced via PEP 810
  • Sublist unpacking and improved profiling tools added

More from Monday 12 October →