microsoft / microsoft/winget-cli
[New Feature]: Migrate to SHA3-256
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature/enhancement
Instead of SHA2, it would be forward looking to start using SHA3 for everything from the indexed manifest locations to having it available as an option instead of SHA2 for the installer checksum
Proposed technical implementation details (optional)
- Update the index creation to use SHA3 and republish with a new index
- Add a new manifest field for installer SHA3-256, and update logic to require either the SHA256 or SHA3-256, and enlighten the client to use whichever algorithm is appropriate
- Update Icons to use SHA3-256
- Add new manifest field for FileSha3-256
- Add new manifest field for SignatureSha3-256
- Update Manifest Creation Tools to use SHA3 instead of SHA2
This could probably be separated into several sub-issues for wherever SHA2 hashes are currently used across the product, as I'm sure each portion will require a slightly different approach or implementation
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by mapping the SHA2 uses named in the issue: index creation, installer checksums, icons, manifest fields, signatures, and manifest creation tools. Determine whether these areas should become separate sub-issues; done would require an agreed scope and corresponding client, manifest, index, and tooling changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, security
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100