1 # This module provides configuration for the OATH PAM modules.
14 description = lib.mdDoc ''
15 Enable the OATH (one-time password) PAM module.
20 type = types.enum [ 6 7 8 ];
22 description = lib.mdDoc ''
23 Specify the length of the one-time password in number of
31 description = lib.mdDoc ''
32 Specify the number of one-time passwords to check in order
33 to accommodate for situations where the system and the
34 client are slightly out of sync (iteration for HOTP or time
39 usersFile = mkOption {
41 default = "/etc/users.oath";
42 description = lib.mdDoc ''
43 Set the path to file where the user's credentials are
44 stored. This file must not be world readable!