From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cFNJB894UWSaYgEASxT56A (envelope-from ) for ; Tue, 02 May 2023 22:55:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qCBPBs94UWRz9AAAG6o9tA (envelope-from ) for ; Tue, 02 May 2023 22:55:43 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B331C3D4E1 for ; Tue, 2 May 2023 22:55:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptx17-0003OS-2s; Tue, 02 May 2023 16:54:33 -0400 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 1ptx15-0003O6-H1 for emacs-orgmode@gnu.org; Tue, 02 May 2023 16:54:31 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptx12-0001sy-VV for emacs-orgmode@gnu.org; Tue, 02 May 2023 16:54:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B6F7D24038B for ; Tue, 2 May 2023 22:54:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1683060866; bh=OMu8neb1s4G3kyoSyc0x7LxOZ74r2IOapt4m0hrT/tk=; h=From:To:Cc:Subject:Date:From; b=mKLwlrgzSpkwsW2AzXAtFjctI+C/lEhj5Nw/6lOiN7KBErgDiU89Fs/7J61oMdBGo lhryw3YEOz/HdFS/WMI+MnIYffM7r41/heZLG2KbhIFSw8U1w6Tuvn5O8svMgvgQ8Y jhWHd7qvSy4Qnn9G6fSDWGGrhh1rJcTL8cq5VPp6CoA8g9nC05VLei3TR3b5RP9ej0 SBe49AzJ7D3UlOP1sixqgKdPNcl4OpMjqV6PCxslCvob3yAoUjp1acGEKxpn7AGrXT 6ExzOOYJM70cl6/D++VHYKrHNS/IVIIGUkKzL0WShEeBky6NqWIuMfRy5OMfrC06tJ ZhcQKByaZz8KA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q9sl61bpxz9rxF; Tue, 2 May 2023 22:54:26 +0200 (CEST) From: Ihor Radchenko To: Gustavo Barros Cc: Timothy , org-mode list Subject: Re: How to disable org-persist in a given file? In-Reply-To: References: <87fs8quapc.fsf@localhost> <87fs8q4sbm.fsf@localhost> <87sfcos1ip.fsf@localhost> Date: Tue, 02 May 2023 20:57:31 +0000 Message-ID: <87zg6mqwn8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683060942; a=rsa-sha256; cv=none; b=lp7DJ5LVCE5EkgNeKnAJ55LavWmUlPKrjTMxZ3LneRZOlnqmf5OZFYKCk4SpnKv6H9fIwR SjwOjF9O0V+H+1CyjkT0NNC1ejPA0mTdqwlnRTQmW451itTqGHXaXLc7rkLZwrNYCXOfOj f5fds0BHQM23evO8pspAJt67tZ7PNZthEYWjhjZeFCS3z5tp2526utuIAu099D7hFJKEBa xzwgLmpA+hIsPwM1x9mk+0clW8jL2QXPVCrqemiP1ktT+5G10u4mmui/yPCnH8E4SNrr6D OmBZfYQGLZQeVerOxlNfuDOjPefCA1P9O4seBKmDZCvSPw1M3dcPkzVMRU3csQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mKLwlrgz; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683060942; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jxnkqYCJngcBJmwevV5Hmcs7fpx23ijQQ13nogLf8q0=; b=qzKmfF9ix6HJoUhzDEHUpQuBBSZnX7ewW2A6JvYpt91I9Po2aGLV69iY+zJMdKCGoUhvLg K1ouiAl1fLkRkcucIfrTAl/l/2Uaxp4xOjnxEOiXwkV3tl3FPaOlWDYaOnC8vHHaGiHiYX EmoxzN5NjFAyHWBDNgkzGeoikfwln+64DcL26KWWL6uTkXvfXAQMzHEvG+9jm+9rvGbmfe 7aUjlQWA3bdi6koAVGQWiD5IKexstcRot/swn9E1UMjdIuBPxO6gvd9FUt/yzyaZ9h2RJQ ukWWYLZWPQvrT8PDu3lY0RnKrafxyiN2jTymddUdqtXelt6RJL7NpvkJS8nSPg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mKLwlrgz; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.18 X-Spam-Score: -5.18 X-Migadu-Queue-Id: B331C3D4E1 X-TUID: TCAgoTLR/GNm Gustavo Barros writes: > For the record, even ".org.gpg" files generate an entry in the cache > index. (True, not the `:persist-file' itself though). > > My ~/.cache/org-persist/index contains: > > (:container > ((elisp org-element--headline-cache) > (elisp org-element--cache)) > :persist-file "c8/fd2b62-45cc-41c8-8571-d944c76b1f15" :associated > (:hash "7fd2d95e0f9239939598e7a9b8d5a273" :file > "/path/to/myfile.org.gpg" :inode 41551881) > :expiry 30) I think `recentf-save-file' for example is no different. And org-id-locations-file. And custom-file, if you happen to save safe buffer-local variables by answering "!" in Emacs prompt. And many many other places. I do not think that file name, even from encrypted volume, is something we need to worry about. I even suspect that, for example, browser cache often contains all kinds of secrets, like files associated with web pages were you logged in. And they can be read by anyone familiar with the layout! (like https://www.nirsoft.net/utils/chrome_cache_view.html) > Please, please, be reasonable about this. Please, do not store > information about known encrypted files in other places. Please, allow > users to disable the feature cleanly and safely for arbitrary files if > they choose to. That said, do not worry about this issue being forgotten. But it is not easy to design cleanly. I am thinking about it. Of course, if you have good ideas or patches, they are welcome. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at