For LDAP password expiration, there is an option in OpenOTP Password
Policy (Password Max Age).
Yet, it is not recommended to use it because the ppolicy os for
everyone in OpenOTP and also applies to application accounts (ex.
WebADM Proxy Account.
If you activate this, please configure WebADM proxy user to use
default OpenLDAP admin account (cn=admin,or=root) which does not
expire by default. All the other users will have password expiration.
Problem is : OpenOTP does not detect expired passwords. So user cannot
login without knowing password expired.
We will work on this...
The PIN expiration option was discussed here and rejected because:
- LDAP (ex. AD) & PIN expirations is too complex for the users.
- PIN is an extra layer to OTP which was secure enough already. PIN
just prevent stolen tokens to be used.
- The whole password being PIN+OTP none of the known attacks may break
security.