From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58156 Path: main.gmane.org!not-for-mail From: "Steven E. Harris" Newsgroups: gmane.emacs.gnus.general Subject: Re: authinfo/netrc file encryption status -- GnuPG Date: Fri, 23 Jul 2004 14:39:24 -0700 Organization: SEH Labs Sender: ding-owner@lists.math.uh.edu Message-ID: References: <4nwu0u8zht.fsf@lifelogs.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1090618868 18449 80.91.224.253 (23 Jul 2004 21:41:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2004 21:41:08 +0000 (UTC) Original-X-From: ding-owner+M6697@lists.math.uh.edu Fri Jul 23 23:40:58 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bo7mj-0004qj-00 for ; Fri, 23 Jul 2004 23:40:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Bo7lS-0000Bx-00; Fri, 23 Jul 2004 16:39:38 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Bo7lK-0000Bp-00 for ding@lists.math.uh.edu; Fri, 23 Jul 2004 16:39:30 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Bo7lH-0004A8-Du for ding@lists.math.uh.edu; Fri, 23 Jul 2004 16:39:27 -0500 Original-Received: from W003275.na.alarismed.com (unknown [204.193.55.129]) by justine.libertine.org (Postfix) with ESMTP id 9B0CB3A0034 for ; Fri, 23 Jul 2004 16:39:25 -0500 (CDT) Original-Received: from sharris by W003275.na.alarismed.com with local (Exim 4.40) id I1BQTO-0000E4-EI for ding@gnus.org; Fri, 23 Jul 2004 14:39:24 -0700 Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Rational FORTRAN, cygwin32) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58156 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58156 "Ted Zlatanov" writes: > The current gnus-encrypt.el is attached. Thanks. > So take a look and let me know if it works for you as it is. So far, I noticed that `make-temp-file' (used in gnus-encrypt-gpg-process-buffer) does not exist in XEmacs. I used `make-temp-name' instead. > Just call the functions gnus-encrypt-insert-file-contents and > gnus-encrypt-write-file-contents directly after customizing > gnus-encrypt-file-alist. I don't understand. Is this encryption stuff not hooked into Gnus in any way? That might explain my experience with it so far. I encrypted my .authinfo file using gnus-encrypt-write-file-contents (gpg, AES), but when I then fire up Gnus I don't get prompted for a password, and Gnus can't read the file. I used the Customize interface to add an entry to gnus-encrypt-file-alist, which wound up looking like this: (("/home/sharris/.authinfo" (gpg "AES"))) Note that the gpg and cipher specification are in a nested list, which differs from the example alist: '(("/home/tzz/alpha" gpg "AES") ; GPG on single file ;; xor encryption on all files matching "beta" ("beta" gnus-encrypt-xor "Semi-Secret")) I tried redefining gnus-encrypt-file-alist like so (("/home/sharris/.authinfo" gpg "AES")) but Gnus still fails to take notice of it. [...] > I meant to work on gnus-encrypt.el back then but have been too busy > - so if anyone wants to help, they're welcome to it. I can certainly help to test it. -- Steven E. Harris