pam_ssh_agent_auth: Re-allow multiple authorized keys files

This functionality was initially introduced in
3644f9124a to fix
https://github.com/NixOS/nixos/pull/52, but was broken in the update from 0.9.5
to 0.10.3.  The original patch does not cleanly apply due to reformatting and
parameter changes upstream, but the adaptations of the patch to the new version
are not too severe.
This commit is contained in:
Alexander Kirchhoff
2017-03-03 01:11:53 -08:00
parent 3f116702cc
commit 3948891112
2 changed files with 371 additions and 0 deletions
@@ -8,6 +8,12 @@ stdenv.mkDerivation rec {
sha256 = "0qx78x7nvqdscyp04hfijl4rgyf64xy03prr28hipvgasrcd6lrw";
};
patches =
[ # Allow multiple colon-separated authorized keys files to be
# specified in the file= option.
./multiple-key-files.patch
];
buildInputs = [ pam openssl perl ];
enableParallelBuilding = true;