Re: gpg 2.0 on VT?
Tom Duerbusch wrote: I'm back on the GPG 2.0.2 project. When doing a gpg2 --gen-key, I get: You need a Passphrase to protect your secret key. ==note, it never gave me a chance to respond Gtk-WARNING **: cannot open display: snip cannot open display:sounds like I need to be on a x-terminal. The program this is being sent from, seems to be pinentry-0.7.2 which required gtk and glib (1.2.10) to be installed. I have seen this happen with SSH key passphrases. On some systems the default SSH-ASKPASS pointed to is something like gnome-ssh-askpass, which will want to open a GUI password prompt. It shouldn't happen that way if you don't have a DISPLAY environment, though... I don't know how to get around this. I think I should be able to generate gpg keys with a VT100 type terminal. Perhaps gpg 2.0 is a gui-only product? I believe that something is giving this pinentry program the impression that there should be an X display available. This would be the first thing to check; perhaps you are connecting from a Windows machine using PuTTY, and the session config is set to forward X, but you're not running your X server right now? Another alternative might be to see where the system nominates pinentry as the program to run to receive passphrases. The solution might be to just switch to a different prompter, such as the one used by ssh-askpass. Or have a look at this fellow's experience, which I found via Google, to see if it's relevant: http://brondsema.net/blog/index.php/2007/02/06/keychain_gpg_agent_pinentry_problems Cheerio, Vic Cross -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: gpg 2.0 on VT?
Hi Mark. As soon as you said .spec fileahhh...wait a minute. I've been thinking that GPG 2.0 (source level install) would be simular to a RPM install for a specific platform. Binaries should have defaults that are good for that platform! Of course! In this GUI world, who would have defaults for a command line interface? I used the ./configure with no parms (and most likely got the wrong defaults). Also, I do have the gtk-devel files installed. I already threw away my notes on why I thought I needed it. My documentation now just says I do need it. But I think it was something about the gtk-config file being needed. Anyway, I think the problem is due to wrong defaults. Thanks Tom Duerbusch THD Consulting [EMAIL PROTECTED] 2/20/2007 5:38 PM Did you at least look at the .spec file for the 1.4.6 version from SUSE? If not, what did you use for parameters to ./configure? (Or even if you did.) Did you happen to have the gtk-devel files installed during the build of gpg 2.0.2? If so, you probably don't want to do that. I note that even openSUSE 10.2 only includes gpg2-1.9.22-20. Heck, even Fedora Core testing is only up to 1.4.6. That may be a warning that all is not well with the 2.0 version yet. If I think of anything else to check, I'll reply again. Mark Post -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: gpg 2.0 on VT?
Yep, it seems I need gtk-devel. When I deleted the package via Yast. I then rebuild the pinentry-0.7.2, during ./configure I got: checking for GTK - version = 1.2.0... no *** The gtk-config script installed by GTK could not be found *** If GTK was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GTK_CONFIG environment variable to the *** full path to gtk-config. gtk-config was no longer on my system. It is put on my system via the gtk-devel package. Anyway, back on the wrong defaults, track. Tom Duerbusch THD Consulting [EMAIL PROTECTED] 2/20/2007 5:38 PM Did you at least look at the .spec file for the 1.4.6 version from SUSE? If not, what did you use for parameters to ./configure? (Or even if you did.) Did you happen to have the gtk-devel files installed during the build of gpg 2.0.2? If so, you probably don't want to do that. I note that even openSUSE 10.2 only includes gpg2-1.9.22-20. Heck, even Fedora Core testing is only up to 1.4.6. That may be a warning that all is not well with the 2.0 version yet. If I think of anything else to check, I'll reply again. Mark Post -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of Tom Duerbusch Sent: Tuesday, February 20, 2007 6:06 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: gpg 2.0 on VT? I'm on SLES9 31 bit with SP1 installed. GPG 2.0.2 I got from: http://www.gnupg.org/download/ I did have to compile it as there wasn't a RPM for zSeries. I didn't find anything on the Novell site for GPG other than 1.4.6. Tom Duerbusch THD Consulting -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: gpg 2.0 on VT?
You may want to see if pinentry has a --without-gtk option (or something close to it) on ./configure. Mark Post -Original Message- From: Tom Duerbusch [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 1:53 PM To: [EMAIL PROTECTED]; LINUX-390@VM.MARIST.EDU Subject: Re: gpg 2.0 on VT? Yep, it seems I need gtk-devel. When I deleted the package via Yast. I then rebuild the pinentry-0.7.2, during ./configure I got: checking for GTK - version = 1.2.0... no *** The gtk-config script installed by GTK could not be found *** If GTK was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GTK_CONFIG environment variable to the *** full path to gtk-config. gtk-config was no longer on my system. It is put on my system via the gtk-devel package. Anyway, back on the wrong defaults, track. Tom Duerbusch THD Consulting -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: gpg 2.0 on VT?
Thanks Mark for the help. I'm getting pushed to get this done. Well the test with the bank. So my interm solution is to bring up the vncserver and do our testing with a GUI. Tom Duerbusch THD Consulting [EMAIL PROTECTED] 2/21/2007 1:00 PM You may want to see if pinentry has a --without-gtk option (or something close to it) on ./configure. Mark Post -Original Message- From: Tom Duerbusch [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 21, 2007 1:53 PM To: [EMAIL PROTECTED]; LINUX-390@VM.MARIST.EDU Subject: Re: gpg 2.0 on VT? Yep, it seems I need gtk-devel. When I deleted the package via Yast. I then rebuild the pinentry-0.7.2, during ./configure I got: checking for GTK - version = 1.2.0... no *** The gtk-config script installed by GTK could not be found *** If GTK was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GTK_CONFIG environment variable to the *** full path to gtk-config. gtk-config was no longer on my system. It is put on my system via the gtk-devel package. Anyway, back on the wrong defaults, track. Tom Duerbusch THD Consulting -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
gpg 2.0 on VT?
I'm back on the GPG 2.0.2 project. When doing a gpg2 --gen-key, I get: You need a Passphrase to protect your secret key. ==note, it never gave me a chance to respond Gtk-WARNING **: cannot open display: gpg-agent[23188]: can't connect server: ec=4.16383 gpg-agent[23188]: can't connect to the PIN entry module: End of file gpg-agent[23188]: command get_passphrase failed: No pinentry gpg: problem with the agent: No pinentry gpg: Key generation canceled. [EMAIL PROTECTED]:~/gnupg-2.0.2 cannot open display:sounds like I need to be on a x-terminal. The program this is being sent from, seems to be pinentry-0.7.2 which required gtk and glib (1.2.10) to be installed. I don't know how to get around this. I think I should be able to generate gpg keys with a VT100 type terminal. Perhaps gpg 2.0 is a gui-only product? Thanks Tom Duerbusch THD Consulting -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: gpg 2.0 on VT?
What OS are you running, and where did you get the package? I just checked my SLED10 box, and it only had gpg-1.9.18 as a test version, not 2.0.2. When I tried gpg2 --gen-key it worked just fine on a console for me. Mark Post -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of Tom Duerbusch Sent: Tuesday, February 20, 2007 5:00 PM To: LINUX-390@VM.MARIST.EDU Subject: gpg 2.0 on VT? I'm back on the GPG 2.0.2 project. When doing a gpg2 --gen-key, I get: You need a Passphrase to protect your secret key. ==note, it never gave me a chance to respond Gtk-WARNING **: cannot open display: gpg-agent[23188]: can't connect server: ec=4.16383 gpg-agent[23188]: can't connect to the PIN entry module: End of file gpg-agent[23188]: command get_passphrase failed: No pinentry gpg: problem with the agent: No pinentry gpg: Key generation canceled. [EMAIL PROTECTED]:~/gnupg-2.0.2 cannot open display:sounds like I need to be on a x-terminal. The program this is being sent from, seems to be pinentry-0.7.2 which required gtk and glib (1.2.10) to be installed. I don't know how to get around this. I think I should be able to generate gpg keys with a VT100 type terminal. Perhaps gpg 2.0 is a gui-only product? Thanks Tom Duerbusch -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: gpg 2.0 on VT?
I'm on SLES9 31 bit with SP1 installed. GPG 2.0.2 I got from: http://www.gnupg.org/download/ I did have to compile it as there wasn't a RPM for zSeries. I didn't find anything on the Novell site for GPG other than 1.4.6. Tom Duerbusch THD Consulting [EMAIL PROTECTED] 2/20/2007 4:54 PM What OS are you running, and where did you get the package? I just checked my SLED10 box, and it only had gpg-1.9.18 as a test version, not 2.0.2. When I tried gpg2 --gen-key it worked just fine on a console for me. Mark Post -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of Tom Duerbusch Sent: Tuesday, February 20, 2007 5:00 PM To: LINUX-390@VM.MARIST.EDU Subject: gpg 2.0 on VT? I'm back on the GPG 2.0.2 project. When doing a gpg2 --gen-key, I get: You need a Passphrase to protect your secret key. ==note, it never gave me a chance to respond Gtk-WARNING **: cannot open display: gpg-agent[23188]: can't connect server: ec=4.16383 gpg-agent[23188]: can't connect to the PIN entry module: End of file gpg-agent[23188]: command get_passphrase failed: No pinentry gpg: problem with the agent: No pinentry gpg: Key generation canceled. [EMAIL PROTECTED]:~/gnupg-2.0.2 cannot open display:sounds like I need to be on a x-terminal. The program this is being sent from, seems to be pinentry-0.7.2 which required gtk and glib (1.2.10) to be installed. I don't know how to get around this. I think I should be able to generate gpg keys with a VT100 type terminal. Perhaps gpg 2.0 is a gui-only product? Thanks Tom Duerbusch -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
Re: gpg 2.0 on VT?
Did you at least look at the .spec file for the 1.4.6 version from SUSE? If not, what did you use for parameters to ./configure? (Or even if you did.) Did you happen to have the gtk-devel files installed during the build of gpg 2.0.2? If so, you probably don't want to do that. I note that even openSUSE 10.2 only includes gpg2-1.9.22-20. Heck, even Fedora Core testing is only up to 1.4.6. That may be a warning that all is not well with the 2.0 version yet. If I think of anything else to check, I'll reply again. Mark Post -Original Message- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of Tom Duerbusch Sent: Tuesday, February 20, 2007 6:06 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: gpg 2.0 on VT? I'm on SLES9 31 bit with SP1 installed. GPG 2.0.2 I got from: http://www.gnupg.org/download/ I did have to compile it as there wasn't a RPM for zSeries. I didn't find anything on the Novell site for GPG other than 1.4.6. Tom Duerbusch THD Consulting -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390