aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-09-21 12:03:55 +0200
committerLars Ingebrigtsen2019-09-21 12:04:00 +0200
commit893111f48abd504208408904ea54bc487641756d (patch)
treebecee12bc572cdf8644abf947f5997bfde257915 /etc
parent2c7224f8942e6338ea9dce727a7b573bf4f3f5a6 (diff)
downloademacs-893111f48abd504208408904ea54bc487641756d.tar.gz
emacs-893111f48abd504208408904ea54bc487641756d.zip
Hide passwords in .authinfo and .netrc files
* lisp/auth-source.el (authinfo-mode): New mode (bug#28785). (authinfo--hide-passwords, authinfo--toggle-display): New functions. * lisp/files.el (auto-mode-alist): Use authinfo-mode for .authinfo and .netrc files.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 02fe93a782d..82b8506ae0c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1488,6 +1488,11 @@ To recover the previous behavior, set new user option
1488--- 1488---
1489*** The Secret Service backend supports the ':create' key now. 1489*** The Secret Service backend supports the ':create' key now.
1490 1490
1491*** .authinfo and .netrc files now use a new mode: 'authinfo-mode'.
1492This is just like 'fundamental-mode', except that it hides passwords
1493under a "****" display property. When the cursor moves to this text,
1494the real password is revealed (via `reveal-mode').
1495
1491** Tramp 1496** Tramp
1492 1497
1493+++ 1498+++