From 9095085fcda48f2c78f408b685d5de360df4685a Mon Sep 17 00:00:00 2001 From: 0xhenrique Date: Mon, 8 Dec 2025 07:02:24 +0000 Subject: Add clarifications about encryption in the README.org --- README.org | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.org b/README.org index 2c373fa..137b28e 100644 --- a/README.org +++ b/README.org @@ -62,6 +62,26 @@ Add to your Emacs configuration: ;; (setq esb-storage-backend 'plain) #+END_SRC +*** Asymmetric vs Symmetric Encryption + +By default, ESB uses symmetric encryption (passphrase only). If you want asymmetric encryption tied to your GPG key: + +#+BEGIN_SRC elisp +(setq esb-gpg-recipient "your.email@example.com") ; or GPG key ID +#+END_SRC + +If you already have a symmetrically encrypted file, reload and save to re-encrypt: +#+BEGIN_SRC elisp +M-x esb-reload-bookmarks +M-x esb-add-bookmark ; or edit any bookmark to trigger save +#+END_SRC + +To disable encryption entirely: +#+BEGIN_SRC elisp +(setq esb-storage-backend 'plain) +(setq esb-bookmarks-file "~/bookmarks/bookmarks.json") +#+END_SRC + *** Key Binding Setup ESB doesn't define any global key bindings by default to avoid conflicts. You need to define your own key bindings. -- cgit v1.3