Re: file encryption
Oleg, 2002-Nov-10 22:11 -0500:
> How can I encrypt a file in a PLATFORM-INDEPENDENT manner using a password so
> that I can decrypt it later using the same password (e.g. on a different UNIX
> or Windows/Cygwin machine)?
I just learned how to do this using gpg:
$ gpg -c filename
this creates filename.gpg and then you must delete filename. You may
want to overwrite the file before deleting it to make sure it's gone.
The -c option uses a symmetric cipher. You could use -e also which, I
think, give you more encrypt option.
$ gpg -d filename.gpg
This spits the decrypted file to stdout. You can pipe it to a file as
I'm still learning, but this is where I am now. I hope this helps get
Jeff Coppock Systems Engineer
Diggin' Debian Admin and User