emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Masterson <dsmasterson@gmail.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org-Crypt usage questions
Date: Mon, 05 Sep 2022 13:46:19 -0700	[thread overview]
Message-ID: <SJ0PR03MB545583844664FA23DEE629D1A27F9@SJ0PR03MB5455.namprd03.prod.outlook.com> (raw)
In-Reply-To: <87tu5mwbj9.fsf@localhost> (Ihor Radchenko's message of "Mon, 05 Sep 2022 15:00:42 +0800")

Ihor Radchenko <yantar92@gmail.com> writes:

> David Masterson <dsmasterson@gmail.com> writes:
>
>> I've gotten org-crypt working, but I have some questions:
>>
>> + 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.

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?

-- 
David Masterson


  reply	other threads:[~2022-09-05 20:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-05  0:13 Org-Crypt usage questions David Masterson
2022-09-05  7:00 ` Ihor Radchenko
2022-09-05 20:46   ` David Masterson [this message]
2022-09-06 13:13     ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0PR03MB545583844664FA23DEE629D1A27F9@SJ0PR03MB5455.namprd03.prod.outlook.com \
    --to=dsmasterson@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).