emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 893111f 2/2: Hide passwords in .authinfo and .netrc files


From: Lars Ingebrigtsen
Subject: Re: master 893111f 2/2: Hide passwords in .authinfo and .netrc files
Date: Sun, 22 Sep 2019 19:21:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Amin Bandali <address@hidden> writes:

> On a side note, I wonder it would be too much to have the keyword(s) be
> customizeable?  For instance, I use my authinfo file to store entries
> with multiple “secret” parts, such as the following:
>
> machine xyz client-id 62308.619 client-secret ce2e92 token x-27f57e9a
>
> It would be nice if there were a defcustom e.g. `authinfo-hidden-parts',
> defaulting to “password”, which one could add other keywords to, such as
> “client-secret” and “token”.

Yes, makes sense.  Should that just be a list of tokens, or a regexp?
If a regexp, I guess the function would have to be somewhat more
rewritten to keep the bit that matches the secret bit in the right
regexp grouping...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]