From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: netrc.el now supports encoded files
Date: Wed, 07 Jan 2004 01:09:33 +0100 [thread overview]
Message-ID: <ilullokaabm.fsf@latte.josefsson.org> (raw)
In-Reply-To: <4nfzesy6h9.fsf@collins.bwh.harvard.edu> (Ted Zlatanov's message of "Tue, 06 Jan 2004 18:58:42 -0500")
Ted Zlatanov <tzz@lifelogs.com> writes:
>> Anyway, it sounds more and more like this could be a separate
>> package. "encrypt.el" is available, AFAICT. Using various hooks,
>> such a package might be able to work without the cooperation of Gnus
>> at all. Then you could request automatic encryption/decrypt of
>> ~/.newsrc.eld by saying (add-to-list 'encrypt-file-alist
>> '("~/.newsrc.eld." gpg-symmetric)) or something like that.
>
> I think cooperation is good. Trying to hide the reality of the
> situation - that we're encoding files with external utilities or
> internal functions - is sure to cause problems in the long run. I see
> it in crypt++.el, and it's not pretty. It interferes with many
> packages.
Yes. OTOH, in some (non-Gnus) situations it might useful to be able
to "advice" a package to encrypt its files, without changing the
package.
> 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
>
> and these variables:
>
> gnus-encrypt-file-alist
>
> The format of that variable: list of filenames or regular expressions
> matched with an encrypting/decrypting method. Methods:
>
> '(gpg PUBKEY) ; RSA, RSA-E, RSA-S, ELG-E, DSA, ELG
> '(gpg CIPHER) ; 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH
> '(openssl CIPHER) ; too many to list
> '(internal CIPHER) ; rijndael, RC4, XOR, Base64 etc.
>
> What do you think? Any comments before I start coding?
This sounds good to me. And probably more reliable than any crypt++
approach.
Btw, the "ecrypto" XEmacs package contain (3)DES and Blowfish in elisp
as well.
next prev parent reply other threads:[~2004-01-07 0:09 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-05 23:22 Ted Zlatanov
2004-01-05 23:34 ` Jesper Harder
2004-01-06 1:02 ` Ted Zlatanov
2004-01-06 0:13 ` Steven E. Harris
2004-01-06 1:01 ` Ted Zlatanov
2004-01-06 21:57 ` Chris Green
2004-01-06 23:00 ` Ted Zlatanov
2004-01-06 23:25 ` Simon Josefsson
2004-01-06 23:58 ` Ted Zlatanov
2004-01-07 0:09 ` Simon Josefsson [this message]
2004-01-07 2:53 ` Lars Magne Ingebrigtsen
2004-01-08 22:03 ` Ted Zlatanov
2004-01-27 19:44 ` Ted Zlatanov
2004-01-07 14:47 ` Chris Green
2004-01-08 20:48 ` Ted Zlatanov
2004-01-06 13:28 ` Simon Josefsson
2004-01-06 19:58 ` Ted Zlatanov
2004-01-06 20:24 ` Simon Josefsson
2004-01-06 20:59 ` Steven E. Harris
2004-01-06 22:00 ` Simon Josefsson
2004-01-06 22:24 ` Simon Josefsson
2004-01-06 22:56 ` Ted Zlatanov
2004-01-06 23:13 ` Ted Zlatanov
2004-01-06 23:35 ` Simon Josefsson
2004-01-06 20:33 ` Simon Josefsson
2004-01-06 23:14 ` Ted Zlatanov
2004-01-06 23:19 ` Richard Hoskins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ilullokaabm.fsf@latte.josefsson.org \
--to=jas@extundo.com \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).