Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to make a crypted copy of my data?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Achille
n00b
n00b


Joined: 04 Jan 2005
Posts: 74

PostPosted: Wed Mar 23, 2005 8:01 pm    Post subject: How to make a crypted copy of my data? Reply with quote

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
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Wed Mar 23, 2005 8:22 pm    Post subject: Re: How to make a crypted copy of my data? Reply with quote

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
View user's profile Send private message
Achille
n00b
n00b


Joined: 04 Jan 2005
Posts: 74

PostPosted: Thu Mar 24, 2005 5:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum