From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Tramp and crypted files Date: Tue, 19 May 2020 16:48:25 +0200 Message-ID: <87lfloou9y.fsf@gmx.de> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="59576"; 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, Richard Stallman , emacs-devel@gnu.org To: Deus Max Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 19 16:51:05 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 1jb3aD-000FOo-BA for ged-emacs-devel@m.gmane-mx.org; Tue, 19 May 2020 16:51:05 +0200 Original-Received: from localhost ([::1]:58628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jb3aC-0002vv-4F for ged-emacs-devel@m.gmane-mx.org; Tue, 19 May 2020 10:51:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jb3Xj-0000XF-FJ for emacs-devel@gnu.org; Tue, 19 May 2020 10:48:31 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:58343) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jb3Xi-0001k5-AQ; Tue, 19 May 2020 10:48:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1589899706; bh=Cuzt+DcHttUDVg6MVEkpWfmCm58R6Dylvk9pk8myNzk=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=P8enqnX5lOcij2iXiIbo5npb4mgW6gWD2M4nxPCCDa/EVfg84dIz3g5Eft224EGVx nn5S5iznornRK9AUiqD/J+ge8wFZseky1/IbZl4KArtJ2J4vm/RzaEEkhlsPcMYVeq WTSnQEWOi9r9bUlmy5tBL2rHf5kO5aZ6kMDenEJA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.86.41.201]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MFsZ3-1jqgz71kpr-00HO2k; Tue, 19 May 2020 16:48:26 +0200 In-Reply-To: <87h7wcwbn9.fsf@aia00820.aia.gr> (Deus Max's message of "Tue, 19 May 2020 11:51:22 +0300") X-Provags-ID: V03:K1:L0iRQnD0HfqEsJdsn+saNhvWtb8pSbVEJ82NUrp0sGQZ9OILzGA /mlCUJFUU+SOF8/cFwBCdoRvsyxBP8NdXv65Q+Tt5XTPpxkIK5pXzqQeuwZgJUt1qX1FHwV 1NBLsf1hmCOAUinkp8t/q/c0dJmT8Q2Pzst2gm8YGb0pkI+3zR9z1fNyCoe0MJp3O1zFsmp l9u8plslL4xuIwav/1PVg== X-UI-Out-Filterresults: notjunk:1;V03:K0:WH3sgOrvl0k=:VXQroxCD5qHeYR1YOEbtdI WRtSYpU8R5T6Jx3INJoE7wetAPRwYMFVkCBYXp0LMrfjuaAwlpXPxqoeK4Io2O1RMOx2lBoFQ CpWLf1Sifd0nos5zEzCQzYxxLiGFFozglGePpocE0dtumzSf6E7z6k/1wjIlrSrs6sNhgsCce LuYfyAQpBHv0efO31VUQb4dRERHwztDlr3z4R/bCssh+P4AgVzWt3VrF/01wapBdHifoq3e2h u+RzElI+WYduzweztVOdeYFPThQ8gXSzcwP5ZxDVYztZGTKruWJsd51LkSI5loRCSoZt2JjXe n9KQrT4WWoXVFV6sTANUPYL/niBPFE6Z5Phb7P5Mbu+4FWV6pKm5a5rjYf7IXg0qcM1Pjx12Q Ji4ZigkdGHxU3v6dx/adhTwSARzN8MXUbQwHqpRMFbCh8w5AIUaPrdFKMHkaF3+U+vHoNDKZS WkDscQI+eEwD68DA2JNlBatkKikYeqmXvrwzGaZaCUc1vQUqnutJAggSPHLEoLfeQ6vh7krNd 1F40IgAVndK5+lN4DlfhRylmxTMH4WqAkFuzyysNjE3IyTjjIfXMk7vdTtYjhsTZnI07BoBt0 8XRXFTeuodahtvXpUmkqNcTci+Ks6+KstGo+MHCFsLZ9H1DS9Casy2Lu2q8RtIRk6SSxwbiap K6QCyUktRY2n7tduc9Gcjnj/Hdu+JSeMETgm4Nxq23zTXBrZbzDm+/jzbE39VQzTjIGejgl51 FZoAAO2D93TSqVjoBF8kpLb9yq7cAImnHTK37YD6W/mUtHI/HCoW7W59u+zuqD2Rb9Q32A7q Received-SPF: pass client-ip=212.227.15.18; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/19 10:38:22 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:250939 Archived-At: Deus Max writes: > Hi Michael, Hi, > 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 seems > 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. 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") In parallel, I will download your package, and play with it. > DeusMax Best regards, Michael.