Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow duosec to be used in nixos as a pam module. #55792
A bit of no idea dog here -- I'm not entirely sure I understand the testing requirements yet for a nixos-only change. Please let me know if I misunderstood what to do.
Also, while I updated documentation in the nixos module, if additional documentation is needed please let me know where it should go.
Motivation for this change
Make it possible to configure duosec with pam for ssh. It allows folks to use ssh keys without a 2FA prompt, but passwords with a 2FA prompt.
I tested this by installing settings on a machine with ssh with this configuration:
I did manual tests: