all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: emacs-devel@gnu.org
Subject: Re: gnus-cloud native GnuTLS AEAD support
Date: Fri, 22 Dec 2017 16:05:17 +0200	[thread overview]
Message-ID: <831sjmn9ia.fsf@gnu.org> (raw)
In-Reply-To: <87a7yl51r1.fsf@lifelogs.com> (message from Ted Zlatanov on Thu,  14 Dec 2017 00:15:14 -0500)

> From: Ted Zlatanov <tzz@lifelogs.com>
> Date: Thu, 14 Dec 2017 00:15:14 -0500
> 
> I've pushed scratch/tzz/gnus-cloud-aead with a proposed implementation
> to use the native GnuTLS AEAD symmetric ciphers for gnus-cloud storage.
> While this specifically is for IMAP articles, the implementation can
> encrypt/decrypt any unibyte text data using AEAD ciphers.
> 
> Reasons to implement it this way:
> 
> * no dependency on external tools
> * low risk: optional storage method for non-critical data
> 
> TODO:
> 
> * move the new code out to a library, either in core or in the GNU ELPA
> * document, factor some things out
> * add a checker function to read-passwd for min/max etc. requirements
> 
> It worked well in my testing. Comments and suggestions welcome.

Did you test this code with non-ASCII text?  There are some tricky
shenanigans with multibyte text in the associated gnutls.c functions,
and you are using base64-encode-region, which will signal an error if
any non-ASCII characters are found in the region it is invoked on.  So
I'd suggest to have that tested.

And then there are the TODOs, of course.

Thanks.



      reply	other threads:[~2017-12-22 14:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-14  5:15 gnus-cloud native GnuTLS AEAD support Ted Zlatanov
2017-12-22 14:05 ` Eli Zaretskii [this message]

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=831sjmn9ia.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=tzz@lifelogs.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.