From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GHBhOQKfFWMOJQEAbAwnHQ (envelope-from ) for ; Mon, 05 Sep 2022 09:02:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UG1fOAKfFWN19wAAG6o9tA (envelope-from ) for ; Mon, 05 Sep 2022 09:02:26 +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 7032116DE3 for ; Mon, 5 Sep 2022 09:02:26 +0200 (CEST) Received: from localhost ([::1]:41284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oV67l-0005Vr-27 for larch@yhetil.org; Mon, 05 Sep 2022 03:02:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oV65K-0005Vj-AI for emacs-orgmode@gnu.org; Mon, 05 Sep 2022 02:59:54 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:33686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oV65I-00086J-94 for emacs-orgmode@gnu.org; Mon, 05 Sep 2022 02:59:54 -0400 Received: by mail-pl1-x62a.google.com with SMTP id iw17so1025609plb.0 for ; Sun, 04 Sep 2022 23:59:51 -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=wK903VLRuM8EuP8b0/koEmezcRQUVnoPSK/JjFb3jm4=; b=EzxjPOmaXCMfrsm5tQyffG4LBOa9jrz8cSHrOwi1PPmzOrd6GOjRuvKgTHBgP7Z6oE GtQmqke547lmNk+rx0jPMfsT6+NBQDvO8B6pV8Adi/L2Gal5+CS3sksM8ASA7e3Hjamy dum4msCYa94Fio0RAzDKQxFNVxE78+V3SzT1pxzfwE3dThnvI1sIk5Eo5HeB38s73ISP V5b4LCN45HUEqknLkmwvBmey+if47PzDimtAUborWJM8+VcilCuHwT+7ZBeWu7GI3i5X fmzcS3wV5qOTTJZ0CnP2tbH7RWffiRaN+6E9I6XcUNrX+CmKUWhVXtrnJCvr3VVDpOJL OYEw== 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=wK903VLRuM8EuP8b0/koEmezcRQUVnoPSK/JjFb3jm4=; b=UuE9LVIO/7PBdFd54yT+Iapk4WIlRbbUhTI/VRZhN35plS0cPwwtH2TZ+ZrItz5PZ3 QzgR5btxLz0lpdE/q95ubp01/tixqpKespEYQFHt+j/l3U9f7//S5CW4VCBHRf9+A7ev u+h3drNBJJIOCHsJaAfb0WnEKLA79Tue0z6NuZHsYPZNI9/+1pqEifVulmmsOZ8dZm0y j+rhEZEqPubkXl/NWr2+VDhERd21x9695wMwvTnWVkTal3uGeHSA/RrxuNZXe1EIpjWb PVX0NgYyrYCm7Zhl4XSKEJ23NM/UaCRT5kOLJ3mUy3C+Y2iyZZcRDPp0JmFX5874lg7e ggCA== X-Gm-Message-State: ACgBeo08EGREozfyxfDDSgTMmozHugwcO3gwuJ2CJWu67noK4t/nlvMJ EKyHZ0vsjNrCcLhe4bPIiIY= X-Google-Smtp-Source: AA6agR6Hm7SalK8engwhdsCTYTjhfyzsaT0yjmMmtL/QVeFeo7VrhSt7yGT821jLN5xQpohqK7+CYQ== X-Received: by 2002:a17:90b:4f81:b0:200:3e0c:9def with SMTP id qe1-20020a17090b4f8100b002003e0c9defmr7725400pjb.71.1662361186514; Sun, 04 Sep 2022 23:59:46 -0700 (PDT) Received: from localhost ([2409:8a70:2b2:5800:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id p22-20020a170902a41600b0017544b55277sm6571040plq.126.2022.09.04.23.59.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Sep 2022 23:59:45 -0700 (PDT) From: Ihor Radchenko To: David Masterson Cc: emacs-orgmode@gnu.org Subject: Re: Org-Crypt usage questions In-Reply-To: References: Date: Mon, 05 Sep 2022 15:00:42 +0800 Message-ID: <87tu5mwbj9.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62a.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=1662361346; 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=wK903VLRuM8EuP8b0/koEmezcRQUVnoPSK/JjFb3jm4=; b=dnhlaZXIMubuQU23Nd3XZScI8nmhTB6grM4awkvzPU1+RX/Z8id8pB0yt7qsse3IGvK8Ai YWVLb50dj5QJGuVN5tdcSDT2P2hqa/7T9u9exzwLAsCPzqvyX7iyIQM2rRTOdmD+aNk3xz rjCotK1gsF+25zIE8s1qzewwPFcPVgu+xJ6H1j7qBNIuIe6iX3icTo4zPXNiEiiN/No0t+ /l5cSz5KhzdXLfc3FKgvF9++juy+7ckm7hPJt48JC+c4T4pghoPYbo1nxLA8is/Qz5ElSW bzr6qGSlNWSOOquZDaj8HfLD8UYEHNuI3kyIWoBab8eEex+P9j5udwRkt4FMSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662361346; a=rsa-sha256; cv=none; b=Pzm7MEp43jAEi3NpdhxU+kDh/cZWMhLUkHJJ82NWwsStJzHYE9g5DG1gys3ja6r9HjBp3I R47zw0peVEgU3BSqeBq7DF7F8YyIZSJFLBqDw3MIQ0bCcsngf+o/oYe1xJLItcjbQUQoxm OTraL8oW6jYToSUozBrgHrWMJCy8esMGjn8tCQIruRPgEeQ6MtYmtkBIysZhUets+UQBaJ h+xKQzZrJVy1GI/gVdJffAg74Bbs7dZLd8+omd9LVZKYHcgsc/NpxdmMSp4DQQhn8Xnkf2 hi457H9rUwxQtn/F6f/pvnaHuPyRMBvyM+4OFy/h42FDY224H9pNA/wrEK/uQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=EzxjPOma; 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: -3.28 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=EzxjPOma; 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: 7032116DE3 X-Spam-Score: -3.28 X-Migadu-Scanner: scn1.migadu.com X-TUID: hRTn6Vrh/Kjt David Masterson writes: > I've gotten org-crypt working, but I have some questions: > > + the setup in the manual only automatically *encrypts* on save, not > decrypts on read, correct? Yes. > + decryption is done via org-decrypt-* -- is there another way? M-x org-reveal (C-c C-r) > + after org-decrypt-*, will the entries be automatically encrypted > again or do I have to use org-encrypt-*? They will be encrypted on save as long as they are marked with "crypt" (or `org-crypt-tag-matcher', if you alter it). > + after decrypting, can I re-encrypt with a new symmetric password? Yes. AFAIK, the symmetric password is never reused. Though it may depend on your gpg settings. > + if I use a symmetric password on org-encrypt-entry, does the password > apply to the whole file or just the entry? Just the entry. > + The manual needs the above information on org-[de|en]crypt or did I > miss it? You are right. Patches are welcome! -- 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