From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 QGftFfEHpWI+AgEAbAwnHQ (envelope-from ) for ; Sat, 11 Jun 2022 23:24:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +MfKFfEHpWJEBgAAauVa8A (envelope-from ) for ; Sat, 11 Jun 2022 23:24:01 +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 DC1943BB3B for ; Sat, 11 Jun 2022 23:24:00 +0200 (CEST) Received: from localhost ([::1]:33766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o08aO-0002d7-0A for larch@yhetil.org; Sat, 11 Jun 2022 17:24:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o08ZW-0002cy-Qp for emacs-orgmode@gnu.org; Sat, 11 Jun 2022 17:23:06 -0400 Received: from mail-bn8nam11olkn20804.outbound.protection.outlook.com ([2a01:111:f400:7eae::804]:23744 helo=NAM11-BN8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o08ZS-00077T-Ps for emacs-orgmode@gnu.org; Sat, 11 Jun 2022 17:23:06 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J01DGMoNUSWk3ultyEjeFlOlnGkwsDc9DahIyHo550lGZd1U/vBaukUttxNbILDBf6I0lgZJ3p4qLs8pUUWOy9gFyW0WgM++R4/8B0u2LzaiCyTZLEtWpXwyBNNyC87/ijqXf5dQJaVbL+gVjyGtyAS6QufxRGoKBMoiwS2zhq1ynRyZaaPvLNnjPDMkvucJdQG4IHimYX52spjwDTL5qdF8d6CxJux8WKFrrB9pJb36c8AtgbDzhTuJGWZUHcfIkQ1wJW8X8m4tneg50P0P4+iapbyvMw9GgKv6FZcYjOnLeHo2ucqlV/o3tGYfdLqdMJi8s3XQxX1U4nchTQLfEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TQF+mgnMjXTdHonUXv+hxP6qRfxO8l6qO33aKC1WetY=; b=UtfT+ccVyYeL4BkP/ucq6kZrpK7u5aEqe5IFHSi2tlGkTvomHbWnQrtmUpRIuBCSa94z7aMWkwhMGK1p3GmQrmKy7/wfzaeyXoMDVe18L7QrXCWE2NWbXHU4SuPN7njrR+DGATEsSP1kcZAZAvRvXLg+Idl0tMBckz2wajYV5hugurKTzdWLW/bO1qYZhw5xVhoY6uByLSDGwybm83fA70YERujpCc3vLNOLFljyfryUs1+9lDf0xvKnz4hho7WRz+njz686n2GJq1yhQN+br4P5cQwTMS9bWmjRSq/vb9mrF7V9XMlFG1k1rCRhRfYFuXC9rYYoIz3FmZ/ax7FKGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TQF+mgnMjXTdHonUXv+hxP6qRfxO8l6qO33aKC1WetY=; b=fbUfZi1b/VRDxSiI5jYJN8+xozFeDa9j6k02pBmK3dq8tvBjmNQnRTgg6+MAuxcJOwIM68KpvHOXAg7jy8a93IPCbg12XjnFx/H9RjguH8vrFFxevtKfHZAqfDoawfTCP6p69PzAUTudQG9Y87+tHxV3Ipq5Qndh7WXbGhifADvK57aIMxsjF974Ynw2JctTGz5FrHD2wnEESvMAnDBzu5STPbifLw/ihJprQ68h0in4OJ88hgjVRxZB0PbIH3lsNHz5PvQqjiuMD14xB9e4j/zo042uITfnNtjqUksiBjODdtNT+9XXKvJ37GTidyh6ifMbtYzj/VuSvSAfpirIJw== Received: from SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) by DM4PR03MB6144.namprd03.prod.outlook.com (2603:10b6:5:397::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.12; Sat, 11 Jun 2022 21:17:57 +0000 Received: from SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::7c01:f3c4:11c6:4050]) by SJ0PR03MB5455.namprd03.prod.outlook.com ([fe80::7c01:f3c4:11c6:4050%8]) with mapi id 15.20.5332.017; Sat, 11 Jun 2022 21:17:57 +0000 From: David Masterson To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: org-crypt ? References: <87k09nq1eb.fsf@localhost> Date: Sat, 11 Jun 2022 14:17:54 -0700 In-Reply-To: <87k09nq1eb.fsf@localhost> (Ihor Radchenko's message of "Sat, 11 Jun 2022 12:17:48 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain X-TMN: [KG6O0vWzKa/JvedEDp7ebmdShLD1Plq62LWj2DCwUCw7yEnKA2F+MeC2ZOsTtg34] X-ClientProxiedBy: BYAPR05CA0036.namprd05.prod.outlook.com (2603:10b6:a03:c0::49) To SJ0PR03MB5455.namprd03.prod.outlook.com (2603:10b6:a03:27b::11) X-Microsoft-Original-Message-ID: <87k09mucfx.fsf@gmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d4f5b502-7e3e-4e67-a63a-08da4befda4b X-MS-TrafficTypeDiagnostic: DM4PR03MB6144:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ktkozq93Q3STWQoRo2YLzUebIDUc5Iu5lM/df5Ujok7Ro7nVU0Gn2zBLG3xrVnYyo6KIKEpOFtnfWEPgu1P8rufYc/0xwrmKnOXhq5LfvQ5khp/pWOiknzbXqRR28ppXCIADZOk8Yl9a5g7DEtvTWND5lEIVDGioNhZIzUeKY5UFZSg05gHR8wHKbwTSfu6LcSq5HqxiJZErl3qSXKrgRPhx6qT6sBLVEiFX5+Vw8UyYoBgc0mdpjUMu1zuBrGe1R9lvusFwlo712zX7bA9IH9Aytp8gMXQXS+NlWvsz4MExWVdlFdLqSIzktIjxPlyJ7QGNsL70sV5vmlHx1CioUwzIJSl2Y0FSv9NkR5g2kRRzO+JGLf4207qXyQ+MpOy2R1YQb4iI+REIaQfobIrR1JDjl2qDKbTp+DbDCXWAswcCBFV74sgkDEMzZclmZnVs/lYDf9gdQhHgS2eBYwMb1m0sBnv9mk11DQjjA9xpYK8dBs2M52iIEw3ttKLk4VjidY1Ogfac0+wiPWYtNlEU1FBRlnrEAcO7Gzwas0uxt2tUhgk/3tH3o/Y7jnkcVEXkCAYoJEsimgzM+2wMhAvKiQ== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Mho2u2SWmWaYObxSkUJpIKuBokVC0Z0WGAkDjIYn5QwC+C1aK+5wfIA2gE7Y?= =?us-ascii?Q?jVp4T5OQfxIop7cjbaBA2UJGsBSX6MxhI+5l1Z7WfDmhPtwKLrS8JeGyTTLN?= =?us-ascii?Q?Kbr2kl//BoyqT30UefeFyz/jzh9QCpqjfIb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2vH7OiDLONyBWSerXjyRQBDWfzQOeuTVb9rQyYrUqfBpL4Y0e3ThU4RM/r?= =?us-ascii?Q?G8xNpeREUnaiqphtcQXJIYBsgjUJvHbEEd0eW8BxrpsAia01kBCyFBzIfp07?= =?us-ascii?Q?YM+y2+gpjl3ewiv2BSVNus+CrMBht2QtUcG6RJBIJi3u+M4rSC7pwisvKFpp?= =?us-ascii?Q?DcUGIZAXzyJkFtxgaGRL5zawMv/K3s4VOR4l06yinIc1pXfbNAVnfsg26cVk?= =?us-ascii?Q?TDcfEC5zocu3Bg7C7U3J/xfFio4PsmuOHwAzu4Ffy1Q/Djys09TjyVI36BkM?= =?us-ascii?Q?/8xZTTvSbLZC7y3OL3EBLx+H4ieWp69vQJTygUiZD5K9OF3mWrGsI1R3HDhj?= =?us-ascii?Q?kO4JYMsIR/7scoDmL76Ysh/sfwt3tqvs29KxlBCQsye72FfP/Q5+XU/eLqW6?= =?us-ascii?Q?Sx7/m3g2sMCw/x1gxN/ZP/GlXu722oSjQRADGpeVCaFbhFyvBk5RMyfCVQtZ?= =?us-ascii?Q?oN8hwh6EEhzaxsZTdvCJTSXrghH5D3DTyu9Wb2ZIlSMvFfi5xTSO5A3Xkw?= =?us-ascii?Q?=3D=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d4f5b502-7e3e-4e67-a63a-08da4befda4b X-MS-Exchange-CrossTenant-AuthSource: SJ0PR03MB5455.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jun 2022 21:17:56.9274 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR03MB6144 Received-SPF: pass client-ip=2a01:111:f400:7eae::804; envelope-from=outlook_98C99531806B1C22@outlook.com; helo=NAM11-BN8-obe.outbound.protection.outlook.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FORGED_GMAIL_RCVD=1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654982641; 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=TQF+mgnMjXTdHonUXv+hxP6qRfxO8l6qO33aKC1WetY=; b=ejtNQm00Oij33V0aizJGHJk1qxqo5UwxNCXJnGr8VzQdC5qns8ZFxS1rK9GYLObE1GuI4e LjKhMhbQ4X3JEpDpxmUjmdKuMMlb+XsdxRstlmaWKndIhz3xQ2z6UFdOObJX5+U1rzk7/H 3HCn9YzYd1jl7O8wCMtg4jBQ8bDSG300jtuL98ORuWv0svlFSdyyFVbvWciSCzz0sTjEyF vFNhxyoXD5eevaZBLPzty2lbjFIHd0FLfNh7k0GHso/fI38ORshxiIsW/2KdL6ZEDuYSMt hYkouGC4VCd22ZjfVr7GDlRiRaQn5LexinR08I9awEBOUfJ57mjV4VO64vC8Eg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1654982641; a=rsa-sha256; cv=pass; b=Dl8rLpp/t1ro7x16K/hWeGChhgiQ3uuWn2ovHdJF17l2ZC2ncWHfjfqz5FLoRfeSihsxqF dnpMkqO7S7QDEPkHY4/4RqjKIFYTK7Bivrzzb5IS5uC5TEIwK7HyW/1gGau7mr2g9JBytV tOREzQUGBxmeSNos66wtNe9xqtYBopV1jUchKS9IxHFN1tPkolTOFtQfBezVgmu4mmJcTU NLVwPB9dasgC8wK6+zMrS6gbSWyfZL8bECCdRobpI1yC/PbhoqPHY5UvXQ17hm1lNo0xqS HTp3HuswzFBln5a9+d3mLGFzo19m9Ye3/GpK/wXhZaa2XaTo0xunyH/uoXRW5g== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=fbUfZi1b; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=fbUfZi1b; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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: DC1943BB3B X-Spam-Score: 1.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: VRque9FrridM Ihor Radchenko writes: > 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? Yes. Also, any basic config of gpg to work with. Also, a simple test example to show what should happen to help users determine if their heading the right way. Thanks -- David Masterson