Ho to Encrypt specific local files?

Peter Gordon peter at thecodergeek.com
Fri Nov 17 18:52:19 UTC 2006


kevin.kempter at dataintellect.com wrote:
> Any suggestions on how to encrypt a local file or any suggested tools to help
> me manage these passwords so I can view 'em when I need to access the various
> database hosts across the network but disallow any snooping eyes if someone
> were to ever get onto my laptop?

It'd be a bit tedious, but you could probably use GPG for this purpose.
However, since your GPG key pair would likely be on the same drive, you should
instead use something like a symmetric AES256 cipher instead of using its PKI
utilities (`gpg --cipher-algo AES256 --symmetric ...`).

Many editors have GPG plugins or functionality to transparently decrypt a
file on opening and re-encrypt it on closing (Vim, for sure).
-- 
Peter Gordon (codergeek42)
This message was sent through a webmail
    interface, and thus not signed.




More information about the users mailing list