From owner-freebsd-questions@FreeBSD.ORG Mon Aug 23 16:04:59 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B51C21065672 for ; Mon, 23 Aug 2010 16:04:59 +0000 (UTC) (envelope-from timm@ticore.de) Received: from businessbox4.server-home.net (businessbox4.server-home.net [195.137.212.34]) by mx1.freebsd.org (Postfix) with ESMTP id 785178FC13 for ; Mon, 23 Aug 2010 16:04:59 +0000 (UTC) Received: from [192.168.100.132] (mail.shr.cc [87.193.183.98]) by businessbox4.server-home.net (Postfix) with ESMTPA id ABD8BA829C for ; Mon, 23 Aug 2010 18:04:47 +0200 (CEST) Message-ID: <4C729C29.2090206@ticore.de> Date: Mon, 23 Aug 2010 18:04:57 +0200 From: Timm Wimmers User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Directory Encryption? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Aug 2010 16:04:59 -0000 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