diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-02-19T23·46+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-02-19T23·46+0000 |
commit | 041717eda399de5ddbe2a147bafedf1a39993f8e (patch) | |
tree | 0a148424a66c82763be68c29b6797d60e302a711 /ChangeLog | |
parent | 621093cb1c142e125ed1c534fc0c23c1e8404a66 (diff) |
* download-using-manifests: don't check the cryptographic hash of
downloaded files; rather, check the hash of the unpacked store path. When the server produces bzipped NAR archives on demand (like Hydra does), the hash of the file is not known in advance; it's streamed from the server. Thus the manifest doesn't contain a hash for the bzipped NAR archive. However, the server does know the hash of the *uncompressed* NAR archive (the "NarHash" field), since it's stored in the Nix database (nix-store -q --hash /nix/store/bla). So we use that instead for checking the integrity of the download.
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions