Skip to content

safe-bash: register sha512sum/sha384sum/sha224sum (checksum engine already supports these algorithms) #673

Description

@kamilio

Missing: sha512sum, sha384sum, sha224sum. Only sha256sum, sha1sum, md5sum, cksum are registered.

Cheap win: the checksum engine already implements sha512/sha384/sha224 (src/commands/bytes/checksums/index.ts:13 Algorithm union; digit widths at :175). Only the command registration at :274 omits them. Add command("sha512sum","sha512",…) etc. sha512sum is very common.

Behavior: match GNU coreutils sha512sum (default and -c/--check, --tag, -z, escaped-filename \ prefix) — identical to the existing sha256sum implementation.

From the safe-bash command gap analysis (2026-09-08). Sandbox constraints apply: bounded input/CPU/memory, VFS-only paths, cooperative cancellation, no host process/network beyond the existing curl authorizer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions