From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: TRAMP and encrypted archive access Date: Sun, 13 Aug 2023 18:22:02 +0200 Message-ID: <87o7jaykt1.fsf@gmx.de> References: <87o7jbdjcw.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34583"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 13 18:22:52 2023 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 1qVDrg-0008oD-7Q for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Aug 2023 18:22:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVDqy-0001Se-IU; Sun, 13 Aug 2023 12:22:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVDqw-0001SC-H9 for emacs-devel@gnu.org; Sun, 13 Aug 2023 12:22:06 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVDqu-0008R4-U2 for emacs-devel@gnu.org; Sun, 13 Aug 2023 12:22:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1691943722; x=1692548522; i=michael.albinus@gmx.de; bh=p7ObLB6dTNKqbB0X6D/CMQ9R2GC5sgseIR/b52u4RLQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=RkY4VWB1SowlITO+X+Ink8tvLlc16j0TjRSJPqhx63DsKuLT8PRKO26jSni+4jfw9eGk0Cp cvr6BsgiZ2mrKrVOmkJxEyWwGxcvbOPtUiETatMT5NX8mElFh/KrfC66bXrYs++KJbEkaO5s/ c+UoNlJCk4t0pIX6Uo1itBGsE72j5QQOa9i+Gmu4cymafT/L9Iwej1L07u6tXeEuVauiIuDeS MYbzwu91rbv0ADaIjw1gm5H98OjMYaiyS5mEVIbZwGK3ZhaTHyAN7W8q49Ll8JykeZx07/Up/ EKzmEuK5KR5b/voaEGReiOf0/5hO616vV8KOEZoeCFs4+FN0Mcyw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.27]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mnpnm-1pyyEC29F4-00pK06; Sun, 13 Aug 2023 18:22:02 +0200 In-Reply-To: <87o7jbdjcw.fsf@localhost> (Ihor Radchenko's message of "Sun, 13 Aug 2023 15:58:55 +0000") X-Provags-ID: V03:K1:KBbOKqPxqKD1ktOWrODq99JArhVIkDPxKOa1MV43sxusDutMqWb TPiK0JBEUmCoVHx74pIvD602566siLkIv5Fzg4A8aC/ZldETsjx7lO0jE5UeygjqBmKPt8m Mv6gGH/EdyTzvkLVeiGTBpEy1nc+HO+9CSlmRMiGZoGyspH+Wt/f14fyfS3ncX16X/03wuj CCoqHgkVOL3Q8gQyuzg3w== UI-OutboundReport: notjunk:1;M01:P0:jLUBLlmNYoA=;GO3hykP298nJIPFDDcyiQeCZIhG 0FLywhUI1HGiVBcq1UTQigDTre4GjMjauP0OPaBtkL2XJmy+GfeJzV5PYiBY1uuGPt/Eh9+9l E+rTnvpuusm0ebcKoakI2Vz6uigArU2h0rWreLHTASovxjnbjGa+TYRZtuE4yto9ZQ3sFqg00 irl1h0MIxYrdvq5sbg3A/reAMJY7cHnsWas5ocqgkcTzt6j4TCash+TJRAX+EsDAwwreVOnog zeokyiEIE1mh4/zcW+4GFeJxo5Qv2hlZlB32CdRPEA9mOSplasAYfqabT/5YCQxHP9SclaB/P CiozFx/F8VmnHE/L5nV0AOHVM9YAhyWnniEaRxX5xkmyPc+n4/KmR2A5xCKp9ewdhGJqjkHto bulvD9x1DWwcZVUKYzQnc54J3OpvsnlIxHBQgvawk/2Nut32UQjt/Xd++CctTyu41PlsfPDN5 PvbosVRcvNJSeAe4GGTZv1HHeFQG7RE6Iu8xRWHpT/Abb5t2uzotcRZE8Da7CgS1a4ouEsefT uq2Dy+K/AJsL2s0IsSJ1iWbzPkkiC1lnJiHGHRein9ifRa48qTaddpYZ2ng4rkdovSkwuKu1v qz/DYf8J5XKx3ujgf8eBVmdyH3qnLykyhWuItjAALTTbo+gCBUlHMHFmFyjswfzayV7Nqqv3U eM1NI3kq7PhsGHJqA8wj+z1ZspS8CKPsKIioI54PlMjlKO98TdJK77jVk4HSI5cTjKQ/l6ZFd 9BvWfZPWnjh1WnvidAres0f0rHEGBm5Rz1PxJCzjDXVIeXLSJYFKzAYzeNDv/arNmRkMmEpM Received-SPF: pass client-ip=212.227.17.21; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308687 Archived-At: Ihor Radchenko writes: > Hi, Hi Ihor, > I am studying options to extend org-crypt encryption to attachment files > in addition to text inside Org buffers. > > I do know that Emacs allows transparent access to encrypted files and I > also know that TRAMP is able to open archive files (like .tar) > transparently as directories. > > I thought that combining these two features should just work=E2=84=A2, but > apparently it is not the case. If I create a foo.tar file, I can open it > with TRAMP. But the encrypted version of foo.tar.gpg file does not work > - it opens in tar-mode instead. The combination as in foo.tar.gpg/ is not supported yet in tramp-archive. tramp-archive supports compressed files, not encrypted ones. Yet. > Am I missing something? Or may my idea be silly? Might be possible, but I need to think about. For your own purposes in org-crypt, you must ensure that foo.tar.gpg, after decryption, is opened at foo.tar/ - the trailing slash matters. Best regards, Michael.