Skip to content

feat: Handle SHA256 & SHA512 hashes #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: Handle SHA256 & SHA512 hashes #10

wants to merge 1 commit into from

Conversation

jacobgkau
Copy link
Member

The sha-1 crate currently in use is deprecated, so I replaced it with its successor.

The new sha256/sha512 functionality may be required for pop-os/upgrade#354. Even if it doesn't turn out we need it for that particular PR, apt supports all of these algorithms, so it seems like a good idea for apt-cmd to also support them.

* Replace deprecated SHA-1 crate with SHA1 crate
* Add SHA2 crate to handle SHA256 & SHA512
@jacobgkau jacobgkau marked this pull request as ready for review June 18, 2025 08:23
@jacobgkau jacobgkau requested review from a team and removed request for a team June 18, 2025 08:23
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.

2 participants