The download of RustFS MUST be pinned by the SHA-256 of the archive of each platform, from a TLS address of the publisher for one version; an archive that is not the pinned one MUST be refused and MUST NOT be unpacked, a program that was not unpacked from a verified archive MUST NOT be run, the program MUST be kept below the cache folder of the user (XDG on Linux), used again with no download where its digest is the one recorded when it was unpacked, and replaced from a verified archive where it is not.
Enforced (check): .github: cd commons/anyfs-s3 && bun run verify — suite/rustfs.test.ts: the pins and the verified download
Proved by: anyfs-s3/suite/rustfs.test.ts
Written in: anyfs-s3/tools/rustfs.ts
Tests: passed: suite/rustfs.test.ts an archive that is not the pinned one is refused with both digests and nothing of it is un; passed: suite/rustfs.test.ts every pin names a TLS address of the publisher for the version, a SHA-256 and the file in ; passed: suite/rustfs.test.ts the pinned archive is unpacked below the XDG cache folder, the program is executable, it i