From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: gnus-cloud native GnuTLS AEAD support Date: Thu, 14 Dec 2017 00:15:14 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87a7yl51r1.fsf@lifelogs.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513228561 25544 195.159.176.226 (14 Dec 2017 05:16:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Dec 2017 05:16:01 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 14 06:15:57 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePLsC-0006SA-8m for ged-emacs-devel@m.gmane.org; Thu, 14 Dec 2017 06:15:56 +0100 Original-Received: from localhost ([::1]:39208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePLsJ-0004NL-BC for ged-emacs-devel@m.gmane.org; Thu, 14 Dec 2017 00:16:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePLrl-0004LU-Ch for emacs-devel@gnu.org; Thu, 14 Dec 2017 00:15:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePLrf-0003aK-DX for emacs-devel@gnu.org; Thu, 14 Dec 2017 00:15:29 -0500 Original-Received: from [195.159.176.226] (port=49151 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePLrf-0003ZX-16 for emacs-devel@gnu.org; Thu, 14 Dec 2017 00:15:23 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ePLrV-0004VL-Nk for emacs-devel@gnu.org; Thu, 14 Dec 2017 06:15:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 19 Original-X-Complaints-To: usenet@blaine.gmane.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-Copies-To: never Cancel-Lock: sha1:k9bbDZn97Vz5LUs3onm9YoLl5lM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221040 Archived-At: 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. Ted