unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Jens Schmidt <jschmidt4gnu@vodafonemail.de>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: Adam Porter <adam@alphapapa.net>, emacs-devel@gnu.org
Subject: Re: Storing sensitive data indefinitely in variables or buffers: Whether and how to fix?
Date: Thu, 1 Jun 2023 22:10:04 +0200	[thread overview]
Message-ID: <d6182b7a-d06f-9f3a-719c-7fd3c0bdd435@vodafonemail.de> (raw)
In-Reply-To: <874jnrd6ph.fsf@localhost>

On 2023-06-01  08:42, Ihor Radchenko wrote:

> AFAIK, Adam had a very hard time dealing with auth-source.el. See the
> reddit link in his message.

Did that.  However, it is my understanding that auth-source is an
abstraction for credential retrieving (".netrc 3.0"), while plstore is a
generic persistence library.  I'm targeting plstore.

> AFAIR, part of the problem was (1) poor documentation; (2) various 
> edge cases that had to be considered; (3) complex code required to 
> make things work. So, here he is asking for a _simple_ API that does 
> not require too much of tinkering with the internals. If such API is 
> added to plstore, it will certainly be great.

The API is available and IMHO sufficiently simple, but issues (1) and
(2) are surely present in plstore.  Plus it does not handle expiry in
any way.  Will do my best to do something about all these, keeping the
results of this thread in mind.



  reply	other threads:[~2023-06-01 20:10 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-30 21:25 Storing sensitive data indefinitely in variables or buffers: Whether and how to fix? Jens Schmidt
2023-05-31  8:02 ` Ihor Radchenko
2023-05-31 16:39   ` Adam Porter
2023-05-31 18:17     ` tomas
2023-06-01  6:34       ` Ihor Radchenko
2023-06-01  6:51         ` tomas
2023-06-01  7:11           ` Ihor Radchenko
2023-05-31 19:05     ` Eli Zaretskii
2023-06-01  6:48       ` Ihor Radchenko
2023-06-01  7:11         ` Eli Zaretskii
2023-06-01  7:29           ` Ihor Radchenko
2023-06-01  7:33             ` Eli Zaretskii
2023-06-01  7:34           ` tomas
2023-05-31 19:37     ` Jens Schmidt
2023-06-01  6:42       ` Ihor Radchenko
2023-06-01 20:10         ` Jens Schmidt [this message]
2023-06-01 20:47           ` Adam Porter
2023-06-02  6:30             ` Eli Zaretskii
2023-06-04 23:47               ` Adam Porter
2023-06-05  2:31                 ` Eli Zaretskii
2023-05-31 12:56 ` Eli Zaretskii

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=d6182b7a-d06f-9f3a-719c-7fd3c0bdd435@vodafonemail.de \
    --to=jschmidt4gnu@vodafonemail.de \
    --cc=adam@alphapapa.net \
    --cc=emacs-devel@gnu.org \
    --cc=yantar92@posteo.net \
    /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.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).