[PATCH] Make pinentry-qt read and store passphrases in KDE 3.2's wallet

Martijn Klingens klingens at kde.org
Sun Nov 30 20:13:29 CET 2003


Hiya,

Attached patch makes pinentry-qt use KWallet, the new encrypted wallet that 
will be available in KDE 3.2. This allows centralized password storage, 
amongst other benefits.

There are some rough edges to the patch, notably the (hardcoded!) changes to 
Makefile.am to get it to link against KDE and the way I re-added the USE_KDE 
option that was turned off a while ago according to ChangeLog.

Ralf Nolden told me on IRC it was disabled because of security concerns when 
linking to kdelibs. While perhaps a valid argument (I haven't read the 
discussion yet) it would be useless for this patch, as I need access to the 
KWallet code anyway. I could technically talk to KWallet using DCOP only, but 
that interface isn't even remotely as easy as the public interface and I'm 
not sure if the interface will remain the same in the future, much unlike 
KWallet itself which should be BC once KDE 3.2 is out. All in all it's 
basically either to use kdelibs or to NOT use KWallet, both at the same time 
seems close to impossible.

Before I start polishing this more, what's the consensus about this patch? 
Apparently my linking to kdelibs is considered controversial, which is a big 
setback. So far the new pinentry works like a charm here :)

-- 
Martijn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pinentry-kwallet.diff
Type: text/x-diff
Size: 6355 bytes
Desc: not available
Url : /pipermail/attachments/20031130/bfa6f609/pinentry-kwallet.bin


More information about the Gpa-dev mailing list