From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Felix E. Klee" Newsgroups: gmane.emacs.help Subject: Hiding passwords in password file? Date: Sat, 07 Dec 2002 13:48:14 +0100 Organization: (Posted via) INKA e.V. http://www.inka.de/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: main.gmane.org 1039284612 20619 80.91.224.249 (7 Dec 2002 18:10:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 7 Dec 2002 18:10:12 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18KjOl-0005Ju-01 for ; Sat, 07 Dec 2002 19:09:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18KjD0-0006go-01 for gnu-help-gnu-emacs@m.gmane.org; Sat, 07 Dec 2002 12:57:46 -0500 Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: puric.inka.de Original-X-Trace: sapa.inka.de 1039265268 2357 193.197.184.17 (7 Dec 2002 12:47:48 GMT) Original-X-Complaints-To: abuse@inka.de Original-NNTP-Posting-Date: 7 Dec 2002 12:47:48 GMT User-Agent: KNode/0.7.1 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!news.belwue.de!news.uni-ulm.de!rz.uni-karlsruhe.de!inka.de!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:107837 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4381 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4381 Hi, I store most of my passwords (though the really critical ones are only in my head) in a large file whose format is roughly as follows: : login: password: ... ... Sometimes it happens that I need to look up a password while someone is looking over my shoulder. Often it is allright if he sees that particular password. However, I don't want to see him all the other passwords while browsing the file and only show the selected password, eg. by pressing certain keys. Two solutions came into my mind so far: 1. Use some kind of data base approach like eg. forms mode (doesn't look like it's capable to do this, though). This would force me to change the format of the file but that's no big problem. 2. Use Rot13 on the passwords. That's not very secure but better than nothing. In standard EMACS, though, it only seems to be possible to Rot13 a whole buffer and not a single selection but writing a simple function that does this shouldn't be a problem. I'm using EMACS 21.2. Any ideas? Felix