Skip to content

Replace MD5 checksums with SHA256. #110

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: gh-pages
Choose a base branch
from

Conversation

plietar
Copy link

@plietar plietar commented Jan 22, 2024

MD5 checksums are insecure, and there are tools that may want to consume the index that do not support this hash algorithm.

In particular, https://github.com/bouk/arduino-nix is a project which transforms arduino indexes into Nix derivations, however nixpkgs has recently removed support for md5 hashes in derivations. This makes it impossible to consume the Adafruit board index with this tool.

This was done systematically using the following script: https://gist.github.com/plietar/301bfcd529d87fd8e091140980b8460f

MD5 checksums are insecure, and there are tools that may want to consume
the index that do not support this hash algorithm.

In particular, https://github.com/bouk/arduino-nix is a project which
transforms arduino indexes into Nix derivations, however nixpkgs has
recently removed support for md5 hashes in derivations. This makes it
impossible to consume the Adafruit board index with this tool.

This was done systematically using the following script:
https://gist.github.com/plietar/301bfcd529d87fd8e091140980b8460f
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