View previous topic :: View next topic |
Author |
Message |
Achille n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Jan 2005 Posts: 74
|
Posted: Wed Mar 23, 2005 8:01 pm Post subject: How to make a crypted copy of my data? |
|
|
I used to copy my data in a very simple way:
tar -cf /home/$user.tar /home/$user
gzip /home/$user.tar
I would like to do the same, but so that my data will be crypted, because I don't want that anybody can read them.
How to proceed? Thank you for your help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
nephros Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/145383245043ee5edfbdaa3.png)
Joined: 07 Feb 2003 Posts: 2139 Location: Graz, Austria (Europe - no kangaroos.)
|
Posted: Wed Mar 23, 2005 8:22 pm Post subject: Re: How to make a crypted copy of my data? |
|
|
One possibility:
instead of
gzip /home/$user.tar
use
gpg -c --cipher-algo blowfish --compress-algo gzip $user.tar
read man gpg on what ciphers and compression schemes are available, and of course how to un-encrypt it again.
Also remember that gpg asks for a "passphrase" rather than a password, so you can use e.g. a long sentance or a haiku ... instead password if you like. _________________ Please put [SOLVED] in your topic if you are a moron. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Achille n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Jan 2005 Posts: 74
|
Posted: Thu Mar 24, 2005 5:55 pm Post subject: |
|
|
Thank you for your answer.
Finally, I have discovered bcrypt and it works perfectly for me. It suffices to run
bcrypt /home/$user.tar.gz
to crypt my data. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|