From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KFEVF410UWSnXAAASxT56A (envelope-from ) for ; Tue, 02 May 2023 22:37:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SDX9Fo10UWRD0AAA9RJhRA (envelope-from ) for ; Tue, 02 May 2023 22:37:33 +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 2208338C23 for ; Tue, 2 May 2023 22:37:33 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptwk5-00073B-HC; Tue, 02 May 2023 16:36:57 -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 1ptwk4-00072k-03 for emacs-orgmode@gnu.org; Tue, 02 May 2023 16:36:56 -0400 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ptwk1-00027q-Cc for emacs-orgmode@gnu.org; Tue, 02 May 2023 16:36:54 -0400 Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-24de9c66559so2456330a91.0 for ; Tue, 02 May 2023 13:36:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683059811; x=1685651811; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=8qk1HRAJDxRXDUYv6o+fUaarVVz52tz/U6HOG6mnhuk=; b=JV5cEGLGBZUvAuH68jmyMCqHAeJvYrFKm56Aaq9LuZDovh9n1wW6UhLJLwUvfMlkKN LcdfG9zkT3NTbu+t2pZ5oT60ZRA4v0v22Sl226tKqSm/G6LYpsZKUvN4RoA8WUpihmFC RJkLAKJpHNrqtS4m+10weII8wTaEHZHtpwXhRYIp4qg8nSivbpJ44+fOnOILM7X4mCPi ra9HN60bzV09q6cQRjJQTF3bLB9jwfTHIs8H8FKbG71stlrNGYN2lyyILlXxZSsUs7h/ PnvENe93MJAi6DBmDINbcj/d8VLV/BGTqtgul9BGh54md0gity2Mb8mPABsbkfwB4HkL x0dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683059811; x=1685651811; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8qk1HRAJDxRXDUYv6o+fUaarVVz52tz/U6HOG6mnhuk=; b=ZgyvcQeUO7gqH4zQknrrx0FlSR6zobhc8e19ybK7pAna1wqrNqFOm8KwMuYhSeI5zP wd8IiKhsq5dRRDvo7NhRtcIzhS4nlwzTPuPvjOInZeBoYxGZUPnzUKxyaYqxsN4//uYs K8lnYSBqufyb2hbI5JKnl6VG2Uqq3DCcbCYBat+xuwG2fXLXHhKgXVG2yGKIdPfi5XCe qUIemG7exwJiqJyCLMF2xU9e6eVRFHdGMnzI9imRg7jFAKS6udTLzW9/O2VmDuFkIg4O X5uU22FvX5Qmyu76SsWTC6O7MJ/UrOQnLTe9nImalPjCNbP8xNDbhG51a7x/Eerxu+mT 2FZg== X-Gm-Message-State: AC+VfDy6MYgj8SolYu43VbR0ycjYXukLKkxdj/1nvRIo1DMba/19qWCo J4AJiw5iNb7XTtmSsWGpXxx+ReQMI1d7Jx0RRbqqXaWQiLWf8Q== X-Google-Smtp-Source: ACHHUZ57x2usAz9vU+KsEPSJ+bNt2Jv8xoozN/H7DwYpDPuP1r129Udg4+WobJcNcizMZtW2atKwMQEAYXOmTnz0eOM= X-Received: by 2002:a17:90b:3a8e:b0:247:ab52:d5d8 with SMTP id om14-20020a17090b3a8e00b00247ab52d5d8mr19787037pjb.26.1683059811329; Tue, 02 May 2023 13:36:51 -0700 (PDT) MIME-Version: 1.0 References: <87fs8quapc.fsf@localhost> <87fs8q4sbm.fsf@localhost> <87sfcos1ip.fsf@localhost> In-Reply-To: From: Gustavo Barros Date: Tue, 2 May 2023 17:36:39 -0300 Message-ID: Subject: Re: How to disable org-persist in a given file? To: Ihor Radchenko Cc: Timothy , org-mode list Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=gtvbrs@gmail.com; helo=mail-pj1-x1029.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, HK_RANDOM_ENVFROM=0.266, RCVD_IN_DNSWL_NONE=-0.0001, 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=1683059853; a=rsa-sha256; cv=none; b=C6EMJeBqMoYogC4G+HI2rI8vac6Y/CgC6Wb+i76tnilRJ3kguw9fTDBqzsDOCAzBdWB3rH GJ5XxpxboIKhBrREbC6NmK7od41xw/QrqIH6hqRUFHervpLEGZ1dcQk711xfD7M5PKucKl oxJdDbXW0zMw8oYfG1rZUq4/L9zWu27JREXAx6mOMOneOTTQMiSfOaRCVx7kxCxteNmuvW rbbpxvCD9DKslQy/+4pNjBGhu1M6nm5U8VG9VvvtHGE32LbqO5ttofoxO7N9dbrOsdaSDS pmJ1J3ox3myLgz0W+URdyK8W2i+w7+MgLQOkgN9Rm+/LmG5rSGKp9klDG9mcmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=JV5cEGLG; dmarc=pass (policy=none) header.from=gmail.com; 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=1683059853; 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=8qk1HRAJDxRXDUYv6o+fUaarVVz52tz/U6HOG6mnhuk=; b=Aw26iXvN0ENSVcQZLsLa5NvLj/n7m/x64sRvIjjDXzhywdNkHfIeR915xFhiolN7mn/Sej V0BwrOz0ZBAtrCS3r4MkmJykWyrFx6owHzas4xuqQ93Y4pyDlgtK54K8bAMsxFQ/a9NfZ5 U1CKOUgX+jjnWaRGE3kjyTMJ/Y5EZd21azDUSYMB7cjRxh+Q/qcJtWBEOQlAaegFSWjVtQ uHHSOp/aS/DbxlVgYzJfpVX3f8iXHcc0mFQS/uhwl/Id8Cuz6kHLB+5JTYudRviA8Xq5i3 /9vdXlZDchACVGN+4PXwrN9RBY3DKBetLXUxp/srdtJGN0EsDoUtr2EZpC1cdQ== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=JV5cEGLG; dmarc=pass (policy=none) header.from=gmail.com; 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.41 X-Spam-Score: -5.41 X-Migadu-Queue-Id: 2208338C23 X-TUID: ZlxkEdC9HqCf On Tue, 25 Apr 2023 at 07:52, Gustavo Barros wrote: > My view is that there really should be a way of doing it. Because this > has relevant security implications. And because users should be able > to have control of their data in the first place. And then if one such > a feature, necessarily requiring persistence (as opposed to the > convenience of "just" speeding things up), a user-error could be > signaled saying "sorry, can't do that because you disabled > persistence". And the two cases you mentioned seem quite the exception > to me. Of course, I'm speaking here about writing information about / > of the org file itself to an external file, naturally internet > downloads must go somewhere and that should be easy. The thing is Org > is used for a lot of things. You can rest assured I have no intention > of exporting my encrypted files alongside some remote content. But I > do wish to be able to make sure my passwords are safe. 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) 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. Best, Gustavo.