You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found an issue in our environment where the decryption of passwords takes between 900ms and 1.5s.
When the decryption time is longer than 999ms the clipboard copy fails (when using the shortcut located right between the lock icon on the account overview). It always works when showing username and password and using the clipboard buttons next to it.
So here is one case where it works:
Search for account
Click "clipboard" icon next to "lock" icon
Ajax request takes 900ms (seen in developer console of Chrome)
Message appears that the password was copied successfully.
And here is one case where it doesn't work:
Search for account
Click "clipboard" icon next to "lock" icon
Ajax request takes 1.2s (seen in developer console of Chrome)
Message appears that the password could not be copied to the clipboard.
I've read that this time limit was implemented in the browsers due to security reasons so that data can only be copied to the clipboard when triggered by the user (mouse click) and not by a timed event (timer, ...).
Is there something we could do to improve the decryption speed? Can we configure the key length to be less than 512 bytes? For us it is more important to use the clipboard copy shortcut than having a 100% secure storage of the passwords.
Thanks
David
The text was updated successfully, but these errors were encountered:
Unfortunately, this browser security behavior can't currently be avoided, since password encryption is done by using defuse/php-encryption library which relies on AES-256 (https://github.com/defuse/php-encryption/blob/master/docs/CryptoDetails.md) encryption and HMAC for key authentication, so the encryption process would take some time depending on the system you are running sysPass on.
The password popup doesn't have this security behavior, since the password is retrieved in the first Ajax request, so the the clipboard feature does only copy the text from the html element.
Hi,
I've found an issue in our environment where the decryption of passwords takes between 900ms and 1.5s.
When the decryption time is longer than 999ms the clipboard copy fails (when using the shortcut located right between the lock icon on the account overview). It always works when showing username and password and using the clipboard buttons next to it.
So here is one case where it works:
And here is one case where it doesn't work:
I've read that this time limit was implemented in the browsers due to security reasons so that data can only be copied to the clipboard when triggered by the user (mouse click) and not by a timed event (timer, ...).
Is there something we could do to improve the decryption speed? Can we configure the key length to be less than 512 bytes? For us it is more important to use the clipboard copy shortcut than having a 100% secure storage of the passwords.
Thanks
David
The text was updated successfully, but these errors were encountered: