The official Debian/Ubuntu/Mint distributions of KeePass are very slow on the encrypt/decrypt. Comparing the dot net KeePass to a native program called KeePassX shows KeePass to be slower by close to a factor of 50. This is significant, because the number of rounds performed directly affects security.
Are the encryption primitives used by KeePass also written in dot net? Is there a way to speed it up? The people who would attempt to brute force a password file won't be using wildly inefficient encryption primitives, they will be using hardware encryption.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The official Debian/Ubuntu/Mint distributions of KeePass are very slow on the encrypt/decrypt. Comparing the dot net KeePass to a native program called KeePassX shows KeePass to be slower by close to a factor of 50. This is significant, because the number of rounds performed directly affects security.
Are the encryption primitives used by KeePass also written in dot net? Is there a way to speed it up? The people who would attempt to brute force a password file won't be using wildly inefficient encryption primitives, they will be using hardware encryption.
On Linux, KeePass uses Mono's AES implementation, which indeed is rather slow.
A minor improvement has already been implemented for KeePass 2.37:
https://sourceforge.net/p/keepass/bugs/1468/
Best regards,
Dominik
Hi Dominik,
Thanks so much for linking that report and for the work on the new version. I'll comment further there.