Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Encrypting a dir to copy to DVD
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
Ravilj
Apprentice
Apprentice


Joined: 29 Jul 2004
Posts: 164
Location: ziig / #

PostPosted: Mon Apr 24, 2006 11:07 pm    Post subject: Encrypting a dir to copy to DVD Reply with quote

Ok I need some suggestions here:

I have a folder which I would like to backup to a DVD however I want to encrypt the files before I copy them to the DVD. The data is round 700Mb and slowly growing. I dont need successive versions of the directory. The data does not need to be encrypted on my pc just on the DVD.

The way I see it I have these 2 options:
1. compress the dir with password
2. encrypt the dir

So what would you suggest?
Back to top
View user's profile Send private message
Shopro
l33t
l33t


Joined: 12 May 2004
Posts: 678
Location: Dayton, OH, USA

PostPosted: Tue Apr 25, 2006 4:55 am    Post subject: Reply with quote

I've been using gnupg and kgpg to do similar things, basically it just compresses the dir i.e to bzip2 and then encrypts it, leaving you only one encrypted file. Never done it with 700mb dir though. It will work, but it might be time consuming. And there might be better ways to do it. Maybe through loop.
_________________
Just because I have nothing to say is no reason why you shouldn't listen.
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Tue Apr 25, 2006 6:07 am    Post subject: Reply with quote

There is a howto in the DT&T for making an encrypted container you can burn to cd/dvd and mount as a real drive later on. Pretty neat thing :wink:
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
Ravilj
Apprentice
Apprentice


Joined: 29 Jul 2004
Posts: 164
Location: ziig / #

PostPosted: Fri May 05, 2006 11:49 pm    Post subject: Reply with quote

DT&T? I am very keen on this.
Back to top
View user's profile Send private message
Shopro
l33t
l33t


Joined: 12 May 2004
Posts: 678
Location: Dayton, OH, USA

PostPosted: Sat May 06, 2006 5:56 am    Post subject: Reply with quote

DT&T = Documentation, Tips & Tricks forum here.
_________________
Just because I have nothing to say is no reason why you shouldn't listen.
Back to top
View user's profile Send private message
zrubi
n00b
n00b


Joined: 04 Mar 2004
Posts: 40
Location: Budapest, Hungary

PostPosted: Sat May 06, 2006 8:17 pm    Post subject: Re: Encrypting a dir to copy to DVD Reply with quote

Ravilj wrote:
So what would you suggest?


gpg is pretty good (if not the best) for this job.
It has a compression feature so you dont have to compress the files before encrypting.


The way I'm using it for making backups:

Code:

find /path/to/data -depth -print0 |cpio -o --null -H crc |gpg -e -q -r my_gpg_id -z 9 > /path/to/backup.cpio.gpg


The result is only one (possibly big) file contains the whole data to backup.
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