emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marco Wahl <marcowahlsoft@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: how to use org-crypt with different key per file or node?
Date: Thu, 26 Apr 2018 17:31:21 +0200	[thread overview]
Message-ID: <84muxqq912.fsf@gmail.com> (raw)
In-Reply-To: 87muxqm53g.fsf@len.workgroup

Gregor Zattler <telegraph@gmx.net> writes:

> Dear org-mode users and developers,
>
> I use org-crypt for different org files.  Till now I follow the
> documentation and specify the one and only key to use via
> (setq org-crypt-key "0xdeadbeef") for all org files and their
> headings.
>
> Is it possible to specify different keys for different files or
> even better for different headings?
>
>
> Ciao; Gregor

AFAICT there is property CRYPTKEY for that.  Possibly this has been
forgotten in the info documentation for org.

Example:

* totally secret :crypt:
:PROPERTIES:
:CRYPTKEY: 0x0123456789012345678901234567890123456789
:END:


HTH

  reply	other threads:[~2018-04-26 15:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-26 14:09 how to use org-crypt with different key per file or node? Gregor Zattler
2018-04-26 15:31 ` Marco Wahl [this message]
2018-04-27 12:27 ` Gregor Zattler
2018-04-27 13:13   ` Nicolas Goaziou
2018-04-27 13:30     ` Gregor Zattler
2018-04-27 13:49       ` Bastien
2018-04-27 14:15         ` Nicolas Goaziou
2018-05-05  6:28   ` stardiviner

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=84muxqq912.fsf@gmail.com \
    --to=marcowahlsoft@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).