Skip to content

fix(quickget): support algorithm-prefixed hashes and b2sum#1814

Merged
flexiondotorg merged 1 commit intomasterfrom
hash
Jan 24, 2026
Merged

fix(quickget): support algorithm-prefixed hashes and b2sum#1814
flexiondotorg merged 1 commit intomasterfrom
hash

Conversation

@flexiondotorg
Copy link
Member

  • Accept hashes in the form "algo:hash" and normalise prefix to lowercase
  • Map common prefixes (md5, sha1, sha256, sha512, b2sum|blake2|blake2b) to tools
  • Warn and skip verification for unknown prefixes
  • Add macOS GNU coreutils mapping for gb2sum when using b2sum
  • Use printf '%s %s\n' to produce a stable "hash filename" input for --check

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have performed a self-review of my code

- Accept hashes in the form "algo:hash" and normalise prefix to
lowercase
- Map common prefixes (md5, sha1, sha256, sha512, b2sum|blake2|blake2b)
to tools
- Warn and skip verification for unknown prefixes
- Add macOS GNU coreutils mapping for gb2sum when using b2sum
- Use printf '%s  %s\n' to produce a stable "hash  filename" input for
--check

Signed-off-by: Martin Wimpress <martin@wimpress.org>
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

@flexiondotorg flexiondotorg merged commit 0861285 into master Jan 24, 2026
93 of 97 checks passed
@flexiondotorg flexiondotorg deleted the hash branch January 24, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant