Ludovic Courtès 6adce1538d
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.
2022-02-14 11:23:56 +01:00
..
2021-09-17 01:27:40 +02:00
2020-12-21 17:47:35 +01:00
2022-02-14 11:23:07 +01:00
2020-12-09 22:25:17 +01:00
2021-09-28 22:00:47 +02:00
2022-01-16 23:56:56 +01:00
2021-04-12 18:42:22 +02:00
2021-12-17 21:04:25 -08:00
2021-12-23 10:54:00 +01:00
2021-08-12 12:34:13 +02:00