From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kPZnEYb/oWZfeAEAqHPOHw:P1 (envelope-from ) for ; Thu, 25 Jul 2024 07:32:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kPZnEYb/oWZfeAEAqHPOHw (envelope-from ) for ; Thu, 25 Jul 2024 09:32:22 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GVqlOodH; 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=1721892712; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=naDdDSPrc/4Q0jzZJPMr0x8agrMrXJ2f/pvDEy3h+fE=; b=VCJ/AsUS2iupmR5zSn04ek3H5tZKzlir9iBNME8qoCrqUHtYdZhPu48JdCziDTrNiNhGM9 NFotQGWDhuPSSm/FbRnIrWDP6xoq6pdPGzndxDQ8j3Wn0f7uSJwfl5O5tSKV+UPdC1jZsd whLn6Mm/Jt2qVf/IxqJWBJSN1Wfkw8m376J7kZV4198UUjLXa35FyTl2CldNmeEA/lR9Nr nU3taEJD4C25NEpclL5tfCglSZYBei7bvJ11ZA29CrB4XTka90CgDwR/aWOd37bFdOqoG0 PoEsdSXJfOJG97CfmDzm6Ug0HHKMOGTeLYp5BEIIX/BPIhMPYPAB0AiOilvF3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721892712; a=rsa-sha256; cv=none; b=AWd8uoGC9PBQ/vFCDpY8adQ451rcfo3gUcGnKfRwFDD+kJDTfAmZC8qKLy3jHA5csWsV/2 302DBLpaqu17J5tpFIdJjW02R3B4TKXEVJHrv998GgGVPUc/Ev1rI1shVrKQJH/ii2ndYk Up2SwJz3moxQFlkJCQ8AYDYMPMtPxHDG39LoA94TVmOIuKQdyeWK336qkH1QtX/bB9xMN5 Ox1lutbjICZivtS/VONIqTo5pfNdFikeMcR+YW6HU2EWuQdkv4phrldkWf5RMCU3YgzqGO 8N4NWLzoK11Td2wSfN081w3R/hinoMdKKy2iqhk7+VE6/OFsaY36t2V3i7o6tw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GVqlOodH; 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" 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 C66E66CAB9 for ; Thu, 25 Jul 2024 09:31:51 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWswE-0004gb-3v; Thu, 25 Jul 2024 03:30:59 -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 1sWsvo-0003SU-0U for emacs-orgmode@gnu.org; Thu, 25 Jul 2024 03:30:34 -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 1sWsvl-00067Q-08 for emacs-orgmode@gnu.org; Thu, 25 Jul 2024 03:30:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D8E0B240029 for ; Thu, 25 Jul 2024 09:30:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1721892625; bh=R0EcYoUCjJOiz7nqLNldvj+Px7N7gIH9a2Yncme/nvQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=GVqlOodHZOACrrOsW29obEH2PSyQepZOjWZr2G9FrB/GGWuo2KL11k9ZiOQMFHk+B OtkiDczyLBz2whfjwBpo/EZ4UiVtI2Kafx+0YURKoL8socF4Z6KN+OxhLxrrvtmwK5 lymdltJAzNtbPB2V6/q+SMe9bYp+YDMrwYarl6hChlXx7S5VcKf8aasmyEzr7RTDPV GWH3EctqCMz0MFRPc1AYKblIiY1DIn3I3EBhmClleFi70pgJRH+h4jovUE0EiuW1+0 27k2ImdedlFLuT4u3rygqLOKiR0wMiYxhVBihDXAykRQ21bBppGr4KCXP4KO77z9J7 OvMrA2bF94VSw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WV2bj0y4wz6txv; Thu, 25 Jul 2024 09:30:25 +0200 (CEST) From: Ihor Radchenko To: Daniel Clemente Cc: Eli Zaretskii , emacs-orgmode@gnu.org Subject: Re: org-encrypt-entries is slow (was: org-crypt leaking data when encryption password is not entered twice (was: Please document the caching and its user options)) In-Reply-To: References: <86ed921oxu.fsf@gnu.org> <874j9vllbp.fsf@localhost> <87o781t676.fsf@localhost> <874j9qs0wh.fsf@localhost> <87ed8mtyp0.fsf@localhost> <87msn7kffy.fsf@localhost> <87o77my9mp.fsf@localhost> <87y16j4nbe.fsf@localhost> <87o77ak70y.fsf@localhost> <87wmls5hzb.fsf@localhost> <87msmc40cw.fsf@localhost> Date: Thu, 25 Jul 2024 07:31:47 +0000 Message-ID: <87o76m0vx8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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 X-Migadu-Queue-Id: C66E66CAB9 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.64 X-Spam-Score: -9.64 X-TUID: jtNyQg2xvGeH Daniel Clemente writes: > I found minor but unrelated issues, e.g. if you have an empty section lik= e this: > > ************* abc2 :cr= ypt: > ************* def > > =E2=80=A6 if you rename the abc2 header, e.g. to abc, it will ask the > encryption password again, even when the contents (an empty header) > didn't change. > > Another minor and weird bug: inline blocks. The part about showing the > unencrypted contents while keeping the disk contents encrypted doesn't > seem to work with encrypted inline blocks: they're saved encrypted, > but they're displayed encrypted. In fact they can't be displayed > unencrypted even if you call org-decrypt-contents. Maybe inline > encrypted blocks aren't supported. > To test this: > ***** section > ********************** this is an inline block > :crypt: > Content. > > If you want you can split this to other threads or just ignore these > edge cases for now. There is no such thing as "inline block" in Org syntax. The current behavior of org-crypt is because it mishandles inlinetasks in specific way. I can add support for proper inlinetasks delimited by END line, but not for what you call "blocks" - that one is actually a bug when org-crypt encrypts everything spanning between one-line inlinetask down to the next heading. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at