[Kde-pim] GPGSM always opens a pinentry: makes automated tests impossible

Kevin Krammer krammer at kde.org
Thu Mar 7 06:53:06 GMT 2013


On Thursday, 2013-03-07, Sandro Knauß wrote:
> Hello,
> 
> I'm fixing the bugs now the tests in messageviewer(reviewboard #109325) and
> messagecomposer(reviewboard #109327), that are related to
> encryption/signing. I already fixed them but, they won't run in jenkins,
> because gpgsm (SMIME) always opens multiple pinentry windows (that has to
> closed via mouse). For me it only runs with. Only if I enter:
> 
> export GNUPGHOME=$KDE_SRC/kdepim/messagecore/tests/gnupg_home
> source `gpg-agent --daemon`
> 
> than only one pinentry window opens.
> 
> Someone knows how to get these tests running without pinentry window.
> 
> Keep in mind, that I never used gpgsm before, the workaround I build based
> on my knowledge with gpg.

I don't know either but maybe we could have a fake pinentry program that 
delivers a predetermined passphrase.
The pinentry program seems to be specified by gpg-agent..conf so a unit test 
environment could likely have a special version of that.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20130307/705f8e8a/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list