From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55851 Path: main.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: netrc.el now supports encoded files Date: Thu, 08 Jan 2004 17:03:39 -0500 Organization: =?koi8-r?q?=F4=C5=CF=C4=CF=D2=20=FA=CC=C1=D4=C1=CE=CF=D7?= @ Cienfuegos Sender: ding-owner@lists.math.uh.edu Message-ID: <4nisjmhzd0.fsf@collins.bwh.harvard.edu> References: <4n3caut1yy.fsf@collins.bwh.harvard.edu> <4nptdx99g3.fsf@collins.bwh.harvard.edu> <4nwu84y967.fsf@collins.bwh.harvard.edu> <4nfzesy6h9.fsf@collins.bwh.harvard.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073599514 21558 80.91.224.253 (8 Jan 2004 22:05:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Jan 2004 22:05:14 +0000 (UTC) Cc: Karl Berry , kyle_jones@wonderworks.com Original-X-From: ding-owner+M4391@lists.math.uh.edu Thu Jan 08 23:05:10 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 1AeiH8-0003BK-00 for ; Thu, 08 Jan 2004 23:05:10 +0100 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 1AeiGw-0007m5-00; Thu, 08 Jan 2004 16:04:58 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AeiGo-0007lz-00 for ding@lists.math.uh.edu; Thu, 08 Jan 2004 16:04:50 -0600 Original-Received: from clifford.bwh.harvard.edu (clifford.bwh.harvard.edu [134.174.9.41]) by justine.libertine.org (Postfix) with ESMTP id A4A5E3A0044 for ; Thu, 8 Jan 2004 16:04:49 -0600 (CST) Original-Received: from collins.bwh.harvard.edu (collins [134.174.9.80]) by clifford.bwh.harvard.edu (8.10.2+Sun/8.11.0) with ESMTP id i08M3jW06804; Thu, 8 Jan 2004 17:03:45 -0500 (EST) Original-Received: from collins.bwh.harvard.edu (localhost [127.0.0.1]) by collins.bwh.harvard.edu (8.12.9+Sun/8.11.0) with ESMTP id i08M3duB001742; Thu, 8 Jan 2004 17:03:39 -0500 (EST) Original-Received: (from tzz@localhost) by collins.bwh.harvard.edu (8.12.9+Sun/8.12.9/Submit) id i08M3da5001739; Thu, 8 Jan 2004 17:03:39 -0500 (EST) Original-To: ding@gnus.org X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Followup-To: ding@gnus.org, Karl Berry , kyle_jones@wonderworks.com In-Reply-To: (Lars Magne Ingebrigtsen's message of "Wed, 07 Jan 2004 03:53:48 +0100") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (usg-unix-v) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55851 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55851 On Wed, 07 Jan 2004, larsi@gnus.org wrote: > Ted Zlatanov writes: > >> I think I'd like to start on gnus-encrypt.el. These functions will >> be available: >> >> gnus-encrypt-insert-file-contents >> gnus-encrypt-write-file-contents > > These sound so generic and useful that I think it would make sense > to just create encrypt.el and call them > `encrypt-insert-file-contents', etc. OK, here's the plan. The crypt++.el package, which does a lot of what I need to do, will be the starting point. I'll call my package gencrypt.el. I talked to Karl Berry, the current crypt++.el maintainer, and he's OK with this. Gnus will get gnus-encrypt.el which will use gencrypt-insert-file-contents (+ arguments) gencrypt-write-file-contents (+ arguments) to provide gnus-encrypt-insert-file-contents (no arguments if possible) gnus-encrypt-write-file-contents (no arguments if possible) using the gnus-encrypt-file-alist association list we discussed. This will let Gnus internals move to using the gnus-encrypt.el functions without modifications. Without gencrypt.el, gnus-encrypt.el will provide four options: OpenSSL encoding (I'll just copy what I have in netrc.el), GPG encoding (simple command-line invocation with --armor), base64 encoding, and no encoding. Ted