<?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>corey gilmore's blog &#187; iPhone</title>
	<atom:link href="http://coreygilmore.com/blog/category/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://coreygilmore.com</link>
	<description></description>
	<lastBuildDate>Wed, 09 Nov 2011 18:23:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Jailbreaking iOS 5 GM with redsn0w &#8211; fix exploit failed error</title>
		<link>http://coreygilmore.com/blog/2011/10/25/jailbreaking-ios-5-gm-with-redsn0w-fix-exploit-failed-error/</link>
		<comments>http://coreygilmore.com/blog/2011/10/25/jailbreaking-ios-5-gm-with-redsn0w-fix-exploit-failed-error/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 21:03:45 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[redsn0w]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=1732</guid>
		<description><![CDATA[If you&#039;re receiving an &#034;exploit failed&#034; error message using redsn0w 0.9.9b7 &#8211; or any other redsn0w 0.9.9 beta build &#8211; to jailbreak an iPhone 4, it seems to be related to the automatic ipsw identification. Move the iPhone3,1_5.0_9A334_Restore.ipsw into the iPhone Software Updates directory. On OS X this is located in ~/Library/iTunes/iPhone Software Updates. Re-run redsn0w and [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#039;re receiving an &#034;exploit failed&#034; error message using <a href="http://blog.iphone-dev.org/redsn0w-iOS5" >redsn0w 0.9.9b7</a> &#8211; or any other redsn0w 0.9.9 beta build &#8211; to jailbreak an iPhone 4, it seems to be related to the automatic ipsw identification.</p>
<p>Move the <a href="http://appldnld.apple.com/iPhone4/041-8358.20111012.FFc34/iPhone3,1_5.0_9A334_Restore.ipsw" >iPhone3,1_5.0_9A334_Restore.ipsw</a> into the iPhone Software Updates directory. On OS X this is located in ~/Library/iTunes/iPhone Software Updates.</p>
<p>Re-run redsn0w and the jailbreak will work as expected. Don&#039;t forget that it&#039;s still a tethered jailbreak.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2011/10/25/jailbreaking-ios-5-gm-with-redsn0w-fix-exploit-failed-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regenerate SpringBoard on a jailbroken iPhone</title>
		<link>http://coreygilmore.com/blog/2010/08/02/regenerate-springboard-on-a-jailbroken-iphone/</link>
		<comments>http://coreygilmore.com/blog/2010/08/02/regenerate-springboard-on-a-jailbroken-iphone/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 15:39:50 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Cydia]]></category>
		<category><![CDATA[jailbreak]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=1610</guid>
		<description><![CDATA[Useful if you&#039;re installing packages from the command line and want the homescreen icons to be visible. Install UIKit Tools (apt-get install uikittools) and from the command line run sudo -u mobile uicache If sudo isn&#039;t installed, install that with apt-get install sudo or su mobile uicache And while you&#039;re on the command line, make [...]]]></description>
			<content:encoded><![CDATA[<p>Useful if you&#039;re installing packages from the command line and want the homescreen icons to be visible.<br/>
Install UIKit Tools (<code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;">apt-get install uikittools</code>) and from the command line run <code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;">sudo -u mobile uicache</code></p>
<p>If sudo isn&#039;t installed, install that with <code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;">apt-get install sudo</code> or</p>

<div class="wp_syntax"   style="color: #100; border: 1px solid #ccc; padding-bottom:16px; overflow-x: auto; overflow: auto; overflow-y: hidden; width:100%; margin: 0 0 1.5em 0; font-size:9.5pt; line-height:1.1em;color: #100; border: 1px solid #ccc; padding-bottom:16px; overflow-x: auto; overflow: auto; overflow-y: hidden; width:100%; margin: 0 0 1.5em 0; font-size:9.5pt; line-height:1.1em;"><div class="code" ><pre class="bash"     style="font-family:monospace;font-family:monospace;margin: 0; width: auto; float: none; clear: none; overflow: visible;margin: 0; width: auto; float: none; clear: none; overflow: visible;"><span style="color: #c20cb9; font-weight: bold;" >su</span> mobile
uicache</pre></div></div>

<p>And while you&#039;re on the command line, make sure to change the password for the root and mobile users.</p>
<ol>
<li>SSH to your iPhone</li>
<li>su -</li>
<li>Enter the root password, alpine by default.</li>
<li><code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;">passwd</code></li>
<li>Enter your new root password</li>
<li><code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;">passwd mobile</code></li>
<li>Enter the new password for the mobile user</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2010/08/02/regenerate-springboard-on-a-jailbroken-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AT&amp;T Downplays Critical ICCID Leak</title>
		<link>http://coreygilmore.com/blog/2010/06/14/att-downplays-critical-iccid-leak/</link>
		<comments>http://coreygilmore.com/blog/2010/06/14/att-downplays-critical-iccid-leak/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 17:13:59 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[AT&T]]></category>
		<category><![CDATA[GSM]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=1543</guid>
		<description><![CDATA[Recently the email address and ICCID (SIM serial number) of at least 140,000 iPad 3G owners were left unprotected by AT&#38;T. AT&#38;T chose to blame &#034;hackers&#034; for stealing this information, but that is just deflection. AT&#38;T didn&#039;t adequately protect customer information, and as a result someone found it. AT&#38;T also claims that it was only [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;" ><img border="1"  class="outline size-full wp-image-1546 aligncenter"  title="AT&amp;T"  src="http://coreygilmore.com/uploads/2010/06/att.jpg"  alt=""  width="270"  height="366"   style="border:1px solid black;"/></p>
<p>Recently the email address and <a href="Integrated Circuit Card ID" >ICCID</a> (SIM serial number) of at least 140,000 iPad 3G owners were left unprotected by AT&amp;T. AT&amp;T chose to blame &#034;hackers&#034; for stealing this information, but that is just deflection. AT&amp;T didn&#039;t adequately protect customer information, and as a result someone found it.</p>
<p>AT&amp;T also claims that it was only the email address and ICCID that leaked, which is another partial truth. A 2008 paper titled <a href="http://www.mfi-training.com/forum/paper/SIM&amp;Salsa.pdf" >SIMs and Salsa</a> (<a href="http://docs.google.com/viewer?a=v&amp;q=cache:Ap6RjMbT3ewJ:www.mfi-training.com/forum/paper/SIM%26Salsa.pdf+http://www.mfi-training.com/forum/paper/SIM%26Salsa.pdf&amp;hl=en&amp;gl=us&amp;pid=bl&amp;srcid=ADGEESjJvGhESvO5Qmkla0uZDGOLNYsazd3fhABp3AWpgWKLK1HNHBqtySIjY5pZsXd66Q_1W4CwMihAJ_o4KwKl2yB2btLNylArHrQSj7XT1reOwW4q1ZvOIy2wA23Ipksyng7-btE8&amp;sig=AHIEtbSx4iNgJRQaSvaE3PYEF-_lRjbtkQ" >quick view</a>) demonstrates how the ICCID is directly linked to the <a href="http://en.wikipedia.org/wiki/International_Mobile_Subscriber_Identity" >IMSI</a>.</p>
<p>AT&amp;T SIM cards have a 20-digit ICCID, and the IMSI is 15 digits long.</p>
<p>The iPad ICCIDs all seem to <a href="http://gawker.com/5559346/apples-worst-security-breach-114000-ipad-owners-exposed" >begin with 8901410424</a> and followed by 9 important digits and then a single checksum digit. For example <code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;">8901410424<strong><span style="text-decoration: underline;" >012345678</span></strong>1</code>.</p>
<p>An AT&amp;T IMSI is 15 digits, made up with the MCC (310), MNC (170) and the 9 underlined digits preceding the checksum in the ICCID. So if your ICCID was <code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;">8901410424<span style="text-decoration: underline;" >012345678</span>1</code> as in the example above, your IMSI would be <code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;">310170<span style="text-decoration: underline;" >012345678</span></code>.</p>
<p>You can <a href="http://support.apple.com/kb/HT4061" >find your ICCID</a> on your iPad by opening Settings, choosing General and then About.</p>
<h2  style="font-size: 1.6em; margin: 20px 0 0;font-size: 1.6em; margin: 20px 0 0;">Why is the IMSI Important?</h2>
<p>Each device has a unique IMSI, and the IMSI is considered sensitive enough that it&#039;s rarely sent over the wireless network. Even the name &#8211; International Mobile Subscriber Identity &#8211; implies that it is something that shouldn&#039;t be shared freely.</p>
<p>The IMSI is also one of two pieces of information needed to clone a SIM card, the other being the K<sup>i</sup>, or <a href="http://en.wikipedia.org/wiki/Subscriber_Identity_Module#Authentication_key_.28Ki.29" >subscriber authentication key</a>. Fortunately the K<sup>i</sup> can only be retrieved with physical access to the SIM card.</p>
<p>But, knowing who a specific IMSI belongs to, for instance someone at the <a href="http://www.washingtonpost.com/wp-dyn/content/article/2010/06/07/AR2010060701140.html" >White House</a>, allows an attacker target a specific user. Using technology like an <a href="http://en.wikipedia.org/wiki/IMSI-catcher" >IMSI catcher</a> an attacker can insert their own device between a target and the carrier network and monitor data or voice conversations. There are a number of flaws in GSM that I assume could also be exploited relatively easily by someone &#8211; like a foreign government &#8211; with the <a href="http://www.wired.com/threatlevel/2010/01/operation-aurora/" >proper resources and motivation</a>.</p>
<p>AT&amp;T is downplaying their own incompetence at securing customer information, and is putting customers at risk. Customers who are newsworthy in their own right. Even if the information on the iPad isn&#039;t sensitive, it can <a href="http://www.zdnet.com/blog/security/pwn2own-2010-iphone-hacked-sms-database-hijacked/5836" >easily be compromised</a> and used as an attack vector onto a previously inaccessible corporate wifi network.</p>
<p>Perhaps AT&amp;T feels that is not a real risk? The latest jailbreak is a userland jailbreak and it&#039;s not inconceivable that it could be adapted to work in Mobile Safari. The first iPhone was able to be jailbroken simply by visiting a special website. And <a href="http://en.wikipedia.org/wiki/Dave_Aitel" >Dave Aitel</a> has been selling <a href="http://www.immunityinc.com/products-silica.shtml" >Silica</a> since <a href="http://www.eweek.com/index2.php?option=content&amp;task=view&amp;id=15603&amp;pop=1&amp;hide_ads=1&amp;page=0&amp;hide_js=1" >2006</a>. One of the use cases Aitel would pitch for Silica was to mail it to a CEO and let it automatically hack anything it could find, beginning with wifi networks.</p>
<p>AT&amp;T needs to immediately and proactively issue all iPad 3G subscribers new SIM cards.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2010/06/14/att-downplays-critical-iccid-leak/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Battery Showdown &#8211; BlackBerry vs iPhone</title>
		<link>http://coreygilmore.com/blog/2010/05/05/battery-showdown-blackberry-vs-iphone/</link>
		<comments>http://coreygilmore.com/blog/2010/05/05/battery-showdown-blackberry-vs-iphone/#comments</comments>
		<pubDate>Thu, 06 May 2010 04:59:49 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Please don't sue me Michael Buffer]]></category>
		<category><![CDATA[RIM]]></category>
		<category><![CDATA[RUMBLE]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=1463</guid>
		<description><![CDATA[Fairly typical day, except that that I enabled phone service on the iPhone. This test was conducted with my usual rigorous standards, which means I happened to glance at my iPhone data usage around lunch, and ballparked the data transfer. The only thing I can be sure of is the quantity and duration of the [...]]]></description>
			<content:encoded><![CDATA[<p>Fairly typical day, except that that I enabled phone service on the iPhone.  This test was conducted with my usual rigorous standards, which means I happened to glance at my iPhone data usage around lunch, and ballparked the data transfer.  The only thing I can be sure of is the quantity and duration of the phone calls, and that I had them with me all day.  </p>
<p><strong>iPhone 3GS</strong>, brightness set to ~55%.  Wifi was enabled all day, 7:00 AM &#8211; 10:40 PM.  3G was enabled between 11:00 AM and 8:30 PM.  A single two-minute phone call was placed.  Roughly 11MB of data usage while on 3G (several web pages and Twitter using Tweetie).</p>
<p><strong>Final result: </strong>At 10:40 PM there was 26% remaining on the battery.</p>
<p><strong>BlackBerry Bold 9700</strong>, brightness set to auto. 3G and wifi enabled all day &#8211; 7:00 AM &#8211; 10:40 PM.  Multiple background apps &#8211; SocialScope (Twitter) and Twitter for BlackBerry, multiple web pages and push email for 5 different accounts (4 BIS, 1 BES). 5 phone calls were placed, lasting a total of around 70 minutes.</p>
<p><strong>Final result: </strong>At 10:40 PM there was 65% remaining on the battery.</p>
<blockquote  style="border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;"><p>Dear RIM,</p>
<p>Please shave 1-3mm off the thickness of my next device, I obviously don&#039;t need a replaceable battery<sup><a href="http://coreygilmore.com/blog/2010/05/05/battery-showdown-blackberry-vs-iphone/#footnote_0_1463"  id="identifier_0_1463"  class="footnote-link footnote-identifier-link"  title="Thanks to Alex for planting this statement in my mind" >1</a></sup>.</p>
<p>xoxo,<br/>
Corey</p></blockquote>
<p>Side note: I have replaceable batteries for the BlackBerry Tour/Storm/Storm2/8900, the BlackBerry Bold 9700, my Mifi, and the BlackBerry 8530.  I do not have any spare batteries for any of my Android devices, which would feel like trying to color coordinate my car with vehicles the rest of the highway.  The BlackBerry 9700 is the first device I&#039;ve ever owned where it takes significant effort to drain the battery (<20% remaining).  Enjoy the high caliber of writing I produce right before I fall asleep.</p>
<ol class="footnotes" ><li id="footnote_0_1463"  class="footnote" >Thanks to <a href="http://alexking.org/" >Alex</a> for planting this statement in my mind</li></ol>]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2010/05/05/battery-showdown-blackberry-vs-iphone/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Convert a SIM to Micro-SIM or a Micro-SIM to SIM</title>
		<link>http://coreygilmore.com/blog/2010/05/03/convert-a-sim-to-micro-sim-or-a-micro-sim-to-sim/</link>
		<comments>http://coreygilmore.com/blog/2010/05/03/convert-a-sim-to-micro-sim-or-a-micro-sim-to-sim/#comments</comments>
		<pubDate>Mon, 03 May 2010 17:00:50 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[AT&T]]></category>
		<category><![CDATA[Micro-SIM]]></category>
		<category><![CDATA[SIM]]></category>
		<category><![CDATA[T-Mobile]]></category>
		<category><![CDATA[TMO]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=1446</guid>
		<description><![CDATA[Shortly after the iPad announced that it only took Micro-SIMs I commented it looks like you trim down a normal SIM with scissors, and have it fit into a Micro-SIM slot. Looks like I was right, and TechRadar has a how-to guide for the SIM to Micro-SIM conversion. BGR has a few images of AT&#38;T&#039;s [...]]]></description>
			<content:encoded><![CDATA[<p>Shortly after the iPad announced that it only took Micro-SIMs I commented it looks like you trim down a normal SIM with scissors, and have it fit into a Micro-SIM slot.</p>
<p><a href="http://twitter.com/coreygilmore/status/8295203142" ><img border="1"  class="alignnone outline size-medium wp-image-1447"  title="Micro-SIM Tweet"  src="http://coreygilmore.com/uploads/2010/05/microsim-300x156.png"  alt=""  width="300"  height="156"     style="border: none;border:1px solid black;"/></a></p>
<p>Looks like I was right, and TechRadar has a <a href="http://www.techradar.com/news/computing/apple/how-to-make-your-own-ipad-micro-sim-681020" >how-to guide for the SIM to Micro-SIM conversion</a>. <a href="http://www.boygeniusreport.com/2010/04/29/att-gets-ready-for-your-ipad-new-iphone-with-micro-sims/" >BGR</a> has a few images of <a href="http://www.boygeniusreport.com/2010/04/29/att-gets-ready-for-your-ipad-new-iphone-with-micro-sims/" >AT&amp;T&#039;s new combo-SIMs</a>, and although the AT&amp;T Micro-SIM is a one-way street, <a href="http://microsim-shop.com/" >MicroSim Shop</a> sells a Micro-SIM (Mini-UICC) to SIM adapter for €5.99.</p>
<div id="attachment_1448"  class="wp-caption alignnone"     style="width: 310pxwidth: 310pxtext-align: center; padding-top: 4px; margin: 10px;text-align: center; padding-top: 4px; margin: 10px;"><a href="http://www.boygeniusreport.com/2010/04/29/att-gets-ready-for-your-ipad-new-iphone-with-micro-sims/" ><img hspace="0"  vspace="0"  class="size-medium wp-image-1448"  title="AT&amp;T Micro-SIM"  src="http://coreygilmore.com/uploads/2010/05/att-micro-sim-2-300x225.jpg"  alt=""  width="300"  height="225"     style="border: none;margin: 0; padding: 0; border: 0 none;"/></a><p class="wp-caption-text"   style="font: bold 11px/17px 'Lucida Grande'font: bold 11px/17px 'Lucida Grande''Lucida Sans Unicode''Lucida Sans Unicode'TahomaTahomaVerdanaVerdanasans-serif; font-weight:bold; color:#000; margin:0; padding:1px 4px 5px; font-style:italic;sans-serif; font-weight:bold; color:#000; margin:0; padding:1px 4px 5px; font-style:italic;">AT&amp;T SIM/Micro-SIM Combo Card</p></div>
<p>MicroSim Shop also has a guide for <a href="http://microsim-shop.com/making-your-own-microsim.html" >cutting a SIM down to size</a>, and some shots of the final product being used in one of their adapters.</p>
<div id="attachment_1452"  class="wp-caption alignnone"     style="width: 427pxwidth: 427pxtext-align: center; padding-top: 4px; margin: 10px;text-align: center; padding-top: 4px; margin: 10px;"><a href="http://microsim-shop.com/making-your-own-microsim.html" ><img hspace="0"  vspace="0"  class="size-full wp-image-1452"  title="Micro-SIM Adapter"  src="http://coreygilmore.com/uploads/2010/05/microsim-adapter.jpg"  alt=""  width="417"  height="274"     style="border: none;margin: 0; padding: 0; border: 0 none;"/></a><p class="wp-caption-text"   style="font: bold 11px/17px 'Lucida Grande'font: bold 11px/17px 'Lucida Grande''Lucida Sans Unicode''Lucida Sans Unicode'TahomaTahomaVerdanaVerdanasans-serif; font-weight:bold; color:#000; margin:0; padding:1px 4px 5px; font-style:italic;sans-serif; font-weight:bold; color:#000; margin:0; padding:1px 4px 5px; font-style:italic;">Micro-SIM Adapter and DIY Micro-SIM</p></div>
]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2010/05/03/convert-a-sim-to-micro-sim-or-a-micro-sim-to-sim/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Manipulate a plist from the command line</title>
		<link>http://coreygilmore.com/blog/2010/01/28/manipulate-a-plist-from-the-command-line/</link>
		<comments>http://coreygilmore.com/blog/2010/01/28/manipulate-a-plist-from-the-command-line/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 16:43:23 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=1338</guid>
		<description><![CDATA[Since OS X 10.5 a command called PlistBuddy has been available. It&#039;s useful for things like extracting the version number out of your Info.plist during a Run Script Build Phase. PlistBuddy wasn&#039;t in my existing path, I found it at /usr/libexec/PlistBuddy Example Usage /usr/libexec/PlistBuddy -c &#34;Print :CFBundleVersion&#34; Info.plist Outputs: 0.14, or whatever the value of [...]]]></description>
			<content:encoded><![CDATA[<p>Since OS X 10.5 a command called <a href="http://developer.apple.com/mac/library/DOCUMENTATION/Darwin/Reference/ManPages/man8/PlistBuddy.8.html" >PlistBuddy</a> has been available.</p>
<p>It&#039;s useful for things like extracting the version number out of your Info.plist during a <a href="http://developer.apple.com/iphone/library/documentation/DeveloperTools/Conceptual/XcodeBuildSystem/200-Build_Phases/bs_build_phases.html" >Run Script Build Phase</a>.</p>
<p>PlistBuddy wasn&#039;t in my existing path, I found it at <code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;">/usr/libexec/PlistBuddy</code></p>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">Example Usage</h3>

<div class="wp_syntax"   style="color: #100; border: 1px solid #ccc; padding-bottom:16px; overflow-x: auto; overflow: auto; overflow-y: hidden; width:100%; margin: 0 0 1.5em 0; font-size:9.5pt; line-height:1.1em;color: #100; border: 1px solid #ccc; padding-bottom:16px; overflow-x: auto; overflow: auto; overflow-y: hidden; width:100%; margin: 0 0 1.5em 0; font-size:9.5pt; line-height:1.1em;"><div class="code" ><pre class="text"     style="font-family:monospace;font-family:monospace;margin: 0; width: auto; float: none; clear: none; overflow: visible;margin: 0; width: auto; float: none; clear: none; overflow: visible;">/usr/libexec/PlistBuddy -c &quot;Print :CFBundleVersion&quot; Info.plist</pre></div></div>

<p>Outputs: 0.14, or whatever the value of the <em  style="font-style:italic;font-style:italic;">CFBundleVersion</em> key in Info.plist is.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2010/01/28/manipulate-a-plist-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone complaints versus Android complaints</title>
		<link>http://coreygilmore.com/blog/2010/01/14/iphone-complaints-versus-android-complaints/</link>
		<comments>http://coreygilmore.com/blog/2010/01/14/iphone-complaints-versus-android-complaints/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 06:06:36 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[UI/UX]]></category>
		<category><![CDATA[Droid]]></category>
		<category><![CDATA[RIM]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=1309</guid>
		<description><![CDATA[iPhone users complained about the lack of third-party apps, the lack of 3G, the lack of GPS, that the screen got greasy and that AT&#038;T&#039;s network sucked. Android users complain that they can&#039;t install the newest OS on their device, that Exchange sync doesn&#039;t work, that third-party applications crash, that Android Market is horrible, that [...]]]></description>
			<content:encoded><![CDATA[<p>iPhone users complained about the lack of third-party apps, the lack of 3G, the lack of GPS, that the screen got greasy and that AT&#038;T&#039;s network sucked.</p>
<p>Android users complain that they can&#039;t install the newest OS on their device, that Exchange sync doesn&#039;t work, that third-party applications crash, that Android Market is horrible, that core applications crash, that settings are obtuse and scattered, that it&#039;s awkward to use and uncomfortable to hold, and even though the browser uses WebKit, it sucks.</p>
<p>Two generations of phones later, and all of the current iPhones are capable of running the latest OS from Apple. Third-party apps exist, and for the most part don&#039;t crash.  Except for hardware differences (GPS, speakerphone, camera), most applications run on any of the 6 iPhone and iPod Touch devices.  Even the screen doesn&#039;t get greasy any more, and Apple introduced the word &#034;oleophobic&#034; into the vernacular.  The major failure is still AT&#038;T, who apparently uses frame-relay and microwave links for their backhaul.</p>
<p>Meanwhile the problem with Android devices lies much deeper. SDKs aren&#039;t released until weeks out after an OS release, resulting in masses of applications that aren&#039;t compatible with the new OS release (and with the newest device, as long as Google continues their new device, new OS trend). The Android Market is a mess &#8211; applications are being published that steal personal information, easily half of the apps are filled with comments to the tune of &#034;doesn&#039;t work on device XXXX&#034; or &#034;crashes immediately!&#034; because of the massive API changes occurring between OS releases and developers that lose interest after a single application.</p>
<p>Notification controls are non-existent &#8211; I have yet to find a way to shut my Droid up. Even if I go into every application and turn off all the sounds (and boy is that fun) and shut the phone off, for some reason the Motorola demon spawn will power itself back on and chirp at me.</p>
<p>And the browser. Oh the browser. Sure, it renders pages fine, but it&#039;s slow, and doesn&#039;t support multi-touch. The screen itself is capable of supporting multi-touch, just not the browser.  The free Dolphin Browser has tabs and multi-touch gestures, but shares another flaw with the bundled browser &#8211; animation speed.  Animations take much too long. Aim for about 200ms from start to finish. Any more than that and users will become impatient.  And after waiting 600ms for a pinch-to-zoom, impatient is accurate.</p>
<p>Apple has demonstrated that they listen to user complaints, or at least that they plan ahead well.  Most of the iPhone complaints were addressable with newer hardware, but the problem with Android is that Google seemed to want to take the exact opposite tact of Apple, and go for complete openness.  That&#039;s great, but it looks like they started by attacking standard UI controls and behavior.  Maybe they consider it a feature? <strong>ANDROID &#8211; where every app is so different it&#039;s like having 15 phones in one!</strong></p>
<p>Google needs to tighten up the operating system and address the sprawl of OS releases and devices quickly before they fall into the same trap that RIM is in &#8211; a nasty pit one where a developer has to build multiple versions of a single application to overcome massive feature disparity between OS releases<sup><a href="http://coreygilmore.com/blog/2010/01/14/iphone-complaints-versus-android-complaints/#footnote_0_1309"  id="identifier_0_1309"  class="footnote-link footnote-identifier-link"  title="Although in RIM&amp;#8217;s defense they&amp;#8217;re addressing this with OS 5.0 which has a unified codebase. If only the carriers would get off their asses and approve the 5.0 updates." >1</a></sup>.</p>
<ol class="footnotes" ><li id="footnote_0_1309"  class="footnote" >Although in RIM&#039;s defense they&#039;re addressing this with OS 5.0 which has a unified codebase. If only the carriers would get off their asses and approve the 5.0 updates.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2010/01/14/iphone-complaints-versus-android-complaints/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Your mobile site is a joke, and your web developers suck</title>
		<link>http://coreygilmore.com/blog/2009/11/18/your-mobile-site-is-a-joke-and-your-web-developers-suck/</link>
		<comments>http://coreygilmore.com/blog/2009/11/18/your-mobile-site-is-a-joke-and-your-web-developers-suck/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 06:05:23 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=1265</guid>
		<description><![CDATA[I love when someone has the same issues I do, but takes the time to write about them.  Steve describes some of the different ways that sites detect mobile browsers, and then turn successful browser detection into instant hatred. I&#039;m not saying that Steve is verbose, but the post I&#039;ve drafted a few hundred times [...]]]></description>
			<content:encoded><![CDATA[<p>I love when someone has the same issues I do, but takes the time to write about them.  Steve describes some of the <a href="http://redmonk.com/sogrady/2009/11/09/worst-practices-in-mobile-mobile-redirection/" >different ways that sites detect mobile browsers</a>, and then turn successful browser detection into instant hatred.</p>
<p>I&#039;m not saying that Steve is verbose, but the post I&#039;ve drafted a few hundred times in my head goes something like this: if you are going to sniff for mobile browsers, redirect me to the mobile version of the page I am loading, not your brokedick mobile homepage that doesn&#039;t provide me with any path to the story I actually want to read.</p>
<p><a href="http://redmonk.com/sogrady/2009/11/09/worst-practices-in-mobile-mobile-redirection/" >Steve&#039;s post</a> clocks in at around 730 words (and 5 pictures), but it&#039;s worth the read.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2009/11/18/your-mobile-site-is-a-joke-and-your-web-developers-suck/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Apple treats all iPhone developers equally &#8211; like crap</title>
		<link>http://coreygilmore.com/blog/2009/07/23/apple-treats-all-iphone-developers-equally-like-crap/</link>
		<comments>http://coreygilmore.com/blog/2009/07/23/apple-treats-all-iphone-developers-equally-like-crap/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 23:06:49 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[App Store]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Latitude]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=1184</guid>
		<description><![CDATA[Today Google released Google Latitude for the iPhone, something BlackBerry and Android users have been enjoying for quite some time. One paragraph in particular jumped out at me, emphasis mine: We worked closely with Apple to bring Latitude to the iPhone in a way Apple thought would be best for iPhone users. After we developed [...]]]></description>
			<content:encoded><![CDATA[<p>Today Google released <a href="http://googlemobile.blogspot.com/2009/07/google-latitude-now-for-iphone.html" >Google Latitude for the iPhone</a>, something BlackBerry and Android users have been enjoying for quite some time.</p>
<p>One paragraph in particular jumped out at me, emphasis mine:</p>
<blockquote  style="border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;"><p>We worked closely with Apple to bring Latitude to the iPhone in a way Apple thought would be best for iPhone users. <strong><span style="text-decoration: underline;" ><strong>After</strong></span> we developed a Latitude application for the iPhone, Apple requested we release Latitude as a web application </strong>in order to avoid confusion with Maps on the iPhone, which uses Google to serve maps tiles.</p></blockquote>
<p>So Google was working &#034;closely&#034; with Apple, built a native iPhone application<sup><a href="http://coreygilmore.com/blog/2009/07/23/apple-treats-all-iphone-developers-equally-like-crap/#footnote_0_1184"  id="identifier_0_1184"  class="footnote-link footnote-identifier-link"  title="I&amp;#8217;d love to see a build of this leaked out so jailbreak users could run it" >1</a></sup> for <a href="http://www.google.com/latitude/" >Latitude</a>, and then Apple essentially rejected it and told them to build a web application.  Isn&#039;t building an entire application only to have it wholly rejected one of the leading complaints about the nightmarish <a href="http://www.google.com/search?hl=en&amp;q=app+store+approval+process+sucks" >App Store approval process</a>?</p>
<ol class="footnotes" ><li id="footnote_0_1184"  class="footnote" >I&#039;d love to see a build of this <a href="http://coreygilmore.com/contact/" >leaked out</a> so jailbreak users could run it</li></ol>]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2009/07/23/apple-treats-all-iphone-developers-equally-like-crap/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why carriers shouldn&#039;t control OS distribution</title>
		<link>http://coreygilmore.com/blog/2009/06/25/why-carriers-shouldnt-control-os-distribution/</link>
		<comments>http://coreygilmore.com/blog/2009/06/25/why-carriers-shouldnt-control-os-distribution/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 16:26:50 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=1115</guid>
		<description><![CDATA[Paul Haddad from Tapbots writes about the iPhone OS 3.0 adoption rate he&#039;s seen among his users.  Granted it&#039;s a relatively small sample size based on request headers from 3500 unique requests per day, but it shows the benefits of having the handset manufacturer also controlling the distribution of the OS to end-users. From Tapbots: [...]]]></description>
			<content:encoded><![CDATA[<p>Paul Haddad from <a href="http://tapbots.com/" >Tapbots</a> writes about the <a href="http://tapbots.com/blog/news/iphone-os-30-adoption-rate" >iPhone OS 3.0 adoption rate</a> he&#039;s seen among his users.  Granted it&#039;s a relatively small sample size based on request headers from 3500 unique requests per day, but it shows the benefits of having the handset manufacturer also controlling the distribution of the OS to end-users.</p>
<p><a href="http://tapbots.com/blog/news/iphone-os-30-adoption-rate" ><img class="alignnone size-full wp-image-1117"  title="Tapbots - iPhone OS 3.0 adoption rate"  src="http://coreygilmore.com/uploads/2009/06/tapbots-iphone-301.png"  alt="Tapbots - iPhone OS 3.0 adoption rate"  width="652"  height="357"   style="border: none;"/></a><br/>
<strong style="font-size:10px;" >From Tapbots: Percentage of users running a given OS.  x-axis is days in the month of June.</strong></p>
<p>Look at the abuse that BlackBerry users take at the hands of carriers, especially Verizon. It took Verizon <strong>175 days</strong> to release an update for the Storm, and even then it came out 33 days <em  style="font-style:italic;font-style:italic;">after</em> the OS was leaked and unofficially made available.<img border="1"  class="outline alignnone size-full wp-image-1118"  title="9530 OS Releases"  src="http://coreygilmore.com/uploads/2009/06/9530-os-releases.png"  alt="9530 OS Releases"  width="654"  height="361"   style="border:1px solid black;"/><br/>
<strong style="font-size: 10px;" >BlackBerry 9530 OS Releases</strong></p>
<p>Just as Apple only has to worry about a relatively small number of drivers for their desktop OS, they only have 5 device models running their mobile OS.  RIM currently has 4-5 that number on GSM, CDMA and IDEN (more on that later), <em  style="font-style:italic;font-style:italic;">and</em> they are dependent on the carriers to certify and and make an OS update available.</p>
<p>But why should the carriers bother to issue OS updates? Most users are under contract, so the only entity that has something to lose is RIM<sup><a href="http://coreygilmore.com/blog/2009/06/25/why-carriers-shouldnt-control-os-distribution/#footnote_0_1115"  id="identifier_0_1115"  class="footnote-link footnote-identifier-link"  title="More on this later too" >1</a></sup> &#8211; mostly in the form of negative publicity.</p>
<ol class="footnotes" ><li id="footnote_0_1115"  class="footnote" >More on this later too</li></ol>]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2009/06/25/why-carriers-shouldnt-control-os-distribution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploying tokens to the RSA SecurID iPhone Application</title>
		<link>http://coreygilmore.com/blog/2009/06/10/deploying-tokens-to-the-rsa-securid-iphone-application/</link>
		<comments>http://coreygilmore.com/blog/2009/06/10/deploying-tokens-to-the-rsa-securid-iphone-application/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 19:41:06 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[RSA]]></category>
		<category><![CDATA[SecurID]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=1051</guid>
		<description><![CDATA[OK, so you&#039;ve got the SecurID soft token app installed on your iPhone, but now what? Installing a token isn&#039;t as simple as it is on the BlackBerry. One method is to use the RSA Authentication Manager to generate CT-KIP URLs which can be sent to the end-users. You can read more about this from [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so you&#039;ve got the <a href="http://coreygilmore.com/blog/2009/06/10/rsa-securid-soft-token-client-for-the-iphone" >SecurID soft token app installed on your iPhone</a>, but now what?  Installing a token isn&#039;t as simple as it is on the <a href="http://coreygilmore.com/blog/2008/07/11/pushing-securid-tokens-to-a-blackberry/" >BlackBerry</a>.</p>
<p>One method is to use the RSA Authentication Manager to generate CT-KIP URLs which can be sent to the end-users.  You can read more about this from the <a href="http://rsa.com/iphone" >RSA iPhone page</a> after downloading the <a href="https://www.rsa.com/go/webforms/index.asp?ID=Web_iPhone_Sftwre_Token_Dwnld_ongoing" >documentation and device definition file</a>.</p>
<p>My preference is to use the Compressed Token Format (CTF) which will compress a .sdtid soft token file into an 81-digit string.</p>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">Clarification</h3>
<p>I don&#039;t want there to be any confusion about the intent of this post &#8211; I&#039;m demonstrating one possible way to install a token on your device without involving an administrator.  In most cases your ACE administrator will probably be willing to assist you with the installation of a token, and none of this will be necessary.</p>
<h2  style="font-size: 1.6em; margin: 20px 0 0;font-size: 1.6em; margin: 20px 0 0;">Preparing the Token</h2>
<p>You can use the <a href="https://www.rsasecurity.com/go/webforms/index.asp?ID=Web_Toolbar_Token_Converter_Ongoing" >Token Converter application</a> from RSA, or the <a href="https://coreygilmore.com/projects/rsa-securid-iphone-compressed-token-format-ctf-converter/" >web-based token converter</a> on my <a href="http://coreygilmore.com/projects/" >projects</a> page.  Paste the contents of your .sdtid file into the form, supply your password if it requires one and create the CTF link.</p>
<h2  style="font-size: 1.6em; margin: 20px 0 0;font-size: 1.6em; margin: 20px 0 0;">Distributing the CTF SecurID Token</h2>
<p>You can email links to the CTF token file or link to an HTML page containing the link.  Both work, although the current version (1.0.5) of the RSA SecurID iPhone Application is overly sensitive to malformed links.  Sending an HTML email from Outlook will generate a malformed link, but as Phil noted in the comments composing a message in RTF format containing the link will work.</p>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">Malformed Links</h3>
<p><strong>Correct:</strong> <code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;">com.rsa.securid.iphone://ctf?...</code><br/>
<strong>Malformed:</strong> <code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;"><span style="color: #3d3d3d;" >com.rsa.securid.iphone://ctf</span><strong><span style="color: #ff6600;" >/</span></strong><span style="color: #3d3d3d;" >?....</span></code></p>
<p>If you are going to email the link make sure that it doesn&#039;t append the extra trailing slash after <em  style="font-style:italic;font-style:italic;">ctf</em>.  Do not use Outlook to send the email in HTML format as it always appends the extra slash &#8211; compose a RTF message instead.</p>
<p>You may need to change your Outlook options to retain RTF emails when sending to internet recipients.  In Outlook open Options &gt; Mail Format &gt; Internet Format. Under &#034;When sending Outlook Rich Text messages to Internet recipients, use this format:&#034; change the option to &#034;Send using Outlook Rich Text format&#034;.</p>
<p><a href="http://coreygilmore.com/uploads/2009/06/internet_format.png"  rel="lightbox[1051]" ><img class="alignnone size-full wp-image-1087"  title="Outlook - Send using RTF"  src="http://coreygilmore.com/uploads/2009/06/internet_format.png"  alt="Outlook - Send using RTF"  width="142"  height="118"   style="border: none;"/></a></p>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">Emailing the CTF Link</h3>
<p>For iPhone users running OS 2.x you can compose a plain text message with the CTF link (com.rsa.securid.iphone://ctf?ctfData=&lt;token&gt;) between angle brackets.</p>
<div class="wp_syntax"   style="color: #100; border: 1px solid #ccc; padding-bottom:16px; overflow-x: auto; overflow: auto; overflow-y: hidden; width:100%; margin: 0 0 1.5em 0; font-size:9.5pt; line-height:1.1em;color: #100; border: 1px solid #ccc; padding-bottom:16px; overflow-x: auto; overflow: auto; overflow-y: hidden; width:100%; margin: 0 0 1.5em 0; font-size:9.5pt; line-height:1.1em;">
<div class="code" >&lt;com.rsa.securid.iphone://ctf?ctfData=200010059123075173498074908439042057320570235870932850239850433809854092834893835&gt;</div>
</div>
<p>This will only work with OS 2.x, and not with the GM release of  OS 3.0.</p>
<p>For all users running OS 2.x and OS 3.x you can send an HTML-formatted email with a hyperlink to the CTF URL, like <a href="com.rsa.securid.iphone://ctf?ctfData=200010059123075173498074908439042057320570235870932850239850433809854092834893835" >Click here to install Token</a>.  As mentioned above this will <strong>NOT</strong> work with Outlook, which adds an extra forward slash that the SecurID application cannot understand.</p>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">Linking to a page containing a CTF Link</h3>
<p>The third option is to use Mobile Safari to open a web page containing a hyperlink to the CTF URL.  You can put this page somewhere on your own servers, or use my <a href="https://coreygilmore.com/rsa/" >RSA CTF Hyperlink Generator</a> to dynamically build these links. Opening <code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;">http://coreygilmore.com/rsa/&lt;CTF&gt;</code> will automatically  display an iPhone-ready hyperlink  to install the token.  <a href="http://coreygilmore.com/rsa/200010059123075173498074908439042057320570235870932850239850433809854092834893835/" >View a sample page</a>.</p>
<h2  style="font-size: 1.6em; margin: 20px 0 0;font-size: 1.6em; margin: 20px 0 0;">Resources</h2>
<ul>
<li><a href="https://www.rsasecurity.com/go/webforms/index.asp?ID=Web_Toolbar_Token_Converter_Ongoing" >RSA Token Converter</a> &#8211; generate CTF links offline.</li>
<li><a href="https://coreygilmore.com/projects/rsa-securid-iphone-compressed-token-format-ctf-converter/" >Web-based token converter</a> &#8211; generate CTF links from a webpage.</li>
<li><a href="http://rsa.com/iphone" >RSA iPhone Resources page</a> &#8211; Documentation and technical specs for the app and support utilities.</li>
<li><a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=318038618&amp;mt=8&amp;s=143441" >RSA iPhone SecurID Application for the iPhone</a> &#8211; iTunes link to the soft token application.</li>
<li><a href="https://coreygilmore.com/rsa/" >CTF Hyperlink Generator</a> &#8211; Dynamically generate a webpage with CTF links, viewable from Mobile Safari.</li>
<li><a href="http://coreygilmore.com/blog/2008/07/29/cisco-vpn-connections-from-an-iphone/" >Cisco VPN Connections from an iPhone</a> &#8211; How to create an IPSEC VPN connection on the iPhone.</li>
</ul>
<p><strong>Updated 6/18/09:</strong> Added information about composing Outlook RTF emails to successfully send token installation links, brief clarification about the intent of this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2009/06/10/deploying-tokens-to-the-rsa-securid-iphone-application/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
		</item>
		<item>
		<title>RSA SecurID Soft Token client for the iPhone</title>
		<link>http://coreygilmore.com/blog/2009/06/10/rsa-securid-soft-token-client-for-the-iphone/</link>
		<comments>http://coreygilmore.com/blog/2009/06/10/rsa-securid-soft-token-client-for-the-iphone/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 19:41:01 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[RSA]]></category>
		<category><![CDATA[SecurID]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=1031</guid>
		<description><![CDATA[On Monday RSA launched a soft-token application for the iPhone. Similar to the BlackBerry soft token application, this will store a single token and allow you to generate a one-time password. You can download the RSA iPhone SecurID application from iTunes (ITMS link) and read more about it on the RSA site at http://rsa.com/iphone. Screenshots [...]]]></description>
			<content:encoded><![CDATA[<p><img hspace="7"  vspace="2"  align="right"  class="size-full wp-image-1042 alignright"  title="RSA iPhone Soft Token"  src="http://coreygilmore.com/uploads/2009/06/rsa-thumb.gif"  alt="RSA iPhone Soft Token"  width="94"  height="94"     style="padding: 4px; margin: 0 0 2px 7px; display: inline;float: right;"/></p>
<p>On Monday RSA launched a soft-token application for the iPhone.  Similar to the <a href="http://coreygilmore.com/blog/2008/07/11/pushing-securid-tokens-to-a-blackberry/" >BlackBerry soft token</a> application, this will store a single token and allow you to generate a one-time password.</p>
<p>You can download the RSA iPhone SecurID application from <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=318038618&amp;mt=8&amp;s=143441" >iTunes</a> (ITMS link) and read more about it on the RSA site at <a href="http://rsa.com/iphone" >http://rsa.com/iphone</a>.</p>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">Screenshots</h3>
<p><a href="http://coreygilmore.com/uploads/2009/06/enter_pin.jpg"  rel="lightbox[1031]" ><img class="alignnone size-medium wp-image-1046"  title="RSA iPhone SecurID Application - Enter PIN"  src="http://coreygilmore.com/uploads/2009/06/enter_pin-200x300.jpg"  alt="RSA iPhone SecurID Application - Enter PIN"  width="200"  height="300"   style="border: none;"/></a> <a href="http://coreygilmore.com/uploads/2009/06/token.jpg"  rel="lightbox[1031]" ><img class="alignnone size-medium wp-image-1043"  title="RSA iPhone SecurID Application - Token Information"  src="http://coreygilmore.com/uploads/2009/06/token-200x300.jpg"  alt="RSA iPhone SecurID Application - Token Information"  width="200"  height="300"   style="border: none;"/></a> <a href="http://coreygilmore.com/uploads/2009/06/otp.jpg"  rel="lightbox[1031]" ><img class="alignnone size-medium wp-image-1048"  title="RSA iPhone SecurID Application - Passcode"  src="http://coreygilmore.com/uploads/2009/06/otp-200x300.jpg"  alt="RSA iPhone SecurID Application - Passcode"  width="200"  height="300"   style="border: none;"/></a></p>
<h2  style="font-size: 1.6em; margin: 20px 0 0;font-size: 1.6em; margin: 20px 0 0;">Installation</h2>
<p>Read <a href="http://coreygilmore.com/blog/2009/06/10/deploying-tokens-to-the-rsa-securid-iphone-application" >Deploying tokens to the RSA SecurID iPhone Application</a> for a rundown of the various deployment and provisioning options.</p>
<p><strong>Updated June 16, 2009</strong>: Misread documentation; the application will only store <em  style="font-style:italic;font-style:italic;">one</em> token.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2009/06/10/rsa-securid-soft-token-client-for-the-iphone/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The App Store is full of sex</title>
		<link>http://coreygilmore.com/blog/2009/05/22/the-app-store-is-full-of-sex/</link>
		<comments>http://coreygilmore.com/blog/2009/05/22/the-app-store-is-full-of-sex/#comments</comments>
		<pubDate>Fri, 22 May 2009 17:00:22 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[App Store]]></category>
		<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=973</guid>
		<description><![CDATA[Eucalyptus is $9.99 book reading app that was rejected by Apple because you could search for objectionable content. I suspect that no-one at Apple knows how genuinely torturous the app store approval process is for developers personally after a rejection. When they hold the key to the only distribution pipe for something you’ve spent a [...]]]></description>
			<content:encoded><![CDATA[<p>Eucalyptus is $9.99 book reading app that was <a href="http://www.blog.montgomerie.net/whither-eucalyptus" >rejected by Apple</a> because you could search for objectionable content.</p>
<blockquote  style="border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;"><p>I suspect that no-one at Apple knows how genuinely torturous the app store approval process is for developers personally after a rejection. When they hold the key to the only distribution pipe for something you’ve spent a lot of your time on &#8211; in my case a year &#8211; something you’re hoping could provide you with a livelihood &#8211; and polite email enquiries are not replied to &#8211; not even with an autoresponder, it is extremely frustrating. I don’t think I’ve ever felt as powerless in my life (and I’ve had to deal with US immigration authorities…).</p></blockquote>
<p>I suspect quite a few people at Apple know what a nightmare the App Store approval process is, but I doubt a single one of them is in a position to do anything about it.  Apple Inc. is no more likely to publicly acknowledge a problem than the Catholic church, and the App Store approval process <span style="text-decoration: line-through;" >is Apple&#039;s abortion</span> is sure to be a sensitive topic.</p>
<p>When the basis of approval is subjective, you need talented, intelligent and rational people making decisions and passing jdugement.  Good luck finding that combination in someone who is willing to earn $30k/year to run iPhone apps all day searching for boob pictures or profanity.</p>
<h2  style="font-size: 1.6em; margin: 20px 0 0;font-size: 1.6em; margin: 20px 0 0;">Objectionable Content</h2>
<p>For your enjoyment, here are a few of the titillating terms that Apple objected to.  I&#039;ve no doubt that by posting this text my site will be masturbation fodder for teens everywhere.</p>
<ul>
<li><strong>Auparishtaka or mouth congress</strong> &#8211; Another way of saying fellatio, but I can see how the term mouth congress is totally hot.</li>
<li><strong>Lingam</strong> &#8211; Penis.  It&#039;s about time someone came up with a non-scientific way to refer to the male genitalia.</li>
<li><strong>Yoni</strong> &#8211; Vaginia &#8211; definitely the most offensive 4-letter word you can use to describe one.</li>
</ul>
<h2  style="font-size: 1.6em; margin: 20px 0 0;font-size: 1.6em; margin: 20px 0 0;">Fill in the Blanks</h2>
<p>Sometimes it&#039;s what is left out that counts.  See if you can guess what the missing words are.</p>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">Assets</h3>
<p>I&#039;ve removed three words from the following paragraph.</p>
<blockquote  style="border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;"><p>The qualities of good <span class="ks1-1" >______</span>(1.1) are that they should be bright, well set, clean, entire, convex, soft, and <span class="ks1-2" >______</span>(1.2) in appearance. <span class="ks1-1" >______</span>(1.1) are of three kinds according to their size:</p>
<p>Small<br/>
Middling<br/>
Large</p>
<p>Large <span class="ks1-1" >______</span>(1.1), which give grace to the <span class="ks1-3" >______</span>(1.3), and attract the hearts of women from their appearance, are possessed by the Bengalees.</p></blockquote>
<h4  style="font-size: 1.2em; margin: 20px 0 0;font-size: 1.2em; margin: 20px 0 0;">Good Qualities</h4>
<p>5 words this time, have at it.</p>
<blockquote  style="border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;"><p>The qualities of good  <span class="ks2-1" >______</span>(2.1) are as follows: They should be equal, possessed of a pleasing brightness, capable of being <span class="ks2-2" >______</span>(2.2), of proper proportions, <span class="ks2-3" >______</span>(2.3), and with <span class="ks2-4" >______</span>(2.4) ends.</p>
<p>The defects of <span class="ks2-1" >______</span>(2.1) on the other hand are that they are blunt, protruding from the <span class="ks2-5" >______</span>(2.5), rough, soft, large, and loosely set.</p></blockquote>
<p>There you have it.  Smut! Pornography!  It&#039;s obvious that this needs to be kept out of the hands of young children, so they can safely peruse Google Images with their morality intact.<br/>
a<br/>
<noscript>Answers after the jump.</noscript></p>
<p><span id="more-973" ></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">Answers</h3>
<p><a href="javascript:showAnswers();void(0);" >Fill in the blanks</a> or use your imagination.<br/>
<strong>Assets<br/>
</strong>1.1: nails<br/>
1.2: glossy<br/>
1.3: hands</p>
<p><strong>Good Qualities</strong><br/>
2.1: teeth<br/>
2.2: coloured<br/>
2.3: unbroken<br/>
2.4: sharp<br/>
2.5: gums</p>
<pre>
<script type="text/javascript" >
function showAnswers() {
	var answers = {
		"1-1": "nails",
		"1-2": "glossy",
		"1-3": "hands",
		"2-1": "teeth",
		"2-2": "coloured",
		"2-3": "unbroken",
		"2-4": "sharp",
		"2-5": "gums"
	};
	for( var k in answers ) {
		jQuery("div.entry span.ks"+k).html(unescape("%3Cu%3E")+answers[k]+unescape("%3C/u%3E"));
	}
}
</script>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2009/05/22/the-app-store-is-full-of-sex/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I told you AT&amp;T sucked&#8230;</title>
		<link>http://coreygilmore.com/blog/2009/01/04/i-told-you-att-sucked/</link>
		<comments>http://coreygilmore.com/blog/2009/01/04/i-told-you-att-sucked/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 02:15:58 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[AT&T]]></category>
		<category><![CDATA[Verizon]]></category>
		<category><![CDATA[WHAT? I CAN'T HEAR YOU! HELLO?]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=613</guid>
		<description><![CDATA[I said it near the end of August, now there&#039;s a slightly more official story confirming AT&#38;T&#039;s shitty actions. From the article: In an act affecting owners of 2G cell phones on AT&#38;T Mobility’s network, including the highly visible, and originally highly expensive first generation iPhone, Open for Business has learned that AT&#38;T has been [...]]]></description>
			<content:encoded><![CDATA[<p>I <a href="http://twitter.com/coreygilmore/status/897888953" >said it</a> near the end of August, now there&#039;s a slightly more <a href="http://www.ofb.biz/safari/article/512.html" >official story</a> confirming AT&amp;T&#039;s shitty actions.</p>
<p><a href="http://twitter.com/coreygilmore/status/897888953" ><img class="alignnone size-full wp-image-614"  title="AT&amp;T siphoning EDGE bandwidth for 3G"  src="http://coreygilmore.com/wp-content/uploads/2009/01/siphon.png"  alt=""  width="436"  height="200"   style="border: none;"/></a></p>
<p>From <a href="http://www.ofb.biz/safari/article/512.html" >the article</a>:</p>
<blockquote  style="border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;"><p>In an act affecting owners of 2G cell phones on AT&amp;T Mobility’s network, including the highly visible, and originally highly expensive first generation iPhone, Open for Business has learned that AT&amp;T has been quietly sacrificing 2G signal strength in an effort to speed up the build out of its next generation 3G network.</p></blockquote>
<p>Consider my horn tooted.</p>
<p><strong>UPDATE:</strong> <a href="http://www.boygeniusreport.com/2009/01/04/att-downgrades-2g-service-effectively-telling-you-to-upgrade/" >BGR</a> picked up the original story and Ronen over at <a href="http://www.berryreview.com/2009/01/05/is-att-moving-2g-service-to-the-1900mhz-band/" >BerryReview</a> has noticed 3G coverage where he didn&#039;t have it previously.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2009/01/04/i-told-you-att-sucked/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Recovering a corrupt iTunes DB on an iPhone</title>
		<link>http://coreygilmore.com/blog/2009/01/01/recovering-a-corrupt-itunes-db-on-an-iphone/</link>
		<comments>http://coreygilmore.com/blog/2009/01/01/recovering-a-corrupt-itunes-db-on-an-iphone/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 17:59:12 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Cydia]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[jailbreak]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=603</guid>
		<description><![CDATA[The past week has been a rough one for all of my technology products.  My MacBook Pro hard drive died, my tablet pc pen had a speck of crushed diamond or something equally hard that lead to a big gouge on the screen, half of my RAID mirror died on my development machine and some [...]]]></description>
			<content:encoded><![CDATA[<p>The past week has been a rough one for all of my technology products.  My MacBook Pro hard drive died, my tablet pc pen had a speck of crushed diamond or something equally hard that lead to a big gouge on the screen, half of my RAID mirror died on my development machine and some crappy software corrupted the iTunes database on my iPhone.</p>
<p>Word to the wise: as of January 1, 2009 there is no software available that can update the iTunes database on an iPhone or iPod Touch running firmware 2.x.  Once the new hash for signing the database is reverse engineered this will be possible again, but until then be careful.  I discovered this the hard way while trying to add some movies to my iPhone while my MBP was out of commission.</p>
<p>When you connect your iPhone after using one of the crappier utilities (<a href="http://code.google.com/p/iphonebrowser/" >quality apps</a> tell you it&#039;s not possible) you&#039;ll be greeted with the following message:</p>
<blockquote  style="border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;"><p>iTunes cannot read the contents of the iPhone &#034;XXX&#034;. Go to the Summary tab in iPhone preferences and click Restore to restore.</p></blockquote>
<p>Restoring on a customized jailbroken iPhone is a bit of a pain; you need to reinstall all of your jailbroken apps, set your Winterboard theme, arrange all of your icons &#034;just so&#034;, etc.  It takes me about an hour to get everything just the way I like it, and I&#039;ve got most of the process scripted out now.</p>
<p>Your iTunes database is stored in <code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;">/private/var/mobile/Media/iTunes_Control/iTunes</code> and mine has the following files in it:</p>

<div class="wp_syntax"   style="color: #100; border: 1px solid #ccc; padding-bottom:16px; overflow-x: auto; overflow: auto; overflow-y: hidden; width:100%; margin: 0 0 1.5em 0; font-size:9.5pt; line-height:1.1em;color: #100; border: 1px solid #ccc; padding-bottom:16px; overflow-x: auto; overflow: auto; overflow-y: hidden; width:100%; margin: 0 0 1.5em 0; font-size:9.5pt; line-height:1.1em;"><div class="code" ><pre class="text"     style="font-family:monospace;font-family:monospace;margin: 0; width: auto; float: none; clear: none; overflow: visible;margin: 0; width: auto; float: none; clear: none; overflow: visible;">Extras.itdb
IC-Info.sidb
IC-Info.sidv
PhotosFolderAlbums
PhotosFolderName
PhotosFolderPrefs
Rentals.plist
Ringtones.plist
iPhotoAlbumPrefs
iTunesApplicationIDs
iTunesControl
iTunesDB
iTunesMovies
iTunesPrefs</pre></div></div>

<p>The suspect file was iTunesDB.  My first thought was just to remove (rename) the iTunes directory and see what happened.  Instead of an error I was prompted to configure a new iPhone or restore from backup.  No go.  When I refreshed the directory listing I saw that iTunes had re-created the iTunes directory.</p>
<p>I removed everything inside of the newly created <code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;">/private/var/mobile/Media/iTunes_Control/iTunes</code> directory <em  style="font-style:italic;font-style:italic;">except</em> iTunesDB and copied all of the files (except iTunesDB) from my backup directory, <code  style="display:inline; font: 1.1em 'Courier New'display:inline; font: 1.1em 'Courier New'CourierCourierFixed; padding:0 1px;Fixed; padding:0 1px;">/private/var/mobile/Media/iTunes_Control/iTunes-bad</code>.  Everything inside of the iTunes directory should be owned by user/group mobile/mobile and permissions set to 644.</p>

<div class="wp_syntax"   style="color: #100; border: 1px solid #ccc; padding-bottom:16px; overflow-x: auto; overflow: auto; overflow-y: hidden; width:100%; margin: 0 0 1.5em 0; font-size:9.5pt; line-height:1.1em;color: #100; border: 1px solid #ccc; padding-bottom:16px; overflow-x: auto; overflow: auto; overflow-y: hidden; width:100%; margin: 0 0 1.5em 0; font-size:9.5pt; line-height:1.1em;"><div class="code" ><pre class="sh"     style="font-family:monospace;font-family:monospace;margin: 0; width: auto; float: none; clear: none; overflow: visible;margin: 0; width: auto; float: none; clear: none; overflow: visible;">chmod -R 644 /private/var/mobile/Media/iTunes_Control/iTunes
chown -R mobile:mobile /private/var/mobile/Media/iTunes_Control/iTunes</pre></div></div>

<p>I plugged my iPhone in and iTunes happily recoginzed it, sans music.  Since it&#039;s a horrific music player (I love my touch wheel) I didn&#039;t care about this, my jailbreak configurationwas much more important.</p>
<p>You can download the <a href="http://coreygilmore.com/wp-content/uploads/2009/01/iTunesDB" >virgin iTunesDB file here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2009/01/01/recovering-a-corrupt-itunes-db-on-an-iphone/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Configure ActiveSync with a single Exchange server (Exchange sync for an iPhone)</title>
		<link>http://coreygilmore.com/blog/2008/08/05/configure-activesync-with-a-single-exchange-server-exchange-sync-for-an-iphone/</link>
		<comments>http://coreygilmore.com/blog/2008/08/05/configure-activesync-with-a-single-exchange-server-exchange-sync-for-an-iphone/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 03:55:54 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[ActiveSync]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[ISA]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=391</guid>
		<description><![CDATA[I recently picked up a first-generation iPhone from a friend and after playing around with it for a while I decided that I needed to have my email synchronized on it. For my business I run my BES, Exchange with RPC over HTTPS and ISA on a Server 2003 virtual machine, so my infrastructure was [...]]]></description>
			<content:encoded><![CDATA[<p>I recently picked up a first-generation iPhone from a friend and after playing around with it for a while I decided that I needed to have my email synchronized on it.  For my business I run my BES, Exchange with RPC over HTTPS and ISA on a Server 2003 virtual machine, so my infrastructure was almost ready.</p>
<p>Almost, but not quite.  A typical ActiveSync deployment consists of a front-end Exchange server, an ISA server and a second Exchange server.  I&#039;ve only got a single VM (more for convenience than anything else), so I had to make a few changes.</p>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">Assumptions</h3>
<p>I&#039;m assuming that you&#039;ve got Exchange and ISA working, either on a single box or two individual servers.  You also have a valid SSL certificate and port 443 is open.</p>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">Exchange Configuration</h3>
<h4  style="font-size: 1.2em; margin: 20px 0 0;font-size: 1.2em; margin: 20px 0 0;">Enable ActiveSync</h4>
<p>Open the Exchange System Manager (ESM) and expand the Global Settings tree.  Right click on Mobile Service, choose Properties and ensure that the ActiveSync options are all checked.</p>
<p><img class="alignnone size-full wp-image-380"  title="ESM - Mobile Services"  src="http://coreygilmore.com/wp-content/uploads/2008/08/mobile-services.png"  alt=""  width="405"  height="365" /></p>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">IIS Configuration</h3>
<p class="title" >These steps are identical to the ones in <a href="http://support.microsoft.com/?id=817379" >Microsoft KB 817379</a> &#8211; Exchange ActiveSync and Outlook Mobile Access errors occur when SSL or forms-based authentication is required for Exchange Server 2003.</p>
<ol>
<li>Start Internet Information Services (IIS) Manager.</li>
<li>Locate the Exchange virtual directory. The default location is as follows:</li>
<li>
<pre>Web Sites\Default Web Site\Exchange</pre>
</li>
<li>Right-click the Exchange virtual directory, click <strong>All Tasks</strong>, and then click <strong>Save Configuration to a File</strong>.<br/>
<img class="alignnone size-full wp-image-377"  title="IIS - Save Configuration to a File"  src="http://coreygilmore.com/wp-content/uploads/2008/08/export-config.png"  alt=""  width="466"  height="185" /></li>
<li>In the <strong>File name</strong> box, type a name. For example, type <em  style="font-style:italic;font-style:italic;">ExchangeVDir</em>. Click <strong>OK</strong>.</li>
<li>Right-click the root of this Web site. Typically, this is Default Web Site. Click <strong>New</strong>, and then click <strong>Virtual Directory (from file)</strong>.<br/>
<img class="alignnone size-full wp-image-378"  title="IIS - New Virtual Directory from File"  src="http://coreygilmore.com/wp-content/uploads/2008/08/import-config.png"  alt=""  width="402"  height="226" /></li>
<li>In the <strong>Import Configuration </strong> dialog box, click <strong>Browse</strong>, locate the file that you created in step 4, click <strong>Open</strong>, and then click <strong>Read File</strong>.</li>
<li>Under <strong>Select a configuration to import</strong>, click <strong>Exchange</strong>, and then click <strong>OK</strong>.</li>
<li>A dialog box will appear that states that the &#034;virtual directory already exists.&#034;<br/>
<img class="alignnone size-full wp-image-381"  title="IIS - Virtual Directory Exists"  src="http://coreygilmore.com/wp-content/uploads/2008/08/new-virtual-directory.png"  alt=""  width="288"  height="242" /></li>
<li>In the <strong>Alias</strong> box, type a name for the new virtual directory that you want Exchange ActiveSync and Outlook Mobile Access to use. For example, type <em  style="font-style:italic;font-style:italic;">ExchDAV</em>. Click <strong>OK</strong>.</li>
<li>Right-click the new virtual directory. In this example, click <em  style="font-style:italic;font-style:italic;">ExchDAV</em>. Click <strong>Properties</strong>.</li>
<li>Click the <strong>Directory Security</strong> tab.</li>
<li>Under <strong>Authentication and access control</strong>, click <strong>Edit</strong>.</li>
<li>Make sure that only the following authentication methods are enabled, and then click <strong>OK</strong>:<strong><br/>
</strong></p>
<ul>
<li><strong>Integrated Windows 	 authentication</strong></li>
<li><strong>Basic authentication<br/>
</strong><img class="alignnone size-full wp-image-375"  title="Exchange Virtual Directoru - Authentication Methods"  src="http://coreygilmore.com/wp-content/uploads/2008/08/auth-methods.png"  alt=""  width="353"  height="165" /></li>
</ul>
</li>
<li>On the <strong>Directory Security</strong> tab, under <strong>IP address and domain name restrictions</strong>, click <strong>Edit</strong>.</li>
<li>Click the option for <strong>Denied access</strong>, click <strong>Add</strong>, click <strong>Single computer</strong> and type the IP address of the server that you are configuring, and then click <strong>OK</strong>.<br/>
<img class="alignnone size-full wp-image-379"  title="Exchange Virtual Directory - IP Access"  src="http://coreygilmore.com/wp-content/uploads/2008/08/ip-access.png"  alt=""  width="457"  height="264" /></li>
<li>Under <strong>Secure communications</strong>, click <strong>Edit</strong>. Make sure that <strong>Require secure channel (SSL)</strong> is not enabled, and then click <strong>OK</strong>.<br/>
<img class="alignnone size-full wp-image-382"  title="Exchange Virtual Directory - No SSL"  src="http://coreygilmore.com/wp-content/uploads/2008/08/no-ssl.png"  alt=""  width="434"  height="255" /></li>
<li>Click <strong>OK</strong>, and then close the IIS Manager.</li>
<li>Click <strong>Start</strong>, click<strong> Run</strong>, type <strong>regedit</strong>, and then click <strong>OK</strong>.</li>
<li>Locate the following registry subkey:
<pre>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MasSync\Parameters</pre>
</li>
<li>Right-click <strong>Parameters</strong>, click to <strong>New</strong>, and then click <strong>String Value</strong>.</li>
<li>Type <em  style="font-style:italic;font-style:italic;">ExchangeVDir</em>, and then press ENTER. Right-click <em  style="font-style:italic;font-style:italic;">ExchangeVDir</em>, and then click <strong>Modify</strong>.</li>
<li><strong>Note </strong><em  style="font-style:italic;font-style:italic;">ExchangeVDir</em> is case-sensitive. If you do not type <em  style="font-style:italic;font-style:italic;">ExchangeVDir</em> exactly as it appears in this article, ActiveSync does not find the key when it locates the <strong>ExchDAV</strong> folder.</li>
<li>In the <strong>Value data</strong> box, type the name of the new virtual directory that you created in step 8. For example, type <em  style="font-style:italic;font-style:italic;">/ExchDAV</em>. Click <strong>OK</strong>.</li>
<li>Quit Registry Editor.</li>
<li>Restart the IIS Admin service. To do this, follow these steps:
<ol>
<li>Click <strong>Start</strong>, click 	 <strong>Run</strong>, type <em  style="font-style:italic;font-style:italic;">services.msc</em>, and then click 	 <strong>OK</strong>.</li>
<li> In the list of services, right-click <strong>IIS Admin 	 service</strong>, and then click <strong>Restart</strong>.</li>
</ol>
</li>
</ol>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">ISA Configuration</h3>
<p>You&#039;ll want to increase the heartbeat to 30 minutes per <a href="http://support.microsoft.com/kb/905013" >Microsoft KB 905013</a> &#8211; Enterprise firewall configuration for Exchange ActiveSync Direct Push Technology.  If you don&#039;t do this you&#039;ll receive Event ID 3033 in your Application event log with the message:</p>
<blockquote  style="border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;border-color: #ddd; border-style: solid; border-width: 1px 1px 1px 5px; margin: 15px 30px 15px 10px; padding: 0pt 15px; color: #777;"><p>The average of the most recent [200] heartbeat intervals used by clients is less than or equal to [540].  Make sure that your firewall configuration is set to work correctly with Exchange ActiveSync and direct push technology. Specifically, make sure that your firewall is configured so that requests to Exchange ActiveSync do not expire before they have the opportunity to be processed.</p></blockquote>
<ol>
<li>Open <strong>ISA Server Management</strong> and click <strong>Firewall Policy</strong>.</li>
<li>On the <strong>Toolbox</strong> tab, click <strong>Network Objects</strong>.</li>
<li>Expand the <strong>Web Listeners</strong> node, and then view the advanced properties of the applicable Web Listener.</li>
<li>Click the <strong>Preferences</strong> tab, and then click <strong>Advanced</strong>.</li>
<li>Modify the <strong>Connection Timeout</strong> from the default 120 seconds (2 minutes) to 1800 seconds (30 minutes).<br/>
<img class="alignnone size-full wp-image-390"  title="ISA - HTTP/HTTPS Connection Timeout"  src="http://coreygilmore.com/wp-content/uploads/2008/08/isa-conn-timeout.png"  alt=""  width="403"  height="272" /></li>
<li>Click <strong>OK</strong> two times to accept these changes.</li>
<li>Click <strong>Apply</strong>.</li>
</ol>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">The End</h3>
<p>That&#039;s really all there is to it.  If you&#039;ve got RPC over HTTPS working then your ISA server should be ready to handle traffic on port 443, and you&#039;re only a few steps away from ActiveSync glory.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2008/08/05/configure-activesync-with-a-single-exchange-server-exchange-sync-for-an-iphone/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
		<item>
		<title>Cisco VPN connections from an iPhone</title>
		<link>http://coreygilmore.com/blog/2008/07/29/cisco-vpn-connections-from-an-iphone/</link>
		<comments>http://coreygilmore.com/blog/2008/07/29/cisco-vpn-connections-from-an-iphone/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 21:42:44 +0000</pubDate>
		<dc:creator>Corey</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[RSA]]></category>
		<category><![CDATA[SecurID]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://coreygilmore.com/?p=343</guid>
		<description><![CDATA[While there currently isn&#039;t any BES-like point of entry for an iPhone to gain access to a corporate network, it&#039;s trivial to establish a Cisco IPsec VPN connection. Getting Started You&#039;ll need the following information: VPN Server User account name User password Group name Group password You should know your user account name and password [...]]]></description>
			<content:encoded><![CDATA[<p>While there currently isn&#039;t any BES-like point of entry for an iPhone to gain access to a corporate network, it&#039;s trivial to establish a Cisco IPsec VPN connection.</p>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">Getting Started</h3>
<p>You&#039;ll need the following information:</p>
<ul>
<li>VPN Server</li>
<li>User account name</li>
<li>User password</li>
<li>Group name</li>
<li>Group password</li>
</ul>
<p>You should know your user account name and password and you can obtain the VPN Server, Group name and Group password from your .pcf file.  A PCF file typically contains an encrypted password which you can decrypt using my <a href="https://coreygilmore.com/projects/decrypt-cisco-vpn-password/" >Cisco VPN Password Decryption</a> page.  You can also ask your VPN administrator for the plain text password.</p>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">Sample PCF File</h3>
<p>The VPN server can be found after <strong>Host=</strong> in the pcf file.  Group Name is after <strong>GroupName=</strong>, Group Password is after <strong>enc_GroupPwd=</strong> or <strong>GroupPwd=</strong>.  Asterisks added below for emphasis.</p>

<div class="wp_syntax"   style="color: #100; border: 1px solid #ccc; padding-bottom:16px; overflow-x: auto; overflow: auto; overflow-y: hidden; width:100%; margin: 0 0 1.5em 0; font-size:9.5pt; line-height:1.1em;color: #100; border: 1px solid #ccc; padding-bottom:16px; overflow-x: auto; overflow: auto; overflow-y: hidden; width:100%; margin: 0 0 1.5em 0; font-size:9.5pt; line-height:1.1em;"><div class="code" ><pre class="text"     style="font-family:monospace;font-family:monospace;margin: 0; width: auto; float: none; clear: none; overflow: visible;margin: 0; width: auto; float: none; clear: none; overflow: visible;">[main]
Description=Connect to Company VPN
****Host=your-vpn-server.coreygilmore.com
AuthType=1
****GroupName=accounting
GroupPwd=
****enc_GroupPwd=9196FE0075E359E6A2486905A1EFAE9A11D652B2C588EF3FBA15574237302B74C194EC7D0DD16645CB534D94CE85FEC4
EnableISPConnect=0
ISPConnectType=0
ISPConnect=
ISPCommand=
Username=
SaveUserPassword=0
UserPassword=
enc_UserPassword=
NTDomain=CorpDomain
EnableBackup=0
BackupServer=
EnableMSLogon=1
MSLogonType=1
EnableNat=1
CertStore=0
CertName=
CertPath=
CertSubjectName=
CertSerialHash=00000000000000000000000000000000
DHGroup=2
ForceKeepAlives=0
PeerTimeout=90</pre></div></div>

<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">Adding the Connection</h3>
<p>From the Home screen on the iPhone open the Settings application.  Navigate through General &gt; Network &gt; VPN.  Tap <strong>Add VPN Configuration</strong> and choose IPSec.</p>
<p><img class="alignnone size-full wp-image-363"  title="iPhone - IPsec VPN Configuration"  src="http://coreygilmore.com/wp-content/uploads/2008/07/iphone-ipsec-vpn.png"  alt=""  width="320"  height="480" /></p>
<p>Using the information provided to you by your VPN administrator or gleaned from the PCF file, fill out the fields. If you use a SecurID for authentication leave the Password field empty and you will be prompted for it each time you connect.</p>
<h4  style="font-size: 1.2em; margin: 20px 0 0;font-size: 1.2em; margin: 20px 0 0;">About the Fields</h4>
<p><strong>Description</strong> &#8211; This can be anything you want.<strong><br/>
Server</strong> &#8211; The VPN server IP or domain name. <em  style="font-style:italic;font-style:italic;">Host</em> from your PCF file<strong>.<br/>
Account</strong> &#8211; Your VPN (or SecurID) username.<strong><br/>
Password</strong> &#8211; Your VPN password. Leave blank to be prompted (or if you use a SecurID or other token).<br/>
<strong>Group Name</strong> &#8211; Your VPN group name. <em  style="font-style:italic;font-style:italic;">GroupName</em> in the PCF file.<br/>
<strong>Secret</strong> &#8211; The Group Password. <em  style="font-style:italic;font-style:italic;">GroupPwd</em> or <em  style="font-style:italic;font-style:italic;">Enc_GroupPwd</em> from the PCF file. If the password is encrypted (the PCF only contains <em  style="font-style:italic;font-style:italic;">Enc_GroupPwd</em>) you will need to decrypt it using my  <a href="https://coreygilmore.com/projects/decrypt-cisco-vpn-password/" >Cisco VPN Password Decryption</a> page.</p>
<p>Below is a sample VPN connection configuration:</p>
<p><img class="alignnone size-full wp-image-364"  title="iPhone - Cisco IPSec VPN Configuration"  src="http://coreygilmore.com/wp-content/uploads/2008/07/vpn-config-iphone.png"  alt=""  width="320"  height="480" /></p>
<h3  style="font-size: 1.3em; padding: 0; margin: 20px 0 0;font-size: 1.3em; padding: 0; margin: 20px 0 0;">Connecting</h3>
<p>Once the fields are populated and the connection is saved you can connect to your VPN server by opening<br/>
Settings &gt; VPN and sliding the toggle into the On position.</p>
<p><strong>Updated Jan 30, 2009:</strong> Added a more detailed description of the account fields for clarity.</p>
]]></content:encoded>
			<wfw:commentRss>http://coreygilmore.com/blog/2008/07/29/cisco-vpn-connections-from-an-iphone/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 1495/1745 objects using disk: basic
Content Delivery Network via Amazon Web Services: S3: cdn01.coreygilmore.com

Served from: coreygilmore.com @ 2012-02-04 02:24:45 -->
