diff options
| author | Lars Ingebrigtsen | 2019-09-21 12:03:55 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-09-21 12:04:00 +0200 |
| commit | 893111f48abd504208408904ea54bc487641756d (patch) | |
| tree | becee12bc572cdf8644abf947f5997bfde257915 /etc | |
| parent | 2c7224f8942e6338ea9dce727a7b573bf4f3f5a6 (diff) | |
| download | emacs-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -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'. | ||
| 1492 | This is just like 'fundamental-mode', except that it hides passwords | ||
| 1493 | under a "****" display property. When the cursor moves to this text, | ||
| 1494 | the real password is revealed (via `reveal-mode'). | ||
| 1495 | |||
| 1491 | ** Tramp | 1496 | ** Tramp |
| 1492 | 1497 | ||
| 1493 | +++ | 1498 | +++ |