Narseed
Verified multi-source package distribution for NixOS
Nix and NixOS install most software as pre-built packages from a binary cache, usually a central server. Downloads can only be as fast and available as that server, and anyone running a mirror must be trusted not to tamper with what they serve. narseed removes the need for that trust. It lets a Nix host fetch packages in parallel from multiple untrusted sources, such as other Nix hosts, low-cost static mirrors as well as existing caches. It verifies every byte against the signatures already published by the official caches. A misbehaving source can waste some bandwidth but never lead to wrong software to be installed, and Nix itself doesn't need any change.
This project was funded through the NGI Fediversity Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, as a pilot programme under the aegis of DG Communications Networks, Content and Technology. NGI Fediversity is part of the Horizon Europe research and innovation programme under grant agreement No. 101136078.