From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Manheimer Newsgroups: gmane.emacs.devel Subject: Re: pgg symmetric encryption patch Date: Wed, 26 Oct 2005 11:45:20 -0400 Message-ID: <2cd46e7f0510260845r7421efc1kfcd33b24c1a27569@mail.gmail.com> References: <20051007100014.GB4850@kenny.sha-bang.local> <2cd46e7f0510121647x3c51fb65pc883ed61f4e864ab@mail.gmail.com> <2cd46e7f0510200708x4640d1c2t50743cf439e52dd4@mail.gmail.com> <20051020144236.GA6418@kenny.sha-bang.local> <2cd46e7f0510251326w61ad1899wcf8286d04387e962@mail.gmail.com> <2cd46e7f0510251428l7b143956m5d7635e4b38898b0@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1130341827 30021 80.91.229.2 (26 Oct 2005 15:50:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Oct 2005 15:50:27 +0000 (UTC) Cc: sascha schwab , "Daiki Ueno \(pgg author\)" , emacs-devel@gnu.org, "Richard M. Stallman" , Simon Josefsson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 26 17:50:22 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EUnTc-0004Nw-4L for ged-emacs-devel@m.gmane.org; Wed, 26 Oct 2005 17:46:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUnTa-0004fZ-Ih for ged-emacs-devel@m.gmane.org; Wed, 26 Oct 2005 11:46:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EUnSu-0004Ek-Ha for emacs-devel@gnu.org; Wed, 26 Oct 2005 11:45:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EUnSs-0004DB-ID for emacs-devel@gnu.org; Wed, 26 Oct 2005 11:45:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUnSs-0004D3-9f for emacs-devel@gnu.org; Wed, 26 Oct 2005 11:45:22 -0400 Original-Received: from [64.233.162.198] (helo=zproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EUnSs-0004bi-Ca for emacs-devel@gnu.org; Wed, 26 Oct 2005 11:45:22 -0400 Original-Received: by zproxy.gmail.com with SMTP id k1so113261nzf for ; Wed, 26 Oct 2005 08:45:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oC0kGyJhzc2FzWh1wP00tz6RMpvbcOTdspRuPx1MXNKwcV/SDy7T7Hxp6NZR1OAV7EHw8gzD7ApCza/koF08FMYUXULjQBrocldX4yc6s9+i0AxalwmSU5O/MGAYXKjxBE3iMwoZuGTs+rUcIHfVniWk6/KOBTyNMKW8UD8PJ+w= Original-Received: by 10.37.21.60 with SMTP id y60mr1117876nzi; Wed, 26 Oct 2005 08:45:20 -0700 (PDT) Original-Received: by 10.36.39.19 with HTTP; Wed, 26 Oct 2005 08:45:20 -0700 (PDT) Original-To: Sascha Wilde In-Reply-To: Content-Disposition: inline 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:44900 Archived-At: On 10/26/05, Sascha Wilde wrote: > Thanks for the patch, but I'm missing the additions to the pgg > documentation I made. here is the texi part of your patch, exactly as it was in emacs-pgg-symmetric.patch-5 as you sent it. (i included your ChangeLog entry in the part of my patch for the ChangeLog, and similarly for the pgg.el and pgg-gpg.el source files, so i think it's now complete.) ken ken.manheimer@gmail.com Index: man/pgg.texi =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/emacs/emacs/man/pgg.texi,v retrieving revision 1.5 diff -u -r1.5 pgg.texi --- man/pgg.texi=0916 Sep 2005 22:11:00 -0000=091.5 +++ man/pgg.texi=098 Oct 2005 10:31:09 -0000 @@ -98,6 +98,8 @@ @lisp (autoload 'pgg-encrypt-region "pgg" "Encrypt the current region." t) +(autoload 'pgg-encrypt-symmetric-region "pgg" + "Encrypt the current region with symmetric algorithm." t) (autoload 'pgg-decrypt-region "pgg" "Decrypt the current region." t) (autoload 'pgg-sign-region "pgg" @@ -140,6 +142,13 @@ with GnuPG. @end deffn +@deffn Command pgg-encrypt-symmetric-region start end +Encrypt the current region between @var{start} and @var{end} using a +symmetric cipher. After invocation you are asked for a passphrase. + +This is currently only implemented for GnuPG. +@end deffn + @deffn Command pgg-decrypt-region start end Decrypt the current region between @var{start} and @var{end}. If decryption is successful, it replaces the current region contents (in @@ -305,6 +314,13 @@ @var{recipients}. If @var{sign} is non-@code{nil}, do a combined sign and encrypt. If encryption is successful, it returns @code{t}, otherwise @code{nil}. +@end deffn + +@deffn Method pgg-scheme-encrypt-symmetric-region scheme start end +Encrypt the current region between @var{start} and @var{end} using a +symmetric cipher and a passphrases. If encryption is successful, it +returns @code{t}, otherwise @code{nil}. This function is currently only +implemented for GnuPG. @end deffn @deffn Method pgg-scheme-decrypt-region scheme start end