From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.devel Subject: Re: pgg symmetric encryption patch Date: Thu, 06 Oct 2005 11:18:48 +0900 Message-ID: References: <2cd46e7f0509301024r71462d81v81ebd8e858f06305@mail.gmail.com> <20050930210649.GA22126@kenny.sha-bang.local> <2cd46e7f0509301452l72c262d6l89efd6fb772f61b2@mail.gmail.com> <2cd46e7f0510010928v8244052k2a98375e38fdd2ed@mail.gmail.com> <20051002104823.GA31722@kenny.sha-bang.local> <20051003192503.GA15503@kenny.sha-bang.local> <2cd46e7f0510031250u66ea1349yb437d539ce4027ef@mail.gmail.com> <20051004105330.GA5288@kenny.sha-bang.local> <20051005161905.GA6208@kenny.sha-bang.local> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1128565270 5793 80.91.229.2 (6 Oct 2005 02:21:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2005 02:21:10 +0000 (UTC) Cc: schwab@suse.de, Simon Josefsson , "Richard M. Stallman" , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 06 04:21:05 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ENLLp-0002Mz-KZ for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2005 04:19:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENLLp-0004D6-0N for ged-emacs-devel@m.gmane.org; Wed, 05 Oct 2005 22:19:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ENLLb-0004CQ-LZ for emacs-devel@gnu.org; Wed, 05 Oct 2005 22:19:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ENLLa-0004B8-21 for emacs-devel@gnu.org; Wed, 05 Oct 2005 22:19:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENLLY-0004Ar-GI for emacs-devel@gnu.org; Wed, 05 Oct 2005 22:19:00 -0400 Original-Received: from [64.233.184.195] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ENLLY-00044Z-DS for emacs-devel@gnu.org; Wed, 05 Oct 2005 22:19:00 -0400 Original-Received: by wproxy.gmail.com with SMTP id 71so149438wri for ; Wed, 05 Oct 2005 19:18:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:to:cc:subject:x-attribution:references:from:mime-version:content-type:date:in-reply-to:message-id:user-agent:sender; b=rUp8/XxFhHw1fd8hbWL+sTE6UnxKm8KtYh4SMyHF1Db2+77HGBBbudydWQQIAwzE1Zkc3qyqfSJIf1v3CcPtT3x43cRnVnemUF34qrUw63dfnG8Q+m+dWrUF/6u0Mqm1TXdK3G/o6SxCpQnHkwQBD9V1MIVfaaKzwyLpcG8Ocs0= Original-Received: by 10.54.69.8 with SMTP id r8mr775583wra; Wed, 05 Oct 2005 19:18:59 -0700 (PDT) Original-Received: from well-done.deisui.org ( [150.82.173.250]) by mx.gmail.com with ESMTP id d74sm669927wra.2005.10.05.19.18.54; Wed, 05 Oct 2005 19:18:58 -0700 (PDT) Original-To: Ken Manheimer X-Attribution: DU In-Reply-To: <20051005161905.GA6208@kenny.sha-bang.local> (Sascha Wilde's message of "Wed, 5 Oct 2005 18:19:05 +0200") User-Agent: T-gnus/6.17.2 (based on No Gnus v0.2) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.4 (patch 17) (Jumbo Shrimp) (i686-pc-linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:43598 Archived-At: Hello Sascha, >>>>> In <20051005161905.GA6208@kenny.sha-bang.local> >>>>> Sascha Wilde wrote: > I attached a more complete patch, including documentation and > changelog entries. > Any comments, bug-fixes, flames are highly appreciated. > +;;;###autoload > +(defun pgg-encrypt-symmetric-region (start end) > + "Encrypt the current region between START and END symmetric with passphrase." > + (interactive "r") > + (when (not (member (or pgg-scheme pgg-default-scheme) > + pgg-symmetric-encryption-schemes)) > + (error "Symmetric encryption is not implemented for selected scheme.")) It might be better to split pgg-gpg-encrypt-symmetric-region from pgg-gpg-encrypt-region rather than maintaining pgg-symmetric-encryption-schemes. When pgg-invoke calls "encrypt-symmetric-region" on pgp or pgp5 backend, a void-function error is signaled. Therefore, the user will see that "encrypt-symmetric-region" is not implemented. And also, is it still necessary to give special meaning to the 1st argument (recipients) of pgg-encrypt-region? > ps. I have no write access to CVS, so if there are no objections, > please commit. Currently, PGG in Emacs CVS is a part of Gnus. So I added Simon Josefsson to the Cc: list. He is one of Gnus maintainers and he has taken care of PGG in Gnus CVS. Regards, -- Daiki Ueno