From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/50816 Path: main.gmane.org!not-for-mail From: Niklas Morberg Newsgroups: gmane.emacs.gnus.general Subject: Getting gpg (or is it pgg?) to play nice with proxy Date: Thu, 13 Mar 2003 15:07:34 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1047564649 9037 80.91.224.249 (13 Mar 2003 14:10:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Mar 2003 14:10:49 +0000 (UTC) Original-X-From: owner-ding@hpc.uh.edu Thu Mar 13 15:10:48 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18tTPf-0002Ka-00 for ; Thu, 13 Mar 2003 15:10:28 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18tTNP-00053w-00; Thu, 13 Mar 2003 08:08:07 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 13 Mar 2003 08:09:08 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id IAA26736 for ; Thu, 13 Mar 2003 08:08:58 -0600 (CST) Original-Received: (qmail 23082 invoked by alias); 13 Mar 2003 14:07:52 -0000 Original-Received: (qmail 23077 invoked from network); 13 Mar 2003 14:07:51 -0000 Original-Received: from unknown (HELO krynn.axis.se) (212.209.10.216) by 66.230.238.6 with SMTP; 13 Mar 2003 14:07:51 -0000 Original-Received: from PCNIKLAS2 (dh10-13-8-222.axis.se [10.13.8.222]) by krynn.axis.se (8.12.8/8.12.8/Debian-1woody1) with ESMTP id h2DE7Yc6015259 for ; Thu, 13 Mar 2003 15:07:34 +0100 Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (windows-nt) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:50816 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:50816 Inspired by Jesper Harder's info on how to automatically verify inline gpg signatures I decided to have a go. I got pretty much everything set up, except I can't get gpg to fetch keys from a keyserver through a proxy. If I do `M-x shell-command' and execute: gpg --recv-keys 0x80808080 I get the reply: gpg: requesting key 80808080 from search.keyserver.net gpg: no valid OpenPGP data found. gpg: Total number processed: 0 Which is fine since the key is invalid anyway. But if I try to verify a signed message from within gnus the request times out. I've tried to change the keyserver to a local one inside the firewall and then it works. The local keyserver only holds keys for local users, so it is not that useful for me. I've modified gpg.conf to use the http_proxy (and since it works from a shell within emacs I guess it is properly set up). Some information that might be of help: I'm running cygwin as my shell and unless I have: (setq shell-command-switch "-ic") the `M-x shell-command' also times out. It still works if I run it in a shell in emacs (`M-x shell' and then the gpg command.) Niklas