From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: password.el: A minor mode to hide sensitive information (passwords) using overlays. Date: Tue, 20 Nov 2012 11:06:29 +0100 Message-ID: <878v9w4mhm.fsf@gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1353406155 946 80.91.229.3 (20 Nov 2012 10:09:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Nov 2012 10:09:15 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: =?utf-8?Q?J=C3=BCrgen_H=C3=B6tzel?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 20 11:09:22 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Taklb-0006ub-62 for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Nov 2012 11:09:19 +0100 Original-Received: from localhost ([::1]:37399 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaklQ-0005bq-No for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Nov 2012 05:09:08 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaklD-0005aO-Rc for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 05:09:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaklA-0003kJ-S6 for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 05:08:55 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:43856) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TaklA-0003jO-Gy for help-gnu-emacs@gnu.org; Tue, 20 Nov 2012 05:08:52 -0500 Original-Received: (qmail invoked by alias); 20 Nov 2012 10:06:31 -0000 Original-Received: from p57BB9655.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.150.85] by mail.gmx.net (mp035) with SMTP; 20 Nov 2012 11:06:31 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX193jNplcrV3FNKfDvI3/+Gt0S8aO90EVl12Go4Vde m8iUHYo9wcJrfH In-Reply-To: (=?utf-8?Q?=22J=C3=BCrgen_H=C3=B6tzel=22's?= message of "Tue, 13 Nov 2012 13:59:29 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 213.165.64.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87810 Archived-At: J=C3=BCrgen H=C3=B6tzel writes: Hi J=C3=BCrgen, > But there may be situation when you have to deal with passwords in > plain text files. > > Example Usage: > > (require 'password-mode) > (add-hook 'text-mode-hook 'password-mode) > > Source Repository: > > https://github.com/juergenhoetzel/password-mode Nice package. I've tried it with my own ~/.authinfo.gpg file; unfortunately it doesn't work out of the box due to limitations in `password-mode-prefix-regex': - You require a trailing ":" after any string of `password-mode-words'. Maybe you could make this optional. - You allow only alpha numerical characters for passwords. I use also special characters like "@" in my passwords, which are not hidden. The password regexp could be more general (or customizable). > J=C3=BCrgen Best regards, Michael.