Commit Graph

33 Commits

Author SHA1 Message Date
Mathias Hasselmann d077333d7c Extract PlainTextStore 2016-08-12 10:34:05 +02:00
Mathias Hasselmann 50f53783cb Don't try to use DBus on Android 2016-08-12 10:23:41 +02:00
Michal Švagerka f5a7921530 Silence compilation warnings in keychain_p.h. 2016-08-09 16:57:28 +02:00
Armin Novak e6e828c33b Refactored code to simplify classes.
Job classes:
* Moved common members to parent.
* Made Job constructor protected, only for use by implementing class.

JobPrivate classes:
* Moved common members to parent.
* Made Job constructor protected, only for use by implementing class.
* Unified members where code was duplicated.
2015-12-04 11:41:06 +01:00
Frank Osterfeld 672fb092c9 Bump copyright year 2015-03-17 14:31:48 +01:00
Liviu Cristian Mirea Ghiban 5200d18453 Fix kdewallet integration 2014-08-17 18:17:25 +03:00
Frank Osterfeld 7f9299cd5b Bump copyright years 2014-03-12 15:02:07 +01:00
Frank Osterfeld 29c8a74dcf Store enum values as string
Do not rely on int value and casting back ints to enum values.
Also actually set the data type accordingly in ReadPasswordJob.
2013-11-11 20:01:22 +01:00
Frank Osterfeld 887719567d Some string literal cleanup
Avoid implicit conversions to QString, remove some helpers only
used in _dbus from the Private.
2013-10-12 20:24:49 +02:00
Daniel Molkentin d9fe3f3fbd Fix compilation on OS X 2013-09-25 12:35:16 +02:00
Daniel Molkentin bc9bb279ec Use network wallet rather than hardcoded "kdewallet" wallet
Fixes #9
2013-08-22 11:13:49 +02:00
Frank Osterfeld f4693bdfee Update copyright year span 2013-07-25 20:30:05 +02:00
Frank Osterfeld f3c2e2e073 Merge branch 'typz-master'
Conflicts:
	keychain_dbus.cpp
	keychain_p.h
2013-07-22 17:52:07 +02:00
Uwe L. Korn 4556eb0e4f Fallback earlier if D-Bus is not available 2013-06-06 14:25:07 +02:00
Francois Ferrand 863c75af92 Gnome keyring support. 2013-04-10 18:24:40 +02:00
Frank Osterfeld 468e3b0eaf Fix Qt5 build on Mac
Q_WS_MAC doesn't exist in Qt5 anymore, use Q_OS_DARWIN instead
2013-01-23 10:29:07 +01:00
Frank Osterfeld 4c014e17ef Serialize job execution on all platforms.
On OS X, multiple dialogs pop up asking for permission when starting multiple jobs in parallel.
Thus, as there are issues both with kwallet and OS X keychain, just serialize job execution on all platforms.
On Windows this doesn't make much of a difference as the job impl's are synchronous anyway.
2012-08-06 22:30:58 +02:00
Leo Franchi 89eb6be733 Allow insecure fallback on linux when no kwallet is found 2012-07-29 11:25:11 -04:00
Frank Osterfeld 42db0f2d4d D-Bus: Serialize job execution.
kwalletd gets lost in nested eventloops when we send multiple openWallet() dbus calls in parallel.
Thus synchronize job execution using an internal JobExecutor singleton.
2012-07-27 23:14:09 +02:00
Frank Osterfeld 0fe6a07729 Fix OS X build 2012-05-09 19:18:10 +02:00
Frank Osterfeld 55b1fc8863 kwallet: make read and write work 2012-05-08 10:47:38 +02:00
Frank Osterfeld 9993e3293a Start DBus-based KWAllet backend 2012-05-07 18:21:22 +02:00
Frank Osterfeld 7465902216 Introduce DeletePasswordJob to delete passwords.
Creating a WritePasswordJob with no password data does the same, but that makes rather cryptic API.
2012-05-07 16:56:52 +02:00
Frank Osterfeld 8b1a574f35 Port Windows impl to the job API. 2012-05-07 16:46:22 +02:00
Frank Osterfeld 2b6e40b992 Refactor API to asynchronous job-based classes.
As all Linux solutions will require async calls to DBus etc., they'd have to use local event loops otherwise.
2012-05-07 16:46:22 +02:00
Frank Osterfeld 24d261235f Allow the user to pass a custom QSettings object in case the default-constructed QSettings is not sufficient.
(Only used on Windows)
2011-12-12 11:50:08 +01:00
Frank Osterfeld d6ecb94c8f basic impl for windows 2011-12-02 19:37:37 +01:00
Frank Osterfeld 067c3c6577 add entryExists() 2011-12-02 19:37:37 +01:00
Frank Osterfeld 653bf190f0 always overwrite entries, remove flag to control that 2011-10-28 09:32:08 +02:00
Frank Osterfeld 3751a18e71 add way to store plain QByteArray instead of only QString and make naming more generic in the process 2011-10-28 09:17:19 +02:00
Frank Osterfeld 8d590e0729 introduce QKeychain namespace 2011-10-28 09:17:19 +02:00
Frank Osterfeld 492c9615ba Initial OS X impl. 2011-10-28 09:17:18 +02:00
Frank Osterfeld 6ce1ec1d66 Initial 2011-10-27 18:14:37 +02:00