From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oN7rHLXISGNDVgAAbAwnHQ (envelope-from ) for ; Fri, 14 Oct 2022 04:25:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wHIKHbXISGOO/AAA9RJhRA (envelope-from ) for ; Fri, 14 Oct 2022 04:25:57 +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 3EF4611AAF for ; Fri, 14 Oct 2022 04:25:57 +0200 (CEST) Received: from localhost ([::1]:57736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojAOa-00076t-GD for larch@yhetil.org; Thu, 13 Oct 2022 22:25:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojAGb-0001TR-7t for emacs-orgmode@gnu.org; Thu, 13 Oct 2022 22:17:41 -0400 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:39914) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ojAGZ-0001j8-Gm for emacs-orgmode@gnu.org; Thu, 13 Oct 2022 22:17:40 -0400 Received: by mail-pj1-x102b.google.com with SMTP id o17-20020a17090aac1100b0020d98b0c0f4so5218550pjq.4 for ; Thu, 13 Oct 2022 19:17:39 -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:message-id:reply-to; bh=kzKoqZOpPO+4h5SJ8BJ8x1iqMGz1xk3sma/nwV9jw7o=; b=MykWxrEz+KsOyl8IWScO8JA6Xi+Tj68uE4pPzzxklL7cfkrr/mkdhVplhbI9+jSz5b y0uv1hYxsxWsDWGXrHEYXyxVs6eOidm+70R8+HF7uLZrUbHAN7QCmms9MXZPyExSTABo MB7ftcWFa3a37dgwN82qE0kh6RlFjQjsGjfsDsxSjY+3lF394obWEgykuZ/Cjr1/BGp/ 8ECLv4gCFudWhTHMsaWAfr4afKOoAzm4hgigNIkN+Jev6BqZYJFikkwEJ7XFJeSaSk/N 5iVK3A8O/+YXXJZ3cEFYojjXDL5Y6FkRF5KTCzNNh1MDWkoRJX3LquOtJLnczN2qePcT 0Imw== 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:message-id:reply-to; bh=kzKoqZOpPO+4h5SJ8BJ8x1iqMGz1xk3sma/nwV9jw7o=; b=HYfyBKvop6A329HGOMHzNnsKz3xIu+JHeJoYplKdKWsg7YPXP9ccuahwPHv6/w+6q6 4ZPC21nWEAaSdBwnFhdJikUawTSJg8L64hE2dss7HV3Ggc7+4DtNwq6OrbPI72AQbG3D 5pfc0QFzLa06B7EANGQtecNTbwPPdxSYJiu63NBeQXRGBv4olEpvwGIidU0e2fBSYAcS p+gkPLnEwgzty98rkxEpgcHTVgsWXoWFGPO8QOFnuWd4OcVoNE1/cCzDFwqhK0EoOPoO VFplx//qLywlZE8QCb+UhbYsdcaIMbbWgPsHpfNjr1gGQCCwyV5r39Z4QZZg6Lej5HUf R2uA== X-Gm-Message-State: ACrzQf1SkEOsJnSSZB0nwGISD9y7m92eJ3aZwhS6QAZqc6y24WWzu86/ Rx11d+TQvWGNIyUiYGUoD6c= X-Google-Smtp-Source: AMsMyM6ojWBj7/gw8vMEH1Qtu3QB/46tizJW0K51aZG6HnHftfv2WH9wjMVRXslP7K+3FNu0gQtVnw== X-Received: by 2002:a17:902:cf12:b0:179:fafd:8a1c with SMTP id i18-20020a170902cf1200b00179fafd8a1cmr2852872plg.102.1665713857849; Thu, 13 Oct 2022 19:17:37 -0700 (PDT) Received: from localhost ([2409:8970:af2:32f:6c23:3ad5:f37d:541b]) by smtp.gmail.com with ESMTPSA id n12-20020a170902d2cc00b00172897952a0sm463509plc.283.2022.10.13.19.17.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Oct 2022 19:17:36 -0700 (PDT) From: Ihor Radchenko To: Ignacio Casso Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-crypt: CRYPTKEY property does not work as expected [9.5.1 (9.5.1-g36086a @ /home/ignacio/.emacs.d/elpa/org-9.5.1/)] In-Reply-To: References: Date: Fri, 14 Oct 2022 10:18:23 +0800 Message-ID: <87sfjrywpc.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=yantar92@gmail.com; helo=mail-pj1-x102b.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665714357; 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=kzKoqZOpPO+4h5SJ8BJ8x1iqMGz1xk3sma/nwV9jw7o=; b=cA5hp9OnfH80wmySpHRfla7IyPCnGdPkBmM3L1wLDEfUuVA1fTq/6Ff4v50BKtXkZPuCN2 rPvPWTEml9oNkHejLpsJEB5OEK5lpbgLwS5162WzRD850X8JCHEH5Ca2Yh3EmXENiVi5ck uUvaJJ+uFCwi7GbHTZNScnl4nnk/3mtv4UNjnfQY37tSnKcqpNQQ6JZt4Jof09Eai34Kve oqW0GuGh1nMlrZWSRlhdEe3imFDeDVpU2UXWIY4yA5pcTrQ4jaSSdUsoAckFcRKPeDtxpy RT56cEqThJNUMyh5Un/xye4AeJQS4TNKgDqwTO5BYYr7y5cPynAUJY/OLgygVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665714357; a=rsa-sha256; cv=none; b=akwdQw27GWOQZZ9mYg11hG5LLKXcgztumufLaDHaiVr0K9cYwPDMj7wjMziBsKTB7TsCqN 8SDY/Q4YIG/vZ+MgK/odvCMqIB2tcbNPZJRqTkefs0IFAZrnz211YlFaMXJlUku5ryxpQZ qk/hCBoS9w9Us6y4VsLuAyRFxMFIvVb1AfH37p7h7VFjBk6ia6pYfaUaKgI18HkOWM2uEx sTbQBO3ZcI5LHnHqTf7oYVvCg+cYrLYKL/+cDmLz27HlzZL2s3toLq6y6af3MBRSJXkC/A zpVUD6oDzPb+QjYHP8UYBjtEAmwvNfyLJGDB6gw0Y0Sjtk6D9NJkDmSDdZ4oSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=MykWxrEz; 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.20 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=MykWxrEz; 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: 3EF4611AAF X-Spam-Score: -7.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6HxQvU3ecvSE Ignacio Casso writes: > I think I have found a bug in org-crypt, or that org-crypt documentation > is not clear enough. The following configuration snippet in the > org-crypt section of the org manual, as well as the docstring for > org-crypt-key, suggest that a key value of nil can be used to specify > symmetric encryption: > ... Thanks for reporting! I think I fixed all the raised concerns on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=d331f52cac03756289f8bc29df73c4cb4e66bb76 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=2d6032db963f8999bf2b59cc989d900dedc48aed Let me know if you find any other inconsistency. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at