[oclug] encrypting files (was passwords)
Allan McIntosh
amcintosh at atreus-systems.com
Mon Aug 12 15:06:23 EDT 2002
>On Mon, 12 Aug 2002, Allan McIntosh wrote:
>
>> $ crypt key < plainfile > encryptedfile
>
Ya I was reading that. If you were to run `ps` while the command is
executing you could see the plaintext key.
>If you want strong symmetric encryption under Linux, use gpg:
>
>$ gpg --symmetric < cleartext > crypted_text
>
>To decrypt:
>
>$ gpg --decrypt < crypted_text > cleartext
>
>You'll be prompted for a key.
>
At least this way the key is not part of the command.
Thanks
Al
--
------------------------------------------------------------------
Allan McIntosh, Software Designer
http://www.atreus-systems.com
Phone: (613) 233-1741, (800) 764-5514 Ext 217
------------------------------------------------------------------
More information about the OCLUG
mailing list