From b57ee27957c12539f3327a440b500f71afc3e510 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Fri, 26 Feb 2021 12:31:11 -0500 Subject: [PATCH] Set file encryption key --- README.org | 6 ++---- modules/writing.el | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.org b/README.org index 49c1c5d..0e0c9b2 100644 --- a/README.org +++ b/README.org @@ -70,9 +70,6 @@ Used by the writing module to determine the system language. "The default system language.") #+end_src -#+RESULTS: -: dotfiles/language - All of the available modules defined in the ~dotfiles/modules-available~ constant. #+begin_src emacs-lisp @@ -852,7 +849,8 @@ Encrypt files using symmetric key encryption via PGP. This enables my workflow o #+begin_src emacs-lisp (setq epa-file-select-keys 2 - epa-file-cache-passphrase-for-symmetric-encryption t) + epa-file-cache-passphrase-for-symmetric-encryption t + epa-file-encrypt-to "37AB1CB72B741E478CA026D43025DCBD46F81C0F") #+end_src *** Roam diff --git a/modules/writing.el b/modules/writing.el index b70c695..81f6264 100644 --- a/modules/writing.el +++ b/modules/writing.el @@ -3,7 +3,8 @@ :hook (org-mode . org-superstar-mode)) (setq epa-file-select-keys 2 - epa-file-cache-passphrase-for-symmetric-encryption t) + epa-file-cache-passphrase-for-symmetric-encryption t + epa-file-encrypt-to "37AB1CB72B741E478CA026D43025DCBD46F81C0F") (use-package org-roam :hook (after-init . org-roam-mode)