Checksum manifest verify

checksum-manifest-verify · version 1.0.0 · Hashing & signatures · free, no key needed

Parse a GNU/BSD checksum manifest (sha256sum -c, tagged form) and verify caller-supplied file contents against it.

Use when you need to: verify sha256sums.txt against these files · check a checksums manifest · verify an md5sums file against these files.

Decide before calling

Read the versioned contract and the supported scope below. Reuse checksum-manifest-verify@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use checksum-manifest-verify@1.0.0 for verify sha256sums.txt against these files. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "manifest": "5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03  hello.txt\n",
  "algorithm": "sha256",
  "files": [
    {
      "name": "hello.txt",
      "content": "hello\n"
    }
  ]
}

Response:

{
  "result": {
    "valid": true,
    "results": [
      {
        "name": "hello.txt",
        "status": "ok"
      }
    ],
    "unlisted_files": [],
    "bad_lines": [],
    "counts": {
      "manifest_lines": 1,
      "checked": 1,
      "ok": 1,
      "mismatch": 0,
      "missing": 0,
      "unlisted": 0,
      "bad_lines": 0
    }
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "checksum-manifest-verify",
  "version": "1.0.0",
  "input": {
    "manifest": "5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03  hello.txt\n",
    "algorithm": "sha256",
    "files": [
      {
        "name": "hello.txt",
        "content": "hello\n"
      }
    ]
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/checksum-manifest-verify/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"manifest":"5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03  hello.txt\n","algorithm":"sha256","files":[{"name":"hello.txt","content":"hello\n"}]}'

The machine-readable contract is at /v1/tools/checksum-manifest-verify/versions/1.0.0.

CLI

node cli.mjs run checksum-manifest-verify 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.