aboutsummaryrefslogtreecommitdiff
path: root/tests/upstream.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-09-11 12:51:36 +0200
committerLudovic Courtès <ludo@gnu.org>2020-09-14 15:42:55 +0200
commit64cf660f872fb7aaf0d2b463e45b4c756297f743 (patch)
treee1fdd38b1a704915b4df4cd0b7db6669bd7b77dc /tests/upstream.scm
parentee9dff34f9317509cb2b833d07a0d5e01a36a4ae (diff)
downloadguix-64cf660f872fb7aaf0d2b463e45b4c756297f743.tar.gz
guix-64cf660f872fb7aaf0d2b463e45b4c756297f743.zip
daemon: Spawn 'guix authenticate' once for all.
Previously, we'd spawn 'guix authenticate' once for each item that has to be signed (when exporting) or authenticated (when importing). Now, we spawn it once for all and then follow a request/reply protocol. This reduces the wall-clock time of: guix archive --export -r $(guix build coreutils -d) from 30s to 2s. * guix/scripts/authenticate.scm (sign-with-key): Return the signature instead of displaying it. Raise a &formatted-message instead of calling 'leave'. (validate-signature): Likewise. (read-command): New procedure. (define-enumerate-type, reply-code): New macros. (guix-authenticate)[send-reply]: New procedure. Change to read commands from current-input-port. * nix/libstore/local-store.cc (runAuthenticationProgram): Remove. (authenticationAgent, readInteger, readAuthenticateReply): New functions. (signHash, verifySignature): Rewrite in terms of the agent. * tests/store.scm ("import not signed"): Remove 'pk' call. ("import signed by unauthorized key"): Check the error message of C. * tests/guix-authenticate.sh: Rewrite using the new protocol. fixlet
Diffstat (limited to 'tests/upstream.scm')
0 files changed, 0 insertions, 0 deletions
pan class='msg-avail'>...Efraim Flashner 2024-02-20gnu: rust-bootstrap: Clean-up code....Efraim Flashner 2024-02-20gnu: mrustc: Update to 0.10.1....Efraim Flashner 2024-02-20gnu: make-rust-sysroot: Remove unneeded input....Efraim Flashner 2024-02-20gnu: rust-1.55: Build with fewer packages....Efraim Flashner 2024-02-20gnu: rust-bootstrap: Build with fewer packages....Efraim Flashner 2024-02-20gnu: rust: Update to 1.75.0....Efraim Flashner 2024-02-20gnu: rust-1.55: Build without jemalloc....Efraim Flashner 2024-02-20gnu: rust: Use platform-rust-target....Efraim Flashner 2024-02-20gnu: rust: Update to 1.74.1....Efraim Flashner 2024-02-20gnu: rust: Move remove-uninstall-script to rust....Efraim Flashner 2024-01-14gnu: Make intermediate packages public but hidden....Ludovic Courtès 2024-01-12packages: rust: Memoize make-rust-sysroot results....Christopher Baines 2023-12-13gnu: rust-1.64: Don't make package public....Efraim Flashner 2023-11-28gnu: rust: Add triplets for Windows....Efraim Flashner 2023-11-28gnu: rust: Add triplet for the Hurd....Efraim Flashner 2023-11-28gnu: Add make-rust-sysroot....Efraim Flashner 2023-11-28gnu: rust: Allow using custom rust-src for rust-analyzer....Efraim Flashner 2023-11-28gnu: rust-analyzer: Move to rust.scm....Efraim Flashner 2023-11-28gnu: Remove rust-src-1.64....Efraim Flashner 2023-11-28gnu: rust: Update to 1.73.0....Efraim Flashner 2023-10-23gnu: Add rust-1.73....Herman Rimm 2023-10-18gnu: Add rust-1.72....Efraim Flashner 2023-10-18gnu: Add rust-1.71....Efraim Flashner 2023-10-18gnu: rust: Fix test failures on some architectures....Efraim Flashner 2023-10-18gnu: rust: Wrap rust-analyzer with rust source....Efraim Flashner 2023-10-18gnu: rust: Build more tools....Efraim Flashner 2023-10-18gnu: rust: Update to 1.70.0....Efraim Flashner 2023-10-18gnu: rust: Add make-ignore-test-list function....Fries 2023-10-18gnu: Add rust-1.70....Fries 2023-10-18gnu: Add rust-1.69....Fries 2023-09-16gnu: rust-1.55: Remove i586-gnu from supported-systems....Christopher Baines 2023-09-09gnu: rust-analyzer: Fix build of version 2022-01-10....Distopico