2012-05-08 16:14:23 +00:00
QtKeychain
==========
2012-05-09 17:47:50 +00:00
QtKeychain is a Qt API to store passwords and other secret data securely. How the data is stored depends on the platform:
2012-05-08 16:14:23 +00:00
2012-05-09 17:38:59 +00:00
* **Mac OS X:** Passwords are stored in the OS X Keychain.
2012-05-08 16:14:23 +00:00
2016-03-17 10:02:15 +00:00
* **Linux/Unix:** If running, GNOME Keyring is used, otherwise qtkeychain tries to use KWallet (via D-Bus), if available.
2012-05-08 16:14:23 +00:00
2016-03-17 10:02:15 +00:00
* **Windows:** By default, the Windows Credential Store is used (requires Windows 7 or newer).
Pass -DUSE_CREDENTIAL_STORE=OFF to cmake use disable it. If disabled, QtKeychain uses the Windows API function
[CryptProtectData](http://msdn.microsoft.com/en-us/library/windows/desktop/aa380261%28v=vs.85%29.aspx "CryptProtectData function")
to encrypt the password with the user's logon credentials. The encrypted data is then persisted via QSettings.
2012-05-08 16:14:23 +00:00
2012-12-27 12:37:58 +00:00
In unsupported environments QtKeychain will report an error. It will not store any data unencrypted unless explicitly requested (setInsecureFallback( true )).
2012-05-09 17:47:50 +00:00
2012-05-09 17:38:59 +00:00
**License:** QtKeychain is available under the [Modified BSD License](http://www.gnu.org/licenses/license-list.html#ModifiedBSD). See the file COPYING for details.