Changeset 753 in openpam


Ignore:
Timestamp:
Jan 20, 2014, 10:48:39 AM (7 years ago)
Author:
Dag-Erling Smørgrav
Message:

Note that saving the keyfile updates a TOTP key's lastused parameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/pam_oath/pam_oath.c

    r707 r753  
    139139/*
    140140 * Save the user's key.
     141 * XXX should be a liboath API function.
    141142 */
    142143static int
     
    277278        }
    278279
    279         /* write back (update counter for HOTP etc) */
     280        /* write back the key (update counter for HOTP, lastused for TOTP) */
    280281        if (pam_oath_save_key(key, keyfile) != 0) {
    281282                pam_err = PAM_SERVICE_ERR;
Note: See TracChangeset for help on using the changeset viewer.