|
Home > Archive > Unix questions > November 2005 > crypting files
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| hender 2005-11-17, 2:52 am |
| Hello,
I would like to ask as to what is the best way to encrypt files in
unix. I somehow started by tar then compress then using the crypt
command to encrypt them. Is there a better solution around there?
Hender
| |
| Lars Kellogg-Stedman 2005-11-17, 2:52 am |
| > I would like to ask as to what is the best way to encrypt files in
> unix. I somehow started by tar then compress then using the crypt
> command to encrypt them. Is there a better solution around there?
There are many ways to encrypt files. The 'crypt' command is fairly
weak.
A popular solution is GnuPG, which in addition to the public/private key
architecture it's best known for can also do simple symmetric
encryption. If you're using Linux, this is probably already installed
on your system.
You can actually use the 'openssl' command to encrypt and decrypt
files.
A search for "encrypt" on Freshmeat
(http://freshmeat.net/search/?q=encrypt) will reveal a variety of
packages for handling file encryption.
-- Lars
--
Lars Kellogg-Stedman <8273grkci8q8kgt@jetable.net>
This email address will expire on 2005-11-23.
| |
| Stephane CHAZELAS 2005-11-17, 2:52 am |
| 2005-11-16, 20:47(-08), hender:
> I would like to ask as to what is the best way to encrypt files in
> unix. I somehow started by tar then compress then using the crypt
> command to encrypt them. Is there a better solution around there?
[...]
beside, pgp and gpg, there's the openssl command that may be
slightly more likely to be installed on a Unix.
See "man enc" on such systems.
--
Stéphane
| |
| Christopher W Aiken 2005-11-17, 6:13 pm |
| On 2005-11-17, Stephane CHAZELAS <this.address@is.invalid> wrote:
> 2005-11-16, 20:47(-08), hender:
> [...]
>
> beside, pgp and gpg, there's the openssl command that may be
> slightly more likely to be installed on a Unix.
>
> See "man enc" on such systems.
>
Although weak, the "zip/unzip" commands have an "-e" encryption flag
on most modern Linux systems.
--
-=[cwa]=-
e-Mail: chris at cwaiken dot net
Home: www.cwaiken.net
| |
| hender 2005-11-18, 2:49 am |
| Thanks everyone. I have decided to use pgp.
|
|
|
|
|