mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
* tests/substitute-binary.scm (signature-body): Change 'str' parameter
to 'bv', and expect it to be a bytevector.
(%signature-body, %wrong-signature, %acl): Remove.
(signature): Rename to...
(signature-field): ... this. Add 'bv-or-str' parameter. Change 'str'
parameter to #:version. Add #:public-key parameter. Call
'signature-body' directly. Change domain part of the signature to
'example.gnu.org'.
("not a number", "wrong version number", "valid
narinfo-signature->canonical-sexp"): Use 'signature-field' instead of
'signature' or %SIGNATURE.
(test-error-condition): Add 'message-rx' parameter and honor it.
("corrupt signature data", "unauthorized public key", "invalid
signature"): Adjust accordingly.
(narinfo, %signed-narinfo): Remove.
("query narinfo with invalid hash"): Use '%narinfo' and
'signature-field' instead of 'narinfo' and '%signature'.
("query narinfo signed with authorized key", "query narinfo signed
with unauthorized key", "substitute, invalid hash", "substitute,
unauthorized key"): Likewise.
|
||
|---|---|---|
| .. | ||
| base32.scm | ||
| base64.scm | ||
| build-utils.scm | ||
| builders.scm | ||
| derivations.scm | ||
| guix-archive.sh | ||
| guix-authenticate.sh | ||
| guix-build.sh | ||
| guix-daemon.sh | ||
| guix-download.sh | ||
| guix-gc.sh | ||
| guix-hash.sh | ||
| guix-package.sh | ||
| guix-register.sh | ||
| hash.scm | ||
| monads.scm | ||
| nar.scm | ||
| packages.scm | ||
| pk-crypto.scm | ||
| pki.scm | ||
| profiles.scm | ||
| records.scm | ||
| signing-key.pub | ||
| signing-key.sec | ||
| snix.scm | ||
| store.scm | ||
| substitute-binary.scm | ||
| test.drv | ||
| ui.scm | ||
| union.scm | ||
| utils.scm | ||