3 ms·
Crypto optimizations are no joke. My Pinebook Pro takes several seconds longer than my T430 to decrypt my keepassxc database.
by CameronNemo 6y ago
Crypto optimizations are no joke. My Pinebook Pro takes several seconds longer than my T430 to decrypt my keepassxc database.
- coldtea 6y agoWhy would it need to decrypt a whole database though, and not just the required password? To avoid leaking the key name?
- CameronNemo 6y agoYes I think it is an all or nothing deal.
- coldtea 6y agoPerhaps it could be a two-level thing then, where you first decrypt e.g. the list of keys and then read the one you want and get a "start/end" offset to read/decrypt just the value for that key from another file. So keys and values are still decrypted, but you don't have to decrypt the whole bundle in one step to get the value.
- akvadrako 6y agoMaybe the time is hashing your password. This is designed to take as long as it can while still being reasonable. 1 second on a fast machine isn't unheard of.