Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Access KWallet files without KDE desktop

Project Description


A Python script to dump contents of a .kwl kwallet file for accessing passwords away from KDE desktop. Should work on wallets created on KDE 4 (written on KDE 4.10).

The output is not polished because it serves a simple utility - to get passwords when not around a KDE desktop. Pipe the output to grep to make it more usable.

If you are looking to get Chrome passwords out of this - it’ll be a bit difficult because Chrome stores the passwords in a serialized blob and you’ll have to decipher that format. For everything else - Firefox, Telepathy, Amarok, Wifi passwords, other apps which store passwords - it works perfectly fine.


Easiest way to install is to use pip which will fetch the dependencies automatically

pip install kwallet-dump


  • Fields:

    • Type of KWallet entry - there are 3 - Password, Binary Data and Map. The sample output here shows the third format
    • Folder name
    • Key name
    • Value - Value is a tuple when entry type is a Map
  • Sample Output:

    [3, 'Firefox', 'admin,,DD-WRT,', ('usernameField', '')]
    [3, 'Firefox', 'admin,,DD-WRT,', ('username', 'user')]
    [3, 'Firefox', 'admin,,DD-WRT,', ('passwordField', '')]
    [3, 'Firefox', 'admin,,DD-WRT,', ('password', 'password')]
    [3, 'Firefox', 'admin,,DD-WRT,', ('httpRealm', 'DD-WRT')]
    [3, 'Firefox', 'admin,,DD-WRT,', ('hostname', '')]
    [3, 'Firefox', 'admin,,DD-WRT,', ('formSubmitURL', '')]


  • Python 2 or 3
  • pycrypto (for decoding Blowfish)

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(5.3 kB) Copy SHA256 Hash SHA256
Source None Sep 18, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate