Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
crypting dir & files ?
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
raptor
Apprentice
Apprentice


Joined: 20 Sep 2002
Posts: 171

PostPosted: Wed Nov 23, 2005 12:26 pm    Post subject: crypting dir & files ? Reply with quote

hi,

I want to crypt some files/dirs. I dont want make separate partitions to host them.
Just some simple command, something like :

crypt --pass=xxx /DIR dest-file.cry
or
crypt --pass=xxx files* dest-file.cry

later on :

uncrypt --pass=xxx dest-file.cr

? is there something like this ?
Back to top
View user's profile Send private message
nlindblad
Guru
Guru


Joined: 30 Jun 2005
Posts: 476
Location: Lund, Sweden

PostPosted: Wed Nov 23, 2005 12:45 pm    Post subject: Reply with quote

GPG has a nice feature for this, please have a look at:
http://www.madboa.com/geek/gpg-quickstart/
Back to top
View user's profile Send private message
heinlein
n00b
n00b


Joined: 23 Nov 2005
Posts: 1

PostPosted: Wed Nov 23, 2005 6:49 pm    Post subject: Reply with quote

The openssl command can do that:

Code:
openssl enc -aes-256-cbc -salt -in file.txt -out file.txt.enc -pass pass:testpass


The cipher options available to you are listed in the enc(1) man page; the format for specifying the password is explained PASS PHRASE ARGUMENTS section in the openssl(1) man page.
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