kutils: increase password inactivity time to 2 minutes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-04-05 17:38:24 +03:00
parent 2bca331971
commit 767b81e0c2
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@
static const int kpasswdstore_buffsize = 1024; static const int kpasswdstore_buffsize = 1024;
static const int kpasswdstore_passretries = 3; static const int kpasswdstore_passretries = 3;
static const int kpasswdstore_passtimeout = 30000; static const qint64 kpasswdstore_passtimeout = 2 * 60000;
// EVP_CIPHER_CTX_key_length() and EVP_CIPHER_CTX_iv_length() cannot be called // EVP_CIPHER_CTX_key_length() and EVP_CIPHER_CTX_iv_length() cannot be called
// prior to EVP_EncryptInit() and EVP_DecryptInit() so hardcoding these // prior to EVP_EncryptInit() and EVP_DecryptInit() so hardcoding these

View file

@ -29,7 +29,7 @@ class KPasswdStorePrivate;
Class to store and retrieve passwords. Class to store and retrieve passwords.
The password used for encrypting and decrypting the store will be asked for The password used for encrypting and decrypting the store will be asked for
upon the first request and again after 30sec of inactivity. Opening the upon the first request and again after 2 minutes of inactivity. Opening the
store pre-emptively is also possbile but optional. store pre-emptively is also possbile but optional.
@code @code