From: Michael Albinus <michael.albinus@gmx.de>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-devel@gnu.org
Subject: Re: TRAMP and encrypted archive access
Date: Sun, 13 Aug 2023 18:22:02 +0200 [thread overview]
Message-ID: <87o7jaykt1.fsf@gmx.de> (raw)
In-Reply-To: <87o7jbdjcw.fsf@localhost> (Ihor Radchenko's message of "Sun, 13 Aug 2023 15:58:55 +0000")
Ihor Radchenko <yantar92@posteo.net> 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™, 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.
prev parent reply other threads:[~2023-08-13 16:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-13 15:58 TRAMP and encrypted archive access Ihor Radchenko
2023-08-13 16:22 ` Michael Albinus [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=87o7jaykt1.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=emacs-devel@gnu.org \
--cc=yantar92@posteo.net \
/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.