|
From: | Jens Schmidt |
Subject: | Re: Storing sensitive data indefinitely in variables or buffers: Whether and how to fix? |
Date: | Wed, 31 May 2023 21:37:50 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 2023-05-31 18:39, Adam Porter wrote:
I think Emacs needs a new library to store Lisp data securely. Ideally the API would simply return a Lisp object which could beused with common functions like alist-get, gethash, etc. to read data. For writing, perhaps some kind of simple macro or function wrapper that would store the data securely, as-configured, without the application needing to know the details.
Er, that's what I thought plstore.el is about: Persisting sensitive and non-sensitive data in a structured way, securely, with on-demand decryption. It certainly has rough edges, and almost no UI at all, but I liked the basic idea. See so far
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63627 and https://lists.gnu.org/archive/html/emacs-devel/2023-05/msg00327.html
Even more ideally, such a feature would be part of `persist' and/or `multisession', or at least be built on top of them, to avoid having yet-another data-persistence library.
That would make three persistence solutions, then, which is still less than 15 (https://xkcd.com/927). I haven't checked 'persist' nor 'multisession' yet, TBH.
[Prev in Thread] | Current Thread | [Next in Thread] |