Technical note

What is inside a .cms session file

A saved session is not a text log with a different extension. The header identifies the format and the licence; the frames are encrypted with AES-256-GCM.

Updated 2026-10-30 · Applies to 14.0.0.26002 · 4 min read

The file starts with a readable header

The first bytes identify the format and version, then the licence and key identifiers the file is bound to. The frame data after the header is ciphertext - searching the file for a port name or a payload string returns nothing.

43 4D 53 53   "CMSS"
04 00         format version 4
.. ..         header fields
<license id>  bound licence identifier
<key id>      session key identifier
<nonce>       per-file nonce
<ciphertext>  frames, AES-256-GCM

Why the binding matters

The file is encrypted with a key derived from the licence and the machine it was issued for. That is what makes a copied file useless on another machine, and what makes a missing licence a visible failure instead of a silent one.

Save Session As dialog with the .cms file type
Sessions are saved as .cms; the file is bound to the licence used to write it.

Tampering and truncation

Changing bytes in the ciphertext or cutting the file short makes authentication fail. The opener refuses the file rather than loading a partial session. Sessions written by the previous 12.x line use a different format and are not opened by 14.0.

What this means in practice

  • The header is inspectable; the frames are not.
  • A session file is bound to a licence and a machine.
  • Tampered and truncated files are rejected, not partially loaded.

Related notes

Download for Windows