unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Jose A. Ortega Ruiz" <jaortega@acm.org>
Subject: Re: Hiding passwords in password file?
Date: 07 Dec 2002 15:28:38 +0100	[thread overview]
Message-ID: <86d6odoqcp.fsf@gandalf.localdomain> (raw)
In-Reply-To: assqlk$29l$1@sapa.inka.de


"Felix E. Klee" <felix.klee@inka.de> writes:

> 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:
>   <some-site-name>:
>     login:    <some-login>
>     password: <some-password>
>     ...
>   ...

hi,

a simple way to tackle with this issue is to use outline mode, and
write

* <some-site-name>:
** login: <some-login>
** password: <some-password>

with

-*-mode: outline -*-

at the beginning of your password file [0]. add a hook so that, when
loadig the file, all tree are colapsed, and emacs will show you just
something like:

* <some-site-name>...

* <some-other-site-name>...

and so on. then, use C-c @ C-e on a site name to expand just that
site's info [1]

just an idea.

cheers,
jao


[0] if you don't like the '*', you can customize the prefix unix uses
for recognizing outline entries by changing the variable 'outline-regexp'
[1] google for outline-magic.el for an easierway of
expanding/colapsing entries using the TAB key

-- 
Real knowledge is to know the extent of one's ignorance. -Confucius,
philosopher and teacher (c. 551-478 BCE)

  parent reply	other threads:[~2002-12-07 14:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-07 12:48 Hiding passwords in password file? Felix E. Klee
2002-12-07 13:22 ` Felix E. Klee
2002-12-07 14:24 ` Kai Großjohann
2002-12-07 14:28 ` Jose A. Ortega Ruiz [this message]
2002-12-07 16:07 ` Felix E. Klee
2002-12-10  2:12   ` Lee Sau Dan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86d6odoqcp.fsf@gandalf.localdomain \
    --to=jaortega@acm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).