diff -up shadow-4.8.1/lib/getdef.c.login_defs_HMAC_CRYPTO_ALGO shadow-4.8.1/lib/getdef.c --- shadow-4.8.1/lib/getdef.c.login_defs_HMAC_CRYPTO_ALGO 2021-06-24 15:55:32.960558932 +0200 +++ shadow-4.8.1/lib/getdef.c 2021-06-24 15:55:32.975559187 +0200 @@ -61,6 +61,7 @@ struct itemdef { {"ENV_TZ", NULL}, \ {"FAILLOG_ENAB", NULL}, \ {"FTMP_FILE", NULL}, \ + {"HMAC_CRYPTO_ALGO", NULL}, \ {"ISSUE_FILE", NULL}, \ {"LASTLOG_ENAB", NULL}, \ {"LOGIN_STRING", NULL}, \ diff -up shadow-4.8.1/man/login.defs.5.xml.login_defs_HMAC_CRYPTO_ALGO shadow-4.8.1/man/login.defs.5.xml --- shadow-4.8.1/man/login.defs.5.xml.login_defs_HMAC_CRYPTO_ALGO 2021-06-24 15:55:32.929558405 +0200 +++ shadow-4.8.1/man/login.defs.5.xml 2021-06-24 15:55:32.975559187 +0200 @@ -50,6 +50,7 @@ + @@ -197,6 +198,7 @@ &FAKE_SHELL; &FTMP_FILE; &GID_MAX; + &HMAC_CRYPTO_ALGO; &HOME_MODE; &HUSHLOGIN_FILE; &ISSUE_FILE; diff -up shadow-4.8.1/man/login.defs.d/HMAC_CRYPTO_ALGO.xml.login_defs_HMAC_CRYPTO_ALGO shadow-4.8.1/man/login.defs.d/HMAC_CRYPTO_ALGO.xml --- shadow-4.8.1/man/login.defs.d/HMAC_CRYPTO_ALGO.xml.login_defs_HMAC_CRYPTO_ALGO 2021-06-24 15:55:32.975559187 +0200 +++ shadow-4.8.1/man/login.defs.d/HMAC_CRYPTO_ALGO.xml 2021-06-24 15:55:32.975559187 +0200 @@ -0,0 +1,44 @@ + + + (string) + + + Used to select the HMAC cryptography algorithm that the pam_timestamp + module is going to use to calculate the keyed-hash message authentication + code. + + + Note: Check hmac3 + to see the possible algorithms that are available in your system. + + + diff -up shadow-4.8.1/man/Makefile.am.login_defs_HMAC_CRYPTO_ALGO shadow-4.8.1/man/Makefile.am --- shadow-4.8.1/man/Makefile.am.login_defs_HMAC_CRYPTO_ALGO 2021-06-24 15:55:32.975559187 +0200 +++ shadow-4.8.1/man/Makefile.am 2021-06-24 15:57:11.231229970 +0200 @@ -136,6 +136,7 @@ login_defs_v = \ FAKE_SHELL.xml \ FTMP_FILE.xml \ GID_MAX.xml \ + HMAC_CRYPTO_ALGO.xml \ HUSHLOGIN_FILE.xml \ ISSUE_FILE.xml \ KILLCHAR.xml \