Skip to content

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