Closed jbsarrodie closed 3 years ago
Will work on this next.
This is ready for testing now.
Password constraints can be set in plugin_customization.ini
as, for example:
org.archicontribs.modelrepository/passwordPrimaryTimeout=15
org.archicontribs.modelrepository/passwordInactivityTimeout=10
I've just tested and that's perfect, so closing this.
It would be good to be able to set two « timers »
unlock
date/time when the user last entered the password to open the key. Then, each time coArchi needs to decrypt a git/ssh/proxy password, it checks if the current date/time is less thanunlock + Password_Timeout
, if not, then the key should be closed and the password asked again. Setting Password_Timeout to 0 (default value) should disable this control.last_decrypt
). Then, each call to EncryptedCredentialsStorage#getPassword() should check if the current date/time is less thanlast_decrypt + Password_Inactivity_Timeout
, if not, then the key should be closed and the password asked again. Setting Password_Inactivity_Timeout to 0 (default value) should disable this control.