On Wed, 23 Apr 2008, Clint Dilks wrote:

Hi Everyone

I am wondering if many people are using software that acts as a password safe. And if so can you recommend any software in particular?

I just use gpg with a Makefile wrapper. "make view" and "make edit" are the targets:

----- %< -----
#
# for viewing/editing password database
#

FILEPLAIN = pwdb.txt
FILECRYPT = $(FILEPLAIN).gpg
GPG = gpg
GPGID = [EMAIL PROTECTED]
RM = /bin/rm -i
VI = vim

all: help

help:
        @echo "targets:"
        @echo "  edit -- to edit the data file"
        @echo "  view -- to view the data file"

edit:
        @umask 0077; $(GPG) --output $(FILEPLAIN) --decrypt $(FILECRYPT)
        @$(VI) $(FILEPLAIN)
        @umask 0077; $(GPG) --encrypt --recipient $(GPGID) $(FILEPLAIN)
        @$(RM) $(FILEPLAIN)

view:
        @umask 0077; $(GPG) --decrypt $(FILECRYPT) | less

----- %< -----

--
Paul Heinlein <> [EMAIL PROTECTED] <> http://www.madboa.com/
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to