Filter out keys tagged as no-touch-required when choosing a signing key for notgne2
This commit is contained in:
parent
1e9a7f032b
commit
809a360285
@ -251,7 +251,7 @@ in {
|
||||
gpg.format = "ssh";
|
||||
gpg.ssh.defaultKeyCommand = toString (pkgs.writeShellScript "git-ssh-key" ''
|
||||
echo -n 'key::'
|
||||
ssh-add -L
|
||||
${pkgs.openssh}/bin/ssh-add -L | ${pkgs.gnugrep}/bin/grep -v 'no-touch-required'
|
||||
'');
|
||||
};
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user