Title: Touch ID in iOS 8: Explained Post by: HCK on August 27, 2014, 09:00:23 pm Touch ID in iOS 8: Explained
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p><a href='http://www.imore.com/touch-id-ios-8-explained' title="Touch ID in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/08/wwdc_2014_touch_id_icon.jpg?itok=fyZRfTOA' />[/url]</p> <p><a href="http://www.imore.com/touch-id" title="Touch ID fingerprint identity scanner, tips, problems, help, and how-to">Touch ID[/url] is the name of Apple's personal fingerprint identity sensor. It's what currently lets you authenticate yourself to unlock your iPhone 5s and authorize iTunes and App Store purchases on your account. With <a href="http://www.imore.com/ios-8" title="iOS 8 help, how-to, news, reviews">iOS 8[/url], Apple is making an application programming interface (API) available to developers as well so everything from your password manager to banking service to private photo vault can be both secure and convenient. But how's it going to work?</p> <h2>Token problems, KeyChain solutions</h2> <p><a href='http://www.imore.com/touch-id-ios-8-explained' title="Touch ID in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/08/wwdc_2014_touch_id_mint.jpg?itok=zPOA4kD2' />[/url]</p> <p>When you put your finger on a Touch ID-equipped Home button, the metal ring around it detects the capacitance and wakes up the sensor. A high resolution photo of your fingerprint is then taken, converted into a mathematical representation, and sent over a hard-wired connection to the secure enclave of the <a href="http://www.imore.com/apple-a7" title="Apple A7 chipset reviews, benchmarks, and features">Apple A7[/url] system-on-a-chip. If the data doesn't match, a "no" token is released and you need to try again, or enter a passcode or password. If the data does match, a "yes" token is released, you're iPhone 5s unlock is authorized, or your iTunes or App Store purchase gets authorized.</p> <p>All of this launched back in 2013 as part iOS 7 on the iPhone 5s. What didn't launch with it at the time was a Touch ID API for developers. It's my understanding that, while Touch ID was secure against anything except physical spoofing when constrained to those two specific tasks, Apple hadn't had time to build out that security yet for developers. For example, what was to stop a malicious app from spoofing a Touch ID "yes" token?</p> <p>Fast forward to 2014 and iOS 8 provides that security rather ingeniously — it hooks into Keychain and into a new framework called LocalAuthentication.</p> <p>KeyChain is Apple's secure database for passwords. It started on the Mac but moved to iOS and then the iOS version moved back for iCloud KeyChain (http://www.imore.com/icloud-keychain) in iOS 7 and OS X Mavericks.</p> <p>In iOS 8, it's KeyChain that receives the "yes" or "no" token from the secure enclave following a successful Touch ID authentication, and KeyChain that provides or withholds credentials to apps accordingly.</p> <p>That means Touch ID, and your fingerprint data, can stay safely locked within the secure enclave, but it can still be used in place of a username/password combo to more conveniently fill in passwords and otherwise authorize any app on the App Store.</p> <p>LocalAuthentication on the other hand provides a faster but more limited form of access. For example, with LocalAuthentication, Touch ID can be used to unlock certain features (imagine a secure photos app or a video player with parental controls).</p> <p>Also, thankfully, while Touch ID can be used for fast and easy single-factor authenticate, it can also be used as a second factor to increase security. (i.e. Touch ID instead of passcode vs. Touch ID in addition to passcode.)</p> <h2>Touch ID for developers</h2> <p><a href='http://www.imore.com/touch-id-ios-8-explained' title="Touch ID in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/08/wwdc_2014_touch_id_bullets.jpg?itok=9WYm-0en' />[/url]</p> <p>With iOS 8, Apple is introducing item Access Control Lists (ACL) for accessibility and authentication. With those, developers can set when a KeyChain item is available, but also what happens when the item is accessed.</p> <p>Accessibility is the same for Touch ID as it is for passcode — based on device state like "unlocked". Authentication is new and requires a policy to determine what conditions need to be satisfied for KeyChain provides information to the app.</p> <p>User presence policies can include no passcode, in which case there's no access to KeyChain, passcode, in which case KeyChain will unlock once it's entered, and Touch ID, in which case KeyChain will unlock once it authenticates. (If Touch ID fails, or the person opts-out of using it, it can revert to passcode.)</p> <p>Touch ID is given preference over passcode when available because a finger press is faster and easier than entering a string of numbers or alphanumeric characters.</p> <p>Policies and enforced by the secure enclave of the Apple A7 processor, so they're protected against anything up to and including kernel compromise.</p> <p>Because of that, developers and their apps also get the same fail-secure system as device unlock and store purchases — if Touch ID doesn't authenticate after four tries, if the device is rebooted, or if Touch ID isn't used in 48 hours, the secure enclave will disable it and the passcode will need to be re-entred to re-enable it.</p> <p>To go along with the new API, Apple is also providing a new interface to handle Touch ID transactions in App Store apps. Similar to the look and feel of the existing iTunes and App Store Touch ID interface, it pops up and gives you the option of scanning a fingerprint or entering the passcode.</p> <p>Apple presents the name of the app in the interface dialog, so you always know who's asking for your authentication. Developers can also — and are encouraged to — add an additional text string explaining why they're asking for authentication.</p> <p>(If Touch ID is disabled, if it's been opted-out of, or if the device being used doesn't have Touch ID, the same framework will present a passcode entry interface instead.)</p> <p>Obviously, since it has to present the interface, only an app in the foreground can request authorization. Apple cautions developers to remember, however, that any query could return secure items that require authentication. So, developers are encouraged not to query too broadly, and Apple is also providing a "no authentication mode" so that developers can suppress the interface and simply report back that, if those items are really wanted, authentication will be required.</p> <h2>Touch ID and action extensions</h2> <p><a href='http://www.imore.com/touch-id-ios-8-explained' title="Touch ID in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/08/wwdc_2014_touch_id_passcode_before.jpg?itok=nZUnQLJM' />[/url]</p> <p>In addition to apps, Touch ID can also be integrated into action extensions (http://www.imore.com/action-extensions-ios-8-explained). So, for example, a password manager app could use Touch ID to authenticate you before showing you your passwords inside its own app. A password manager action extension, however, could be called from within Safari and allow Touch ID to authenticate you so the extension can auto-fill your password fields.</p> <p>If developers make their own frameworks, other developers can also integrate it into their own apps so, for example, a social network app could let you use the password managers extension to authenticate and auto-fill your passwords right inside the social networking app.</p> <h2>Touch ID API security</h2> <p><a href='http://www.imore.com/touch-id-ios-8-explained' title="Touch ID in iOS 8: Explained"><img src='http://www.imore.com/sites/imore.com/files/styles/large/public/field/image/2014/08/wwdc_2014_touch_id_passcode_after.jpg?itok=-PpUaNe9' />[/url]</p> <p>The Touch ID interface is owned and controlled by iOS, not by the App Store app that controls it. Only upon successful determination of authentication status, opt-out to password, or canceling out altogether can an app regain control.</p> <p>Also, for security reasons, Apple and iCloud do not back up ACL protected items, and don't sync them between devices. In other words, your data is never put up on the internet or onto anyone's servers, including Apple's. Not ever.</p> <p>Developers also never gain access to your fingerprint data in their apps. It all stays tucked away safely in the secure enclave.</p> <h2>Bottom line</h2> <p>Entering passwords on mobile devices, especially the kind of unique, long, strong pseudorandom passwords we're supposed to be using, is so onerous many of us simply stop using them at all. Touch ID helps by making a biometric authentication system available that's both easier and faster to use. However, it was only available on the iPhone 5s, and only for device unlock or iTunes purchase.</p> <p>The Touch ID API removes the latter part of the limitation. With it, Touch ID authentication can be made available in any App Store app. As to the former part, it's hard not to imagine Apple won't fix that later this fall, and bring Touch ID to the <a href="http://www.imore.com/iphone-6" title="iPhone 6 news, rumors, and release date speculation">iPhone 6[/url] and <a href="http://www.imore.com/ipad" title="iPad reviews, apps, help, and how-to">iPad[/url] lineups both.</p> <p>That should happen within days and weeks, respectively, of <a href="http://www.imore.com/ios-8" title="iOS 8 help, how-to, news, reviews">iOS 8[/url] being released this fall. Are you looking forward to it, and which of your apps would you like to see implement the Touch ID API?</p> <h2>More of iOS 8: Explained</h2> <div id="block-block-69" class="block block-block"> <div class="content"> <ul><li>Handoff in iOS 8 and OS X Yosemite: Explained (http://www.imore.com/handoff-ios-8-os-x-yosemite-explained)</li> <li>Making and receiving phone calls on iOS 8 for iPad and OS X Yosemite: Explained (http://www.imore.com/call-answer-ios-8-and-os-x-yosemite-explained)</li> <li>Sending and receiving SMS/MMS on iOS 8 for iPad and OS X Yosemite: Explained (http://www.imore.com/sending-and-receiving-sms-mms-ios-8-ipad-and-os-x-yosemite-explained)</li> <li>AirDrop and Instant Hotspot in iOS 8 and OS X Yosemite: Explained (http://www.imore.com/airdrop-and-tethering-ios-8-and-os-x-yosemite-explained)</li> <li>QuickType keyboard in iOS 8: Explained (http://www.imore.com/quicktype-keyboards-ios-8-explained)</li> <li>Interactive notifications in iOS 8: Explained (http://www.imore.com/interactive-notifications-ios-8-explained)</li> <li>SceneKit in iOS 8: Explained (http://www.imore.com/ios-8-scenekit-explained)</li> <li>Metal in iOS 8: Explained (http://www.imore.com/metal-ios-8-explained)</li> <li>Widgets in iOS 8: Explained (http://www.imore.com/widgets-ios-8-explained)</li> <li>Share extensions in iOS 8: Explained (http://www.imore.com/sharing-ios-8-explained)</li> <li>Action extensions in iOS 8: Explained (http://www.imore.com/action-extensions-ios-8-explained)</li> <li>Inter-app photo and video editing in iOS 8: Explained (http://www.imore.com/inter-app-photo-and-video-editing-ios-8-explained)</li> <li>Custom keyboards in iOS 8: Explained (http://www.imore.com/custom-keyboards-ios-8-explained)</li> <li>Family Sharing on iOS 8: Explained (http://www.imore.com/family-sharing-ios-8-explained)</li> <li>iCloud Drive and Document Picker for iOS 8: Explained (http://www.imore.com/icloud-drive-documentpicker-ios-8-explained)</li> <li>Document provider extensions in iOS 8: Explained (http://www.imore.com/ios-8-document-provider-extensions-explained)</li> <li>TestFlight in iOS 8: Explained (http://www.imore.com/testflight-ios-8-explained)</li> <li>Apple Maps in iOS 8: Explained (http://www.imore.com/maps-ios-8-explained)</li> <li>iMessage in iOS 8: Explained (http://www.imore.com/imessage-ios-8-explained)</li> <li>Photos in iOS 8: Explained (http://www.imore.com/photos-ios-8-explained)</li> <li>Spotlight in iOS 8: Explained (http://www.imore.com/spotlight-ios-8-explained)</li> <li>Health in iOS 8: Explained (http://www.imore.com/health-ios-8-explained)</li> </ul></div> </div> </div></div></div><div id="comment-wrapper-nid-26565"></div><img width='1' height='1' src='http://tipb.com.feedsportal.com/c/33998/f/616881/s/3de2d586/sc/4/mf.gif' border='0'/><br clear='all'/> <a href="http://da.feedsportal.com/r/206157145902/u/49/f/616881/c/33998/s/3de2d586/sc/4/rc/1/rc.htm" rel="nofollow"><img src="http://da.feedsportal.com/r/206157145902/u/49/f/616881/c/33998/s/3de2d586/sc/4/rc/1/rc.img" border="0"/>[/url] <a href="http://da.feedsportal.com/r/206157145902/u/49/f/616881/c/33998/s/3de2d586/sc/4/rc/2/rc.htm" rel="nofollow"><img src="http://da.feedsportal.com/r/206157145902/u/49/f/616881/c/33998/s/3de2d586/sc/4/rc/2/rc.img" border="0"/>[/url] <a href="http://da.feedsportal.com/r/206157145902/u/49/f/616881/c/33998/s/3de2d586/sc/4/rc/3/rc.htm" rel="nofollow"><img src="http://da.feedsportal.com/r/206157145902/u/49/f/616881/c/33998/s/3de2d586/sc/4/rc/3/rc.img" border="0"/>[/url] <img src="http://da.feedsportal.com/r/206157145902/u/49/f/616881/c/33998/s/3de2d586/sc/4/a2.img" border="0"/> (http://da.feedsportal.com/r/206157145902/u/49/f/616881/c/33998/s/3de2d586/sc/4/a2.htm)<img width="1" height="1" src="http://pi.feedsportal.com/r/206157145902/u/49/f/616881/c/33998/s/3de2d586/sc/4/a2t.img" border="0"/><img src="http://feeds.feedburner.com/~r/TheIphoneBlog/~4/8cSpeHUoyUk" height="1" width="1"/> Source: Touch ID in iOS 8: Explained (http://feedproxy.google.com/~r/TheIphoneBlog/~3/8cSpeHUoyUk/story01.htm) |