aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/m4.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-01-24 11:26:07 +0100
committerMarius Bakke <marius@gnu.org>2022-01-24 11:28:14 +0100
commit98e74d520a30d1ed7d7b47d4f1d9afadefc699e3 (patch)
treed79ce524103092a5d9a16f0a019aa6728ac44f68 /gnu/packages/m4.scm
parent5664a64e511a2cb48f159138484be8df59c01bd9 (diff)
downloadguix-98e74d520a30d1ed7d7b47d4f1d9afadefc699e3.tar.gz
guix-98e74d520a30d1ed7d7b47d4f1d9afadefc699e3.zip
etc: Add more SELinux permissions for the daemon.
* etc/guix-daemon.cil.in (guix_daemon): Permit write on guix_daemon_conf_t sock_file, necessary for garbage collection.
Diffstat (limited to 'gnu/packages/m4.scm')
0 files changed, 0 insertions, 0 deletions
ns. (LocalStore::exportPath): Use 'signHash' instead of inline code. (LocalStore::importPath): Use 'verifySignature' instead of inline code. Ludovic Courtès 2020-09-14daemon: Generalize 'HookInstance' to 'Agent'....* nix/libstore/build.cc (HookInstance): Rename to... (Agent): ... this. Rename 'toHook' and 'fromHook' similarly and update users. Change constructor to require a command and an argument list. (DerivationGoal::tryBuildHook): Pass arguments to the 'Agent' constructor. Ludovic Courtès 2020-09-11daemon: 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. Ludovic Courtès