<?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>Davin&#039;s blog &#187; Apple</title>
	<atom:link href="http://blog.davingranroth.com/tag/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.davingranroth.com</link>
	<description>Experience design, faith, and family.</description>
	<lastBuildDate>Sat, 21 Jan 2012 13:42: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>Signing and Encrypting E-mail on Mac OS X 10.6 Using Self-Signed Certificates</title>
		<link>http://blog.davingranroth.com/2010/12/signing-and-encrypting-e-mail-on-mac-os-x-10-6-using-self-signed-certificates/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=signing-and-encrypting-e-mail-on-mac-os-x-10-6-using-self-signed-certificates</link>
		<comments>http://blog.davingranroth.com/2010/12/signing-and-encrypting-e-mail-on-mac-os-x-10-6-using-self-signed-certificates/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 07:07:10 +0000</pubDate>
		<dc:creator>Davin Granroth</dc:creator>
				<category><![CDATA[Web design and technology]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[certificates]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[s/mime]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.davingranroth.com/?p=1488</guid>
		<description><![CDATA[A few years ago I wrote about using Thawte&#8217;s personal e-mail signing certificates for setting up secure S/MIME encryption with Apple Mail. Well, Thawte, so I understand, is phasing out that service. So, I&#8217;ve been wondering how to do self-signing &#8230; <a href="http://blog.davingranroth.com/2010/12/signing-and-encrypting-e-mail-on-mac-os-x-10-6-using-self-signed-certificates/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A few years ago I wrote about using Thawte&#8217;s personal e-mail signing certificates for setting up secure S/MIME encryption with Apple Mail. Well, Thawte, so I understand, is phasing out that service. So, I&#8217;ve been wondering how to do self-signing on the Mac to set up S/MIME encrypted e-mails. This evening, I found out.</p>
<p><strong>Credit where it is due:</strong> <a href="http://jwwalker.com/pages/certificates.html">James Walker&#8217;s post on how to set up self-signed certificates for e-mail with OS 10.4</a>. His post gave me a few steps to follow that I&#8217;m  just updating here to match what is needed for Mac OS 10.6.</p>
<h2>Create your certificate</h2>
<p>Open up Keychain Access. This is an application in your Applications/Utilities directory. (It is faster to just hit <kbd>command+spacebar</kbd> to open Spotlight, then enter <kbd>keych</kbd>, and hit the <kbd>enter</kbd> key when Keychain Access appears highlighted.)</p>
<p>Click on the <em>Keychain Access</em> menu, hover over the <em>Certificate Assistant</em> option, and then select <em>Create a Certificate…</em>.</p>
<p><img class="alignnone size-full wp-image-1489" title="Create Your Certificate window" src="http://blog.davingranroth.com/wp-content/uploads/2010/12/Screen-shot-2010-12-25-at-1.09.39-AM.png" alt="Create Your Certificate in Apple's Certificate Assistant window" width="614" height="437" /></p>
<p>Here are a few details to note about the Create  Your Certificate options.</p>
<ul>
<li>You might want to add an e-mail descriptor to the name field. E.g., <em>Davin Granroth (gmail)</em>.</li>
<li>Go with <em>Self-Signed Root</em> and <em>S/MIME (Email)</em>.</li>
<li>By default, the certificate will be valid for a year. If you want to extend that a bit, you need to check the <em>Let me override defaults</em> checkbox. You&#8217;ll get to make changes after you click the <em>Continue</em> button.</li>
<li>If you need a certificate for your non-primary e-mail account, you&#8217;ll need to check the <em>Let me override defaults</em> box for that too.</li>
</ul>
<p>If you checked the override box, you&#8217;ll eventually see a series of <em>Extension</em> windows. Just go with the default values. Apple figures out what you need based on the first screen where you chose the certificate type.</p>
<p>Continue and you&#8217;ll see a window with your new certificate information in it. Congratulations!</p>
<p><a href="http://blog.davingranroth.com/wp-content/uploads/2010/12/Screen-shot-2010-12-25-at-1.31.23-AM.png"><img class="alignnone size-full wp-image-1491" title="New Certificate!" src="http://blog.davingranroth.com/wp-content/uploads/2010/12/Screen-shot-2010-12-25-at-1.31.23-AM.png" alt="Certificate Assistant window showing the newly minted cert. It also says: This root certificate is not trusted." width="615" height="435" /></a></p>
<p>Now if you could only trust that certificate.</p>
<h2>Trusting your certificate</h2>
<p>If you haven&#8217;t already, click the <em>Done</em> button to close that Certificate Assistant window. Now, back in Keychain Access, click on the <em>My Certificates</em> category on the right of the main Keychain Access window.</p>
<p>You&#8217;ll see your new certificate listed with a little white X in a red circle on the icon. That indicates the certificate is not trusted. Double-click on the certificate, and a new window will open with details of the certificate.</p>
<p><img class="alignnone size-full wp-image-1495" title="Choosing to trust your certificate" src="http://blog.davingranroth.com/wp-content/uploads/2010/12/Screen-shot-2010-12-25-at-2.04.01-AM.png" alt="Certificate window with Always Trust selected." width="512" height="431" /></p>
<p>Near the top of that window you&#8217;ll notice the word <em>Trust</em> with a little triangle to the left of it. Click the triangle to twist open the Trust options.</p>
<p>In the <em>When using this certificate</em> select list, select <em>Always Trust</em>. Then close that window. You&#8217;ll be prompted for your administrator password. Enter it, and you should be all set. Your new certificate should now be trusted.</p>
<h2>Sending signed or encrypted e-mails</h2>
<p>At this point, if you restart Apple Mail, you&#8217;ll notice a new option available when you compose a message.</p>
<div id="attachment_1492" class="wp-caption alignnone" style="width: 557px"><img class="size-full wp-image-1492" title="Compose message with sign and s/mime options" src="http://blog.davingranroth.com/wp-content/uploads/2010/12/Screen-shot-2010-12-25-at-1.49.13-AM.png" alt="Compose message with sign and s/mime options" width="547" height="463" /><p class="wp-caption-text">The check icon indicates that your signed certificate will be included in the message. Once you&#39;ve exchanged signed certs with your recipient, you&#39;ll be able to exchange S/MIME encrypted messages.</p></div>
<p><a href="http://jwwalker.com/pages/certificates.html">For more on exchanging signed or encrypted e-mails, see James Walker&#8217;s article.</a> Scroll down to the section on Exchanging Signed or Encrypted E-mail.</p>
<h2>Why would you want to send encrypted e-mails?</h2>
<p>Hah! &#8220;Why wouldn&#8217;t you want to,&#8221; is the better question. Actually, if you send or receive sensitive information like usernames and passwords, legal information, or confidential business information, you might really want to consider this.</p>
<p>The trick is getting the person you exchange these messages with to also set up S/MIME on their end of the e-mail.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davingranroth.com/2010/12/signing-and-encrypting-e-mail-on-mac-os-x-10-6-using-self-signed-certificates/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>XSL to get text from Apple Pages documents</title>
		<link>http://blog.davingranroth.com/2009/11/xslt-to-get-text-from-apple-pages-documents/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=xslt-to-get-text-from-apple-pages-documents</link>
		<comments>http://blog.davingranroth.com/2009/11/xslt-to-get-text-from-apple-pages-documents/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 16:36:33 +0000</pubDate>
		<dc:creator>Davin Granroth</dc:creator>
				<category><![CDATA[Web design and technology]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[Pages]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[XSL]]></category>

		<guid isPermaLink="false">http://blog.davingranroth.com/?p=925</guid>
		<description><![CDATA[Pages is the name of Apple&#8217;s basic word processor program that comes with their iWork suite of applications. It&#8217;s not a bad program, but a number of months ago I needed to switch up to MS Word for the Mac. &#8230; <a href="http://blog.davingranroth.com/2009/11/xslt-to-get-text-from-apple-pages-documents/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Pages is the name of Apple&#8217;s basic word processor program that comes with their iWork suite of applications. It&#8217;s not a bad program, but a number of months ago I needed to switch up to MS Word for the Mac.</p>
<p>Well, this morning I was looking through some old files and found a text document I wanted to print that I had done using Pages. Unfortunately, I had removed iWork from my Mac, so I no longer had the software to open the Pages document.</p>
<p>After a cursory search on the Internet for a program that would let me open Pages docs without having the program itself, I came up empty-handed.</p>
<p>So, I inspected the Pages document and realized it was a package. (Right click on the document icon and Show Package Contents.) The package contained an index.xml.gz file, which I unzipped and found within the body of my document amidst a whole bunch of XML code.</p>
<p>I momentarily considered reconstructing the text in TextWrangler, but thought it might be fun to write an XSLT file to do the work.</p>
<p>Please note that this is a 1st draft meant to retrieve the text from my document. It will not handle anything fancy, just text. Plus, it will only try to make each chunk of text into a plain-text paragraph in HTML, suitable for copying and pasting out of a browser window. Use at your own risk. <img src='http://blog.davingranroth.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Ok, <a href="http://blog.davingranroth.com/wp-content/uploads/2009/11/textFromPages.xsl">here&#8217;s the textFromPages.xsl file</a>.</p>
<p>Others may take this initial XSL file and do what they will with it. I hope that if you take this and make it better, you&#8217;ll comment on this post to let me (and others) know.</p>
<p>To have it be useful to you, you&#8217;ll need to know how to apply an XSL transformation to a source XML file (specifically the index.xml from Pages).</p>
<p>Hint: Firefox will do the transformation for you if you include the proper xml-stylesheet directive right after the XML prologue in the source XML file. It looks like this: <code>&lt;?xml-stylesheet href="textFromPages.xsl" type="text/xsl" ?&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.davingranroth.com/2009/11/xslt-to-get-text-from-apple-pages-documents/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

