Commit Graph

16 Commits

Author SHA1 Message Date
Olivier Goffart 8150f61a48 DeletePasswordJob: Start the WriteJob immediatly
We want that if one delete, then read the password directly after,
it do not reuse the deleted password.
2014-01-27 16:29:34 +01:00
Olivier Goffart 85bb5664c6 DeletePasswordJob: forward the settings to the WriteJob
And always remove the password from the insecure storage
2014-01-27 16:29:34 +01:00
Frank Osterfeld f4693bdfee Update copyright year span 2013-07-25 20:30:05 +02: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 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 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