+24
-1
nixos/modules/security/pam.nix
+24
-1
nixos/modules/security/pam.nix
···{ name = "ssh_agent_auth"; enable = config.security.pam.sshAgentAuth.enable && cfg.sshAgentAuth; control = "sufficient"; modulePath = "${pkgs.pam_ssh_agent_auth}/libexec/pam_ssh_agent_auth.so"; settings = {(let p11 = config.security.pam.p11; in { name = "p11"; enable = cfg.p11Auth; control = p11.control; modulePath = "${pkgs.pam_p11}/lib/security/pam_p11.so"; args = [···This allows using SSH keys exclusively, instead of passwords, for instance on remote machines+Specifying user-writeable files here result in an insecure configuration: a malicious process