Received: from spf1.us4.outblaze.com (spf1.us4.outblaze.com [205.158.62.23]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i9S6KNe8013023 for ; Thu, 28 Oct 2004 06:20:23 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf1.us4.outblaze.com (Postfix) with ESMTP id 4F1A153C26 for ; Thu, 28 Oct 2004 06:20:22 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CN3ln-0000PA-Pf for migo@homemail.com; Thu, 28 Oct 2004 02:28:23 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CN3lT-0000P5-43 for gnu-arch-users@gnu.org; Thu, 28 Oct 2004 02:28:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CN3lS-0000Ot-N8 for gnu-arch-users@gnu.org; Thu, 28 Oct 2004 02:28:02 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CN3lS-0000Oq-Kf for gnu-arch-users@gnu.org; Thu, 28 Oct 2004 02:28:02 -0400 Received: from [144.140.70.14] (helo=gizmo04bw.bigpond.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1CN3dR-0001On-D4 for gnu-arch-users@gnu.org; Thu, 28 Oct 2004 02:19:46 -0400 Received: (qmail 6897 invoked from network); 28 Oct 2004 06:19:43 -0000 Received: from unknown (HELO bwmam13.bigpond.com) (144.135.24.106) by gizmo04bw.bigpond.com with SMTP; 28 Oct 2004 06:19:43 -0000 Received: from cpe-144-132-211-224.nsw.bigpond.net.au ([144.132.211.224]) by bwmam13.bigpond.com(MAM REL_3_4_2a 198/97444245) with SMTP id 97444245; Thu, 28 Oct 2004 16:19:43 +1000 Received: by poolcompsonline.com (Postfix, from userid 1000) id E18E37812B; Thu, 28 Oct 2004 16:22:01 +1000 Subject: OT: Re: [Gnu-arch-users] Encrypted archives? From: Zenaan Harkness To: Gnu Arch Users In-Reply-To: <16768.32886.39554.978978@jin.myrkraverk.com> References: <16768.32886.39554.978978@jin.myrkraverk.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1098944521.11312.37.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 28 Oct 2004 16:22:01 +1000 X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 2602 Lines: 64 > I was just wondering if it was possible to setup encryped archives? This is a classic case of orthogonal functionality. My recommendation: learn to do loopback filesystems. Then learn to do encrypted filesystems. * Loopback mounting is very, very useful - testing iso cd images, mounting ripped CDs when you just want one file and don't want to burn a whole CD just to get that file, and of course encrypted filesystems. * Crypto filesystems are so much more general than "encrypted tla archive" it isn't funny. Of course, you will find other uses for them. This is one I never quite got to, so I can't make personal experience-based recommendations. * Finally, if you haven't come across it yet, I HIGHLY recommend the swiss army knife of scripting tools, opening up an entire world of possibilities (that have saved my ass on a few occasions - eg. when I've had to rescue a GNU/Linux box and all I had was an NT box), is netcat (aka "nc"). Combined with cpio (or tar, but cpio is simpler when you're in a pike - I recommend TomsRootBoot rescue floppy), gzip, gpg and any other command line tools that you normally pipe things through, netcat is bloody awesome. Orthogonaly people. Repeat after me: or-tho-go-na-li-ty. If you've every piped find to grep, then learned to add in xargs, and realised that the xargs and grep bit fit nicely with tla inventory, and also that you can tack "> tmpfile.txt" on the end of your chain of pipes, you are 98% of the way there already. You can add in cpio/tar/star, gpg, gzip/bzip/zip/etc, and the list goes on. All lovely interchangeable tools. And nc/netcat allows one part of a chain to be a network between two computers. Much like ssh tunneling is, although that's kind of the difference between cpio and emacs (alright, may be cpio and tar, but you hopefully get the picture); the point being, these are basically similar (haven't done it for a while, so it's almost certainly missing the precise options): host recver: nc -l port|gpg --decrypt|cpio -imuvd host sender: find blah|cpio -o|gpg --encrypt|nc host port vs host recver: ssh??|cpio -imuvd host sender: find blah|cpio -o|ssh ?? As you can tell, I've used the orthogonal solution here, not the ssh version. In fact, the ssh version might require netcat as well anyway (which would communicate at either end with "localhost", which is just the SSH tunnel). cheers zen _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/