Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2010 18:04:57 +0200
From:      Timm Wimmers <timm@ticore.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Directory Encryption?
Message-ID:  <4C729C29.2090206@ticore.de>
In-Reply-To: <AANLkTinCmLAFMbeDmVoDo=65RCiLqu_54ocNL3eZSOiG@mail.gmail.com>
References:  <AANLkTinCmLAFMbeDmVoDo=65RCiLqu_54ocNL3eZSOiG@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 23.08.2010 16:36, schrieb Chris Maness:
> What is a good tool to encrypt a directory?  I need an application
> that is also readily available for Apple OSX, and that does not get
> mangled when transferring via rsync.

How about "openssl'?

Encrypt a TARed directory:

$ tar cjf - /path/to/source/folder | \
openssl enc -e -bf -out OUTFILE.tgz.enc -pass pass:MYSILLYPASS


Decrypt:

$ openssl enc -d -bf           \
     -in OUTFILE.tgz.enc       \
     -out OUTFILE.tgz          \
     -pass pass:MYSILLYPASS

There are also ways to encrypt with keys, see manpage.

-- 
Timm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C729C29.2090206>