Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

File fingerprints (SHA-256)

Is the Orders.Api.dll on the server the one that was shipped? Are these two appsettings.json files the same? Which exact file does a report or an evidence package mean? TKTail calculates a file’s SHA-256 - its fingerprint - without a command line or a script.

Calculate SHA-256

  • One file: in the File Explorer, right-click it > Calculate SHA-256.
  • Several files: select them (Ctrl / Shift + click) > right-click > Calculate SHA-256 for Selected Files.
  • The open file: File > Calculate SHA-256 of This File, or the Inspector’s FILE menu (…) > Calculate SHA-256.

The File SHA-256 window shows each file, its SHA-256, its size and its status. Large files are read in the background - the window shows the progress, and Jobs lists the request; Cancel Hashing stops it. Closing the window stops nothing: Tools > File SHA-256 Results… opens it again. TKTail reads one file at a time, so hashing many large files never floods the disk.

Copy and export

  • Copy SHA-256 - the fingerprint of the selected file.
  • Copy Path and SHA-256 - path sha256 for each selected file.
  • Copy Table - the selected rows (or all) as a table you can paste into a spreadsheet or a ticket.
  • Export… - the selected rows (or all) as:
    • a SHA-256 list (.sha256, the sha256sum format: <sha256> *<path>) - another computer can check the files with sha256sum -c;
    • CSV for Excel, or JSON for tools (with the file identity, the size and when each was hashed).

Nothing is written unless you export: the results stay in TKTail’s memory until you clear them (Clear Finished) or close TKTail.

What exactly is hashed

  • The file as it is on disk. app.log.gz is hashed as the .gz - not the log inside it; a ZIP as the ZIP. For an archive entry or a compressed log open as a tab, Calculate SHA-256 hashes its archive file. TKTail never hashes an entry or decompressed content.
  • A file that changes while it is read gets no fingerprint. A live log grows while it is read; a rotation can rename it away. TKTail compares the file before and after reading (which file it is, its size, when it was last written, and what its path names afterwards); if anything changed, the status is Changed while hashing with what changed, and no SHA-256 is offered as the file’s. Hash the rotated generation instead, or the file when it is not being written.
  • A file TKTail cannot read (it does not exist, access is denied, it is a folder) says why.

With an AI assistant

An assistant connected over MCP asks for the same fingerprints with tktail_hash_files - by path or by an open source - and gets them as structured data, so it needs no shell to check a deployment. Hashing is reading the file: a path must be allowed by your AI access rules (Extended Investigation); a file they do not allow is refused - never opened - and the assistant learns only that the file it named is not available. One request reads at most 100 files and 16 GB; for more, the assistant asks you to calculate them in TKTail. Each request appears in Jobs as the assistant’s. Details: MCP tool reference.

Hashing writes nothing - also in Forensic Mode, where the results stay in memory for the session (an export needs an output root).

Limits

  • SHA-256 only.
  • The physical file only - no fingerprints of archive entries or of a log’s decompressed content.
  • Not offered: a file’s version information (for programs and libraries).