The Qt library archive

Loading...

Home

QtKeychain

Platform-independent Qt API for storing passwords securely

Version:
0.4.0 (stable)released on 2014-09-01(older versions: 0.1.0)
License:
BSD-2
Platforms:
Linux, Windows, MacOS
Author:
Topic:
Security
Home page:

QtKeychain is a Qt API to store passwords and other secret data securely. How the data is stored depends on the platform. On Mac OS X passwords are stored in the OS X Keychain. On Linux/Unix if running, GNOME Keyring is used, otherwise QtKeychain tries to use KWallet (via D-Bus), if available. Since Windows does not provide a service for secure storage QtKeychain uses the Windows API function CryptProtectData to encrypt the password with the user’s logon credentials. The encrypted data is then persisted via QSettings. In unsupported environments QtKeychain will report an error. It will not store any data unencrypted unless explicitly requested (setInsecureFallback( true )).


Read more


Packages