From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 KODDOJUXpGIIggAAbAwnHQ (envelope-from ) for ; Sat, 11 Jun 2022 06:18:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4OGbOJUXpGKkKAEAauVa8A (envelope-from ) for ; Sat, 11 Jun 2022 06:18:29 +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 7F0A82D67E for ; Sat, 11 Jun 2022 06:18:29 +0200 (CEST) Received: from localhost ([::1]:55104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzsZw-0003vb-8A for larch@yhetil.org; Sat, 11 Jun 2022 00:18:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzsYm-0003vF-Mw for emacs-orgmode@gnu.org; Sat, 11 Jun 2022 00:17:16 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:34664) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzsYj-0005BC-0E for emacs-orgmode@gnu.org; Sat, 11 Jun 2022 00:17:15 -0400 Received: by mail-pj1-x1034.google.com with SMTP id mh16-20020a17090b4ad000b001e8313301f1so4527946pjb.1 for ; Fri, 10 Jun 2022 21:17:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=4fHJrFeFRtMxku7OhbrEnmr9s/NwMV2wVB98uvxcH6g=; b=Bl6JWYTOtWLuftVH+Vwb+0szq/Lawvmbw1ktl/HftAINAAJ/Ned4C1ddY2Hbv4n5d+ OOw+fhOie0oY6hkfA+IJ/KXMPNKdbHKozqQd+QfRroUxUROuz8N/8+oQRk8gGnZHEfBx yRM1DVMcejoIyNMAHy1x3vNYRdEdoSa7cseXX9+OF9iyyG0CKwqevfgLV1thXtCrd+Yh l+H1VH/3CZlcQ5Z90va4dWJqZsdHjvZSriRpct9RYecH/WmBv+WKl131Q7VLEb8zLtzx UnNWYO7pJfZjTZNgjIbaHnd+WKXiyT8Nsx8OIYRf0tO29L1iq0Ps3ug4KCwGM1ZhmH1o cykQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=4fHJrFeFRtMxku7OhbrEnmr9s/NwMV2wVB98uvxcH6g=; b=ULB3ADV0cP7y997ZCq1E+Ov5lP7oY+X7K/ILZEV09tJgbumjDITbFJaB0eTv1r3qIa GzPh86bYKyjCc7fzcD+wrA3g8qqxYEJf6IEMKFykn/52DiBjmoqbfFN4Q6B1TyEE9da/ JwoP/oqUjMS8x0xfJP2uaZE0asyUdeW642EhYXsoP7q5JIsRbAhwV7U0GSPV0XU1KGmm JU4HdlWS3ey8hxWfqXzqBNLXbchkdbebQ7BkWVd3n6uQ3ugmOEbHpa/P0JWvqke/e7ff NmDRgCJILQde9KIm8DlWLe/sMNP8DrV4T9/N+8pLI6K3Umky9HogXDMS9SuZSAtfJV2f pGuQ== X-Gm-Message-State: AOAM530t1kRHiwUBJxkhof2bAY98WZQptCBmOE87tyaOIUHYDeyat2/e 0avJ0N6Uz4jshxPsC6xKb+I= X-Google-Smtp-Source: ABdhPJx5/FOMbN4vw+N0eEJzdZLbkkwBT2vvRW6KQk30+ZDxgpZm0A6rpx8n/xEZY8CcjJiD18/rbA== X-Received: by 2002:a17:90a:14a6:b0:1dc:f64f:ff2c with SMTP id k35-20020a17090a14a600b001dcf64fff2cmr3190870pja.161.1654921030121; Fri, 10 Jun 2022 21:17:10 -0700 (PDT) Received: from localhost ([64.32.23.62]) by smtp.gmail.com with ESMTPSA id e26-20020a63371a000000b003fadc415bfdsm524546pga.8.2022.06.10.21.17.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jun 2022 21:17:09 -0700 (PDT) From: Ihor Radchenko To: David Masterson Cc: emacs-orgmode@gnu.org Subject: Re: org-crypt ? In-Reply-To: References: Date: Sat, 11 Jun 2022 12:17:48 +0800 Message-ID: <87k09nq1eb.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1034.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=1654921109; 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=4fHJrFeFRtMxku7OhbrEnmr9s/NwMV2wVB98uvxcH6g=; b=uETBY6f3zcgk7+Alxo4GLha4m1MAkdxBVtK3UGMvTwAnLheE8/dVtyGcppNUZu0y12J3PU NWXkSloWcwkTopP46jOlVxhYB7YJDjPQGQBf7rLidzOw4RnSCluksy1NNGkFxs8CQ7Jxwt OA2ZlGRMcRs1f60jxS1rOGZe7DxZrlsmoL2256O7YV3ID6JositNSHUgYBFLbTPe3Vb0XQ oEmhsG/trQ942gD5eoAmplZYvThln7mrHKS1l3DAWdCfvzpPXD4UUUqtl3QzHnTayewCDu IG3fxHD9dXf00JI9tys/fpGmDCm2EEn5V3cKCiltGUA4WKF0msK5tFwQpB24vg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654921109; a=rsa-sha256; cv=none; b=P/NdRQjXDuCBPatGvP+3l/2xNJKFguGcEi5hUjIsFGet9PmDe1krqvq4bn8pVMAAY7mgk0 NmIRf2yrAPbccbYnKNA+MgQ4J8UVtRjdDm57sU3mZmwR3LZZGE2UYwqvRAxyCxS3N9dB0F DeNbR1dbtQAWZqsJJM5jFKH4rRE6cMyatQfVIZC+Anq/b0Gzz1yopXrgEvLL6LLXnGxeci Ne5TCVJf5NFlAG/oor+bF91WchDrP/K0WZBvP6Oy5D+DBnES4u1bAraUUCG9Qf3jPfdzRr cmMijcImNnJB7eygQw6BPTH2CmdjXrDJcmo/js62TsmypSoknIEvOKghT21EWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Bl6JWYTO; 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: -7.48 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Bl6JWYTO; 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: 7F0A82D67E X-Spam-Score: -7.48 X-Migadu-Scanner: scn0.migadu.com X-TUID: dAFPGC9tmWZt David Masterson writes: > I think I've gotten org-crypt working, but I think some things are not > making sense (it might be just me): > > 1. I've set org-crypt-key to nil (symmetric encryption). > 2. Can I use a different encryption key for each encrypted paragraph? Yes. For each individual encrypted headline contents. Just enter different passwords when queried to encrypt. > 3. Does org-encrypt only ask for the key the first time? No. Strictly speaking it may depend on you GnuPG config. Not by default. > 4. Does org-decrypt only ask for the key the first time? Depends on your GnuPG config. AFAIK, GnuPG will not cache keys by default. > 5. How do they know where to get the password when they don't ask? >From gpg-agent. > 6. Shouldn't org-crypt docs in org manual have examples? We can mention org-encrypt-entry/entries and org-decrypt-entry/entries. Would it help? Best, Ihor