From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0EPwI1lVF2N04gAAbAwnHQ (envelope-from ) for ; Tue, 06 Sep 2022 16:12:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +EDXIVlVF2NEIQEAG6o9tA (envelope-from ) for ; Tue, 06 Sep 2022 16:12:41 +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 70BFB25087 for ; Tue, 6 Sep 2022 16:12:28 +0200 (CEST) Received: from localhost ([::1]:46992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVZJT-0002lY-7q for larch@yhetil.org; Tue, 06 Sep 2022 10:12:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVYNP-0008PW-Si for emacs-orgmode@gnu.org; Tue, 06 Sep 2022 09:12:27 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:34573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVYNM-0005hR-3G for emacs-orgmode@gnu.org; Tue, 06 Sep 2022 09:12:26 -0400 Received: by mail-pj1-x1035.google.com with SMTP id a5-20020a17090aa50500b002008eeb040eso2232012pjq.1 for ; Tue, 06 Sep 2022 06:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=udcm7vMxRZZted5tUkkKlYdjg4SNGLX7OF/yF9SRkX8=; b=qK5LbPVhOkYJsIvQiLUvo8Hj84MnxkvHsyu8PVFAcVB8THmY2fOyH8cN69Gh6fwhUW ONZpaLdleK9DuK+cdkGmNDnuiBwf5A26xsY+rkD/pFJCnEsPTxYrKbwnloGQT2j50C5C lXjM9daf78FxwW5ywsIr6XblLrUfW49U3GHSwLrpZpuxzVxz413UNHwOnbrIuJVpheAr 8gMlcT1pQF5Yma50fJPKZorBcNbf0bwISX5n5OM/n9V/rjBwBfKMMskLCa/h9noXaDGP euNN4By3VgCTHhcVBHsod+JEN2uCM0cXb8qlxfamUaVn0D9y7qNqB/5qXqtqAkn67qob 4dgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=udcm7vMxRZZted5tUkkKlYdjg4SNGLX7OF/yF9SRkX8=; b=1Omqzv6tSe5AeCz0j7SR4yzvYxCXtmUJKXA+vODl0Cx9VO5sY9LA6FOTJB54VFN3Xq OSpAXdhexOD4Q/JJ7C42IlN0tbn6RaMC3/NQB4lUt8PQpU80wVOTWopjXG5ccfP4htrE +foCb9FEfcCmf0AhycOO7vJN+VjWvi+Dn09nogyO9WvnAYPyRwXedEtGdsqAqiRDFLEc AgEqZ+qZtPozPQuyuu3uPO3LKW/csE2NOE3bbDm2anNezo/OxuC9ogXm7hpY5djSTLLQ 2lJIA3A6JDqhyxZ0/3rPdOhiZ5tyOhwjbuGipuDR1fyzPhFXDtOZ622NbRdE1XHZIoTo tKlg== X-Gm-Message-State: ACgBeo3yf0zfjKZj1tJPjcUoieQCpxl4dh1WvfnuMkWM6swjrlWBvfL3 cLqgQUDIqGLSIWKemzgX8g0= X-Google-Smtp-Source: AA6agR5fxYq6SV1h281+DaE5GXOrLpQQtb+EtxLLZU83AEePF8i32tXvU2hybdX0kTjdHEsjuk/vqQ== X-Received: by 2002:a17:902:a409:b0:176:a717:4d5d with SMTP id p9-20020a170902a40900b00176a7174d5dmr10586668plq.148.1662469936704; Tue, 06 Sep 2022 06:12:16 -0700 (PDT) Received: from localhost ([2409:8a70:2b2:5800:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id b6-20020a170902d50600b0017552749e1dsm9816440plg.195.2022.09.06.06.12.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 06:12:16 -0700 (PDT) From: Ihor Radchenko To: David Masterson Cc: emacs-orgmode@gnu.org Subject: Re: Org-Crypt usage questions In-Reply-To: References: <87tu5mwbj9.fsf@localhost> Date: Tue, 06 Sep 2022 21:13:12 +0800 Message-ID: <874jxky7br.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1035.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662473548; 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=udcm7vMxRZZted5tUkkKlYdjg4SNGLX7OF/yF9SRkX8=; b=mN4uJ7S9E4T1fdSP7VTfF5ND7803CfeBUxC6Y+m7Amy4ZaajuQIz/elFo9PRABxByRfanV URAIqFmEoE2LEORq7xN2ht4dM15jTxySdsCuYoWLhlR3/he5geu9ikvdUHV2GXlrpKvtB/ I1k2DCe0syoAJjekUT7nywVQLR7rVcN67WSax5OPO0ePr2qO0Xz26/EWx1vc28XYPGpTGy 2PmU0QmgGrCzP5oduMHnQy+c2jHAj+Hq9U7ok3JHx3EOlyfqAGj35XBUl1F9LABEnHzAk6 GZsBoPs6MABcBpEE35/VyTEwRiWIL7W7nTFAmDSsO4hkoabshDEQl5CmQvWxSw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662473548; a=rsa-sha256; cv=none; b=KkbepIPqNoZqtZpYwwIIswhP1L6lQ9M3nzwDO60Jl9sPBeZXDw/VGnuDTnhF5tiYY6ydst zdj/4az3cw4xbX+0vA5xTO9vliKg29oiJV4MaimgYDjdx/s8Ht3+H75gphBKQtFchwQwbH uVNQJ6kAX9vqLabgts474klIfxoigIMkDxyCS+KoZ8BwYfGlDasQ71Zn96/J1kbWoWjEuz IJVHN2fpP6+SwE39glSqI/fj9wHdUa35oxkK/K0XbpoNP9BxAjAydG4G8MNL39aLOzcpMM zpubTsZHn08R/NVuxXNyS50zryJ/4ErX0GbP8qGihnHsf+huGy9PCeBBgmypfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qK5LbPVh; 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: -1.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qK5LbPVh; 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-Queue-Id: 70BFB25087 X-Spam-Score: -1.77 X-Migadu-Scanner: scn1.migadu.com X-TUID: Til2sdT9/49K David Masterson writes: >> Yes. AFAIK, the symmetric password is never reused. Though it may depend >> on your gpg settings. > > Hmm. During the save of a file with an entry with "crypt" tag, I was > asked for a symmetric passwd. The file was saved okay and the entry was > encrypted properly. After reading the file back in, org-decrypt-entry > asked for the symmetric passwd and decrypted properly. Later, > org-encrypt-entry did *not* ask for the passwd -- it just encrypted with > the previous passwd. Then org-decrypt-entry also did *not* ask for the > passwd and decrypted properly. > > What GPG settings would cause this? Probably https://www.gnu.org/software/emacs/manual/html_node/pgg/Caching-passphrase.html -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92