# Following the instructions at https://tribut.de/blog/git-commit-signatures-trusted-keys
# Use with git with -c gpg.program='keyedgpg /path/to/keyfile.asc'
-{ coreutils, gawk, homeless-gpg, lib, writeShellScript, }:
+{
+ coreutils,
+ gawk,
+ homeless-gpg,
+ lib,
+ writeShellScript,
+}:
keyfiles:
writeShellScript "keyed-gpg" ''
set -eo pipefail
${homeless-gpg} --keyring="$keyring" "''${trusted_key_args[@]}" "$@"
''
-