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
Frank Osterfeld
b66a182a85
KWallet: Return error for non-existant entries
...
Before, an empty password was returned, so one couldn't tell
if the entry wasn't available, or the entry contained an empty
password.
Fixes #5
2013-10-12 19:57:48 +02:00
Daniel Molkentin
bc9bb279ec
Use network wallet rather than hardcoded "kdewallet" wallet
...
Fixes #9
2013-08-22 11:13:49 +02:00
Krzesimir Nowak
a60acabf1c
Fix crashes inside libgnome-keyring.
...
They happen because we are passing literal 0 (which is interpreted as
int) to varargs function, which expects it to be a pointer. The result
may be a garbage within libgnome-keyring, because int may be 32 bits
and pointers 64 bits wide.
2013-07-30 16:32:02 +02:00
Frank Osterfeld
f4693bdfee
Update copyright year span
2013-07-25 20:30:05 +02:00
Frank Osterfeld
57f0a27460
Avoid code duplication
...
Also avoids duplication of tr()'d strings
2013-07-25 20:30:05 +02:00
Frank Osterfeld
a6c1f94cef
The early return catches the bug
2013-07-25 20:30:05 +02:00
Frank Osterfeld
401f0b0766
Some minor cleanup of the gnome keyring code
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
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
be96f4c514
Detect if opening the wallet failed.
...
(Assuming that the user denied access)
2012-05-08 17:38:14 +02:00
Frank Osterfeld
7573b17ba6
Special treatment if KWallet is unavailable.
2012-05-08 17:24:51 +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
c612123cc5
Implement dbus stub for async 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
b2a8efae5d
add stub for unix
2011-12-02 19:37:38 +01:00