How can I change the encryption and hash algorithms that are used by KWallet to store passwords and other data?

Asked by Robert Simmons on 2011-06-24

I would like to be able to have control over what algorithm is used to encrypt the passwords as well as the key length and the hash algorithm. According to the KWallet Handbook "the data is encrypted with the Blowfish symmetric block cipher algorithm, the algorithm key is derived from the SHA-1 hash of the password, with a key length of 156 bits (20 bytes). The data into the wallet file is also hashed with SHA-1 and checked before the data is deciphered and accessible by the applications."

How can I change these settings to use AES-256 and SHA256?

All of the other cryptographic utilities that I use have at least a 256 bit key length. What is the point of storing the passphrase for a 256 bit key in an encrypted provider that uses a 156 bit key?

Question information

English Edit question
Ubuntu kdeutils Edit question
No assignee Edit question
Solved by:
Robert Simmons
Last query:
Last reply:

maybe you will have a look at keepass and keepassx which is offering what you want. it will replace kwallet

Robert Simmons (rsimmons0) said : #2

I've looked into this, and keepass/keepassx is not an adequate replacement for kwallet. It is not integrated with KDE in the same way. All KDE applications talk to kwallet to store passwords, so linking Kontact, KNetworkManager, KGpg, SMTP transport password, Chrome, and others one by one is annoying. I have opened a wishlist bug at KDE about this:

Also, the answer to my initial question I guess would be: submit wishlist bug and wait.