guix/nix
Ludovic Courtès 6dd8ffc574
daemon: Simplify interface with 'guix authenticate'.
There's no reason at this point to mimic the calling convention of the
'openssl' command.

* nix/libstore/local-store.cc (LocalStore::exportPath): Add only "sign"
and HASH to ARGS.  Remove 'tmpDir' and 'hashFile'.
(LocalStore::importPath): Add only "verify" and SIGNATURE to
* guix/scripts/authenticate.scm (guix-authenticate): Adjust
accordingly; remove the OpenSSL-style clauses.
(read-hash-data): Remove.
(sign-with-key): Replace 'port' with 'sha256' and adjust accordingly.
(validate-signature): Export SIGNATURE to be a canonical sexp.
* tests/guix-authenticate.sh: Adjust tests accordingly.
2020-09-11 17:53:58 +02:00
..
boost nix: Tweak .gitignore files. 2020-06-24 19:55:22 +01:00
libstore daemon: Simplify interface with 'guix authenticate'. 2020-09-11 17:53:58 +02:00
libutil daemon: Recognize SHA3 and BLAKE2s. 2020-06-27 23:42:20 +02:00
nix-daemon
.gitignore
AUTHORS
COPYING
local.mk daemon: Remove OpenSSL hash compatibility wrappers. 2020-06-27 23:42:20 +02:00