* passwords not visible in symmetric encryption
@ 2020-08-22 11:50 Colin Baxter
2020-08-22 12:09 ` Jamie Beardslee
0 siblings, 1 reply; 3+ messages in thread
From: Colin Baxter @ 2020-08-22 11:50 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
I have two authinfo files whose contents are identical. One is encrypted
using one of my gnupg keys (~/path/to/key-encrypted/file.gpg) and the other is
symmetrically encrypted
(~/different/path/to/symmetric-encrypted/.file.gpg). The latter is a
hidden file, whereas the former is not.
When I open the symmetrically encrypted file using emacs-27.1, the
passwords are replaced by four stars ****. This is not the case when I
open the key-encrypted file, where all the passwords are shown in
clear. I see all the passwords in clear when I open either file using
emacs-26.3.
I want the same behaviour when I open both files with emacs-27.1. How do
I achieve this?
I'm using gpg 2.0.26.
Colin Baxter.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: passwords not visible in symmetric encryption
2020-08-22 11:50 passwords not visible in symmetric encryption Colin Baxter
@ 2020-08-22 12:09 ` Jamie Beardslee
2020-08-22 13:21 ` Colin Baxter
0 siblings, 1 reply; 3+ messages in thread
From: Jamie Beardslee @ 2020-08-22 12:09 UTC (permalink / raw)
To: help-gnu-emacs
From the docstring of the variable `authinfo-hidden':
| Regexp matching elements in .authinfo/.netrc files that should be hidden.
|
| This variable was added, or its default value changed, in Emacs 27.1.
If you don't want the passwords to be hidden, set that to nil.
If you _do_ want the passwords to be hidden, you need to make sure the
file is opened in `authinfo-mode' with a magic comment like this:
| # -*- mode: authinfo;-*-
--
Jamie
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: passwords not visible in symmetric encryption
2020-08-22 12:09 ` Jamie Beardslee
@ 2020-08-22 13:21 ` Colin Baxter
0 siblings, 0 replies; 3+ messages in thread
From: Colin Baxter @ 2020-08-22 13:21 UTC (permalink / raw)
To: help-gnu-emacs
Dear Jamie,
>>>>> Jamie Beardslee <jdb@jamzattack.xyz> writes:
Thanks. I've just found the item in Emacs News - you beat me to it. I
think I'll leave the authinfo-hidden variable unchanged at "password"
and just un-hide my authinfo.gpg file.
> From the docstring of the variable `authinfo-hidden': | Regexp
> matching elements in .authinfo/.netrc files that should be hidden.
> |
> | This variable was added, or its default value changed, in Emacs
> 27.1.
> If you don't want the passwords to be hidden, set that to nil.
> If you _do_ want the passwords to be hidden, you need to make sure
> the file is opened in `authinfo-mode' with a magic comment like
> this: | # -*- mode: authinfo;-*-
That's good to know
Thanks again for your help.
Best wishes,
Colin.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-08-22 13:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-22 11:50 passwords not visible in symmetric encryption Colin Baxter
2020-08-22 12:09 ` Jamie Beardslee
2020-08-22 13:21 ` Colin Baxter
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.