<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebProNews &#187; file encryption</title>
	<atom:link href="http://www.webpronews.com/tag/file-encryption/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webpronews.com</link>
	<description>Breaking News in Tech, Search, Social, &#38; Business</description>
	<lastBuildDate>Mon, 13 Feb 2012 23:03:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>OS X File Encryption</title>
		<link>http://www.webpronews.com/os-x-file-encryption-2006-05</link>
		<comments>http://www.webpronews.com/os-x-file-encryption-2006-05#comments</comments>
		<pubDate>Thu, 25 May 2006 21:58:20 +0000</pubDate>
		<dc:creator>A.P. Lawrence</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Encryption]]></category>
		<category><![CDATA[file encryption]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://www.webpronews.com/?p=29519</guid>
		<description><![CDATA[I'm going to look at two methods for encrypting files on Mac OS X. The first is built in, and uses DisK Utilty to create an encrypted disk image.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to look at two methods for encrypting files on Mac OS X. The first is built in, and uses DisK Utilty to create an encrypted disk image.</p>
<p>Disk Utility</p>
<p>Disk Utility needs to work from a folder, so you first need to create a directory to put your protected files in. I used &#8220;secrets&#8221; as my directory name, and moved my important files into it. I then invoked (in Terminal):</p>
<p><code>hdiutil create -encryption -stdinpass -srcfolder secrets foo.dmg </code></p>
<p>You can also do this with the graphical Disk Utility tool. This will ask for an encryption passphrase, or you could just do:</p>
<p><code>echo "your passphrase" | hdiutil create -encryption -stdinpass -srcfolder secrets foo.dmg</code></p>
<p>This creates &#8220;foo.dmg&#8221; and the passphrase you used is required to open it. If you do that graphically through Finder, you&#8217;ll be prompted for your phrase, or you can do it from the command line:</p>
<p><code>hdiutil attach -stdinpass foo.dmg </code></p>
<p>Entering the correct passphrase gives you a mounted disk image where you can access your files. By the way, don&#8217;t forget to remove the &#8220;secrets&#8221; directory and its contents.. not much point in encrypting a disk image of a folder and leaving the unencrypted version on the disk.</p>
<p><b>GNU Privacy Guard</b></p>
<p>You can download this from <a href="http://macgpg.sourceforge.net/" class="bluelink" title="GNU Privacy Guard">http://macgpg.sourceforge.net/</a>. Run the installer, and then at the Terminal command line run:</p>
<p><code>gpg --gen-key</code> </p>
<p>This asks a few questions, including requesting a passphrase, and generates the files it needs. Generating these will take a fair amount of time &#8211; you need patience. You also need your machine to be doing something; I did &#8220;ls -lR /&#8221; in a terminal window while continuing with my ordinary work. Eventually gpg will finish up:</p>
<p><code>gpg: /Users/apl/.gnupg/trustdb.gpg: trustdb created<br />
gpg: key 5D604AE8 marked as ultimately trusted<br />
public and secret key created and signed. </p>
<p>gpg: checking the trustdb<br />
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model<br />
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u<br />
pub 1024D/5D604AE8 2006-05-14<br />
Key fingerprint = F08A C9DC 53DF AF02 8E50 B683 2A0B 47EC 5D60 4AE8<br />
uid Tony Lawrence (Key for files) <tony@aplawrence.com><br />
sub 4096g/100D68F5 2006-05-14 </code></p>
<p>For simple use, gpg is very easy. For example, given a file &#8220;stuff&#8221;:</p>
<p><code>gpg -e stuff </code></p>
<p>is all you need. That will ask for a user id (you provided that when you created the gpg keys) and will create &#8220;stuff.gpg&#8221;. This does not remove &#8220;stuff&#8221;, so if you are using this to protect files on your disk, remove the original. To decrypt, &#8220;gpg stuff.gpg&#8221;. For that, you&#8217;ll need your passphrase.</p>
<p>For more on gpg in general, see <a href="http://aplawrence.com/Basics/gpg.html" class="bluelink" title="GPG/PGP Basics">GPG/PGP Basics</a> and for more on integrating GNU Privacy Guard with Mac OS X programs, see <a href="http://fiatlux.zeitform.info/en/instructions/pgp_macosx.html" class="bluelink" title="Configuring GnuPG">Configuring GnuPG (Mac OS X)</a></p>
<p>*Originally published at <a href="http://www.aplawrence.com" class="bluelink" title="A.P. Lawrence">APLawrence.com</a></p>
<p>Add to <a href="http://del.icio.us/post" onclick="window.open('http://del.icio.us/post?v=4&#038;noui&#038;jump=close&#038;url='+encodeURIComponent(location.href)+'&#038;title='+encodeURIComponent(document.title), 'delicious','toolbar=no,width=700,height=400'); return false;">Del.icio.us</a> | <a href="javascript:void window.open('http://digg.com/submit?phase=2&#038;url='+encodeURIComponent(window.location.href)+'&#038;ei=UTF-8','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)">DiggThis</a>  | <a href="javascript:void window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&#038;u='+encodeURIComponent(window.location.href)+'&#038;tag=StreamCast,Skype,eBay,Kazaa','popup','width=520px,height=420px,status=0,location=0,resizable=1,scrollbars=1,left=100,top=50',0)">Yahoo! My Web</a> | <a href="javascript:location.href='http://www.furl.net/storeIt.jsp?u='+encodeURIComponent(document.location.href)+'&#038;t='+encodeURIComponent(document.title)+' '">Furl</a></p>
<p>A.P. Lawrence provides SCO Unix and Linux consulting services http://www.pcunix.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webpronews.com/os-x-file-encryption-2006-05/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 1/9 queries in 0.003 seconds using memcached
Object Caching 193/206 objects using memcached

Served from: webpronews.com @ 2012-02-13 19:40:46 -->
