diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2022-02-09 18:36:35 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2022-02-14 11:23:56 +0100 |
| commit | 6adce1538d2df6fa2d68abc13ae94e2fa826d124 (patch) | |
| tree | 082b9a1355cdb8a321a11f312ef2b2d9ed0a57ec /nix/libutil/hash.hh | |
| parent | ca87601dd97dd9d356409827802eb0f8a3a535f0 (diff) | |
publish: Do not sign the URL/Compression/FileSize narinfo fields.
This will allow mirror operators to alter these non-normative bits of a
narinfo without having to resign narinfos.
* guix/scripts/publish.scm (narinfo-string): Remove
URL/Compression/FileSize from BASE-INFO. Move them after "Signature".
* tests/publish.scm ("/*.narinfo")
("/*.narinfo with properly encoded '+' sign")
("/*.narinfo with lzip + gzip")
("with cache, lzip + gzip"): Adjust accordingly.
* tests/substitute.scm ("query narinfo with signature over relevant subset"):
New test.
Diffstat (limited to 'nix/libutil/hash.hh')
0 files changed, 0 insertions, 0 deletions
