[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] GPGSM always opens a pinentry: makes automated tests impossible
From:       Sandro =?utf-8?q?Knau=C3=9F?= <mail () sandroknauss ! de>
Date:       2013-03-07 23:15:30
Message-ID: 201303080015.38983.mail () sandroknauss ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hello,

> 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.

Many thanks to point me to a fake pinentry program, after three hours i got a 
working fake pinentry program:

#!/bin/bash

echo "OK Your orders please"
while :
do
        read cmd
        echo "OK"
        [ "$cmd" == "BYE" ] && break
done

Regards

sandro

["signature.asc" (application/pgp-signature)]

_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic