[ale] How do you store your passwords?
    Daniel Kahn Gillmor 
    dkg at fifthhorseman.net
       
    Fri Nov  9 16:42:14 EST 2007
    
    
  
On Fri 2007-11-09 16:22:08 -0500, Nick Ali wrote:
> Decrypting a file: gpg --decrypt foo
> Encrypting a file: gpg --encrypt --recipient user at whatever.com bar
> (probably also want to delete the unecrypted original as well)
>
> I made a Makefile, where if I type 'make view', I see all my stuff
> unencrypted. If I do 'make edit', it decrypts the file, fires up vi, I
> edit away, when I exit, the file gets encrypted, and the original is
> deleted.
This is a neat use of make.  I like it.  How are you handling the
error cases?  For example, i'm thinking about what happens the first
time you try to "make edit" your password file after your GPG key
expires -- since GPG will fail to encrypt to an expired key, will it
nuke your password file entirely by overwriting it with the truncated
(failed) gpg output?
  (not that i ask from personal experience or anything...)
Care to share your makefile?  I know i'd be interested in seeing it,
at least.
Regards,
        --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 826 bytes
Desc: not available
    
    
More information about the Ale
mailing list