From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Deus Max Newsgroups: gmane.emacs.devel Subject: Re: Tramp and crypted files Date: Wed, 20 May 2020 11:27:47 +0300 Message-ID: <874ksbvwn0.fsf@aia00820.aia.gr> References: <865zd1h3ru.fsf@duenenhof-wilhelm.de> <875zd15rze.fsf@gmx.de> <87wo5gjfbr.fsf@gmx.de> <87eermkdov.fsf@gmx.de> <87r1vlipg4.fsf@gmx.de> <86lflrttxn.fsf@duenenhof-wilhelm.de> <874ksdhdmp.fsf_-_@gmx.de> <87h7wcwbn9.fsf@aia00820.aia.gr> <87lfloou9y.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="125743"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: "H. Dieter Wilhelm" , ndame@protonmail.com, emacs-devel@gnu.org, Richard Stallman , Deus Max To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 20 10:31:06 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jbK81-000Wbc-VV for ged-emacs-devel@m.gmane-mx.org; Wed, 20 May 2020 10:31:05 +0200 Original-Received: from localhost ([::1]:36734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbK80-0005GM-RK for ged-emacs-devel@m.gmane-mx.org; Wed, 20 May 2020 04:31:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbK57-0003Lo-2i for emacs-devel@gnu.org; Wed, 20 May 2020 04:28:05 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:43119) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbK55-00043F-MG; Wed, 20 May 2020 04:28:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1589963279; bh=wY0ixYn2qgttCHwdTyli2Hyb1e//9gK16FKxWrempsk=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=Fym+cMypnL8V2ZU+V0LLlrvlM5wo/bY0Dj/anKCcG+wn5vLflVsmLA19ypkLKrfSj Pl00bVZt9hi00j9s0Hg+mbGyIh0h67qfEqI2+Ys7n9OmZcvH24l/EuktvOnqRHINCG QWm7cHN60uuWIyI98sTIWTmG5995vBpXR7PTIzJU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from aceraspire5 ([78.87.138.243]) by mail.gmx.com (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MA7GS-1jmpLJ0sDi-00Bb9Q; Wed, 20 May 2020 10:27:59 +0200 In-Reply-To: <87lfloou9y.fsf@gmx.de> (Michael Albinus's message of "Tue, 19 May 2020 16:48:25 +0200") X-Provags-ID: V03:K1:V/BptYbs4HXKOF0LoEOnlXyyJxYzm2wOkaTLWD/WscJrg+G8xrl 65OvqziDx/3uRiHITtQ8Ynmx0Se/uOmXABj3gQQrHy46a6m3FQbiGmN2lqWXKSgSejc7YUC RgSuIbEoZHfR2eilHbSmiHKjZSPJQbm4YG6IIqWm8Jz4LIBCDs8RAW8YSiidPqRWnAsFDKi YKj5LORMm94t15F1w2W1Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:VYOtSNYLbjo=:rb1wG3wbtvc65D+i9RiyOu sd2fXSnTRpt3LzmemIt+33Jw6syr5yRs8TZ739izY67G7sxzIbFOKzMfIjyXM//jFtKg+kH8d pAdNHCc5XZ+ee0BtivsAob64sIcye+9BvfqyC4bzR6Q6B44PI46zE8MagZOXi5jlSRm4soIbA Jq+nEvh6cwfeOMCbwedY4cnyjz4SVtyjb9C1noPXeewHqnM3ka8HqgVV0NntNmyfvi8gUQiQj J13kaXLgbOip2tcUvzArPebZc9eg3znEk72jyf+v2Cl0gTVCgFqXoIp4Rm+XaSSWfWFeNbZmx k59L4+qU/Hf3JFSuxx5qua++z0fdQhN88w8WsmLnMwR+ih0SC3/eU7zYo/yBQ9oCAys1YcBDx 65LPmdWwI1bF7PGsJc7pFkWuUjGf5fDISpSO4uA18Pi2wFDqHdQpQg7edyICcYcM2+HVHLm2/ zp/ApmNU/8v0RXeVsnaYv9mVDtf7Y/j6qXA3Wg4/dOiO5uBVl97dQrnPrfGiOvPbKdMyyupuY j/m8XZj9FKaa59Y5A4wLjtl1JM6BCFtj815EKUSaGARpN2wlQ4l+cVHAc3jJDvfVXyM7G4WKh nOMawpaO4MI84+i/npMD2leV6OqGekJ1fDyBisdS+01mLPA8N2fogwfITRw3BFTttz/KnDrRI fCUFiNLPgBx/MStPNZ8COqc4pOTs9fNsq8BgdSAbhptMtoZPlKi5l1Ia9oYgdfTKl25c9CVEK EVLxQEzEqGZJkrNT5UaMRBVK1Rdjc1ZOi+vIBRp9G+0IIoAHobJKRCKAoHPsPhCsOQatdPa7 Received-SPF: pass client-ip=212.227.15.15; envelope-from=deusmax@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/20 04:28:01 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:251021 Archived-At: On Tue, May 19 2020, Michael Albinus wrote: > Deus Max writes: > > >> I wrote a bash script that manages davfs2 and encfs for uploading the >> data to the cloud with WebDAV. See for details >> https://github.com/deusmax/cloud-davfs-encfs. >> >> I have tested the package only with nextcloud, but the whole setup seem= s >> to be generic webdav. Should work with other cloud providers that >> support webdav. >> >> Tramp uses the GOA library. I don't know if this is plus or a minus >> compared to davfs2. I should look into supporting GOA, anyway. >> >> I would be happy to port it to Tramp. You think it may work ? >> Can someone give me a pointer to start ? >> >> This work could result into creating connection methods like "davs-enc" >> or "nextcloud-enc". > > Thanks for your proposal! I haven't tried encfs yet, but is sounds > promising. > > As written in my other messages, I don't believe (anymore) we shall mix > the en-/decryption part with Tramp implementation. This shall be > implemented in another file name handler, working over local > files. Tramp with whatever backend would be responsible then for copying > the encrypted files from/to the remote side. > Agree. Encfs handles the encryption. The actual files are encrypted, encfs defines a mount-point where the files are displayed decrypted. > Best might be, if you start to read Emacs docs about file name handlers, > and how they are supposed to work. There's not too much in the doc; a > starting point would be (info "(elisp) Magic File Names") > Great! thank you. I will look into it. > In parallel, I will download your package, and play with it. > If you have any questions let me know. Having an easy to use Tramp method for encrypting cloud data would be a good plus for privacy. DeusMax