Re: [gentoo-user] kmail, pinentry problem solved

2003-07-02 Thread Zack Gilburd
On Wednesday 02 July 2003 04:57 pm, Kurt V. Hindenburg wrote:
> This is for the records, I was having problem getting kmail/gpg to work.
> It appears that pinentry-qt does NOT work with kmail.  Instead you have
> to use pinentry-gtk.
>
> Rather odd that for kmail/gpg to work you need gtk...lol

That's interesting considering I use pinentry-qt with KMail.

-- 
Zack Gilburd
 http://tehunlose.com
  GnuPG Key ID: A79A45668240AB6C


pgp0.pgp
Description: signature


Re: [gentoo-user] kmail, pinentry problem solved

2003-07-03 Thread Arnold Krille
On Thursday 03 July 2003 01:57, Kurt V. Hindenburg wrote:
> This is for the records, I was having problem getting kmail/gpg to work.
> It appears that pinentry-qt does NOT work with kmail.  Instead you have
> to use pinentry-gtk.

Thats not entirely true. I am using KMail and pinentry-qt.

Perhaps you have something misconfigured?

Arnold

-- 
Get my public-key from pgp.mit.edu or pgp.uni-mainz.de
---
Hi, I am a .signature virus. Please copy me into your ~/.signature and send me 
to all your contacts.
After a month or so log in as root and do a rm / -rf. Or ask your 
administrator to do so...


pgp0.pgp
Description: signature


Re: [gentoo-user] kmail, pinentry problem solved

2003-07-03 Thread Norberto BENSA
[EMAIL PROTECTED] ~ $ date ; echo ${Kurt V. Hindenburg}
Wednesday 02 July 2003 08:57 pm

> This is for the records, I was having problem getting kmail/gpg to work.
> It appears that pinentry-qt does NOT work with kmail.  Instead you have
> to use pinentry-gtk.
>
> Rather odd that for kmail/gpg to work you need gtk...lol

???

I'm using pinentry-qt.

$ qpkg -I -l pinentry
app-crypt/pinentry-0.6.8 *
CONTENTS:
/usr
/usr/bin
/usr/bin/pinentry-qt
/usr/share




pgp0.pgp
Description: signature


Re: [gentoo-user] kmail, pinentry problem solved

2003-07-03 Thread Kurt V. Hindenburg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 02 July 2003 10:33 pm, Zack Gilburd wrote:
> On Wednesday 02 July 2003 04:57 pm, Kurt V. Hindenburg wrote:
> > Rather odd that for kmail/gpg to work you need gtk...lol
>
> That's interesting considering I use pinentry-qt with KMail.

Lucky you then.  Do a google on pinentry/gpg and you'll see there are a 
lot of people who have problems.

- -- 
^^^ Kurt

There is no good nor evil; there is only power.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/A+UB0cAvx3ELfKARAqB3AKCnYdovZBccgkDETe905bE4ENxDGACgnIi2
XFOzQSaP3fmpvBJWoxhL4PQ=
=4v29
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kmail, pinentry problem solved

2003-07-03 Thread Norberto BENSA
[EMAIL PROTECTED] ~ $ date ; echo ${Kurt V. Hindenburg}
Thursday 03 July 2003 05:10 am

> On Wednesday 02 July 2003 10:33 pm, Zack Gilburd wrote:
> > On Wednesday 02 July 2003 04:57 pm, Kurt V. Hindenburg wrote:
> > > Rather odd that for kmail/gpg to work you need gtk...lol
> >
> > That's interesting considering I use pinentry-qt with KMail.
>
> Lucky you then.  Do a google on pinentry/gpg and you'll see there are a
> lot of people who have problems.

They are using 0.6.7. That version has a bug (something about -display IIRC.)

Regards,
Norberto


pgp0.pgp
Description: signature


Re: [gentoo-user] kmail, pinentry problem solved

2003-07-03 Thread Kurt V. Hindenburg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 03 July 2003 04:41 am, Norberto BENSA wrote:
> They are using 0.6.7. That version has a bug (something about
> -display IIRC.)
I tried 0.6.8 and 0.6.9, both versions -qt didn't work.  I'm now using 
0.6.9 with pinentry-gtk working.

- -- 
^^^ Kurt

There is no good nor evil; there is only power.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/BLYJ0cAvx3ELfKARAke3AJ0cR2ecvzkkxYHoKKnWmxixGRz8AQCeNnvc
RRZPWEPAy7puP6mu0zJYcHc=
=YOND
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kmail, pinentry problem solved

2003-07-03 Thread Norberto BENSA
[EMAIL PROTECTED] ~ $ date ; echo ${Kurt V. Hindenburg}
Thursday 03 July 2003 08:02 pm

> On Thursday 03 July 2003 04:41 am, Norberto BENSA wrote:
> > They are using 0.6.7. That version has a bug (something about
> > -display IIRC.)
>
> I tried 0.6.8 and 0.6.9, both versions -qt didn't work.  I'm now using
> 0.6.9 with pinentry-gtk working.

Can you define "does not work"?

Norberto


pgp0.pgp
Description: signature


Re: [gentoo-user] kmail, pinentry problem solved

2003-07-03 Thread Kurt V. Hindenburg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 03 July 2003 06:11 pm, Norberto BENSA wrote:
> [EMAIL PROTECTED] ~ $ date ; echo ${Kurt V. Hindenburg}
> Thursday 03 July 2003 08:02 pm
>
> > On Thursday 03 July 2003 04:41 am, Norberto BENSA wrote:
> > > They are using 0.6.7. That version has a bug (something about
> > > -display IIRC.)
> >
> > I tried 0.6.8 and 0.6.9, both versions -qt didn't work.  I'm now
> > using 0.6.9 with pinentry-gtk working.
>
> Can you define "does not work"?
>
Here's my previous post:

GPG_AGENT_INFO=/tmp/gpg-Nw5EJY/S.gpg-agent:991:1

% gpg -d Personal/accounts.txt.asc

You need a passphrase to unlock the secret key for
user: 

gpg: problem with the agent - disabling agent use
Enter passphrase:

% cat .gnupg/gpg.conf | grep use-agent
use-agent

% cat .gnupg/gpg-agent.conf
pinentry-program /usr/bin/pinentry-qt
no-grab
default-cache-ttl 1800

pinentry-qt and -curses seem to work from command line
% pinentry-qt
OK Your orders please

% pinentry-curses
OK Your orders please


Also, when trying to sign/encrypt stuff in kmail, a popup says "invalid 
passphrase"  even though it did not ask me to input the passphrase.  I  
found on goggle this is the common error.


- -- 
^^^ Kurt

There is no good nor evil; there is only power.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/BPmc0cAvx3ELfKARAjIhAJ9AfP4gfN0IvwVJoDLhf0O6xY0v7QCeMK40
OaLX11JtVm1PCqgnCyZu2wY=
=Bv3n
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kmail, pinentry problem solved

2003-07-03 Thread Norberto BENSA
[EMAIL PROTECTED] ~ $ date ; echo ${Kurt V. Hindenburg}
Friday 04 July 2003 12:50 am

> Also, when trying to sign/encrypt stuff in kmail, a popup says "invalid
> passphrase"  even though it did not ask me to input the passphrase.  I
> found on goggle this is the common error.

Yep, that *was* the error with 0.6.7 (actually, it was "No passphrase.) 
Perhaps a regression? Here's the patch (from portage)

-CUT
--- pinentry/qt/main.cpp2002/11/05 19:44:34 1.7
+++ pinentry/qt/main.cpp2003/01/21 12:25:59 1.8
@@ -157,6 +157,12 @@
 #ifdef FALLBACK_CURSES
   if( pinentry_have_display (argc, argv) ) {
 #endif
+   // Work around non-standard handling of DISPLAY
+   for( int i = 1; i < argc; ++i ) {
+   if( !strcmp( "--display", argv[i] ) ) {
+   argv[i] = "-display";
+   }
+   }
 return qt_main( argc, argv );
 #ifdef FALLBACK_CURSES
   } else {
--- pinentry/qt/pinentrycontroller.cpp  2002/09/30 09:27:10 1.9
+++ pinentry/qt/pinentrycontroller.cpp  2003/01/21 12:25:59 1.10
@@ -56,6 +56,8 @@

   assuan_set_malloc_hooks( secmem_malloc, secmem_realloc, secmem_free );
   int rc = assuan_init_pipe_server( &_ctx, fds );
+  assuan_set_log_stream (_ctx, stderr);
+
   if( rc ) {
 qDebug(assuan_strerror( static_cast(rc) ));
 exit(-1);
-CUT

Regards,
Norberto


pgp0.pgp
Description: signature


Re: [gentoo-user] kmail, pinentry problem solved

2003-07-04 Thread Kurt V. Hindenburg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 03 July 2003 11:16 pm, Norberto BENSA wrote:
> Yep, that *was* the error with 0.6.7 (actually, it was "No
> passphrase.) Perhaps a regression? Here's the patch (from portage)
>
Yea, that was it.  Odd that I have the same problem with 0.6.8 and 
0.6.9.  I may look at the this again when I have time.

- -- 
^^^ Kurt

There is no good nor evil; there is only power.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/BWfv0cAvx3ELfKARAt7/AJ43Kna3Z5sebZayKNYUm2fXBpw/HwCgm5yG
fy5kCS0jSdH265A0w4fQ4g4=
=uv+8
-END PGP SIGNATURE-

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] kmail, pinentry problem solved

2003-07-04 Thread Mike Wojcikiewicz
On Friday 04 July 2003 07:41, Kurt V. Hindenburg wrote:
> On Thursday 03 July 2003 11:16 pm, Norberto BENSA wrote:
> > Yep, that *was* the error with 0.6.7 (actually, it was "No
> > passphrase.) Perhaps a regression? Here's the patch (from portage)
>
> Yea, that was it.  Odd that I have the same problem with 0.6.8 and
> 0.6.9.  I may look at the this again when I have time.

I just did a fresh install following the instructions for getting OpenPGP 
working with KMail from the Aegypten homepage yesterday... 

i noticed that it didnt work with gpgme >= 0.4.0, so after a downgrade to 
0.3.9 and USE="-gtk -ncurses" emerge pinentry, the pinentry-qt dialog popped 
up fine inside KMail.. 

i think you have to have the USE flags set, otherwise it always defaults to 
trying to use the ncurses interface (the instructions on aegypten says to 
./configure --without-curses --without-gtk, equivalent of setting those USE 
flags)

--mike


pgp0.pgp
Description: signature