Apple's 'CarKey' API could control your HomeKit smart lock in future

Posted:
in General Discussion edited June 2020
The sudden appearance of the 'CarKey API' may only be the beginning, as Apple is seemingly exploring how it can expand on its cryptographic-based device authentication to bring digital keys into other areas.




The first beta of iOS 13.4 revealed traces of a "CarKey" API, one which would effectively turn the iPhone into an electronic key for a vehicle, similar to current keyless unlocking and starting systems employed today. By bringing the iPhone close to an NFC point, it could feasibly allow a car to start and to be driven, while also offering the option of sharing a version of the key to others with certain permissions disabled, such as enabling a car to be unlocked but not driven.

In a patent application titled "System access using a mobile device" published by the US Patent and Trademark Office on Thursday, Apple seems to be planning a much wider use of the concept than in just vehicles. The abstract for the filing mentions it would be used to authenticate a mobile device for access to system functionality, including "physical access to a system, starting an engine."

This could mean more than a car, and could easily apply to other access-oriented systems, like a smart lock on a home's door, access to an office for work, or to log in to a computer as already offered by the Apple Watch.

The patent application largely covers the possible processes for performing an authentication check between the smartphone and the locking system it is interacting with, rather than its possible applications.

A chart showing how the process of pairing and authentication could flow
A chart showing how the process of pairing and authentication could flow


In short, the pairing system involves the creation of public and private keys on both the mobile device and the locked system sides as part of a pairing process. After pairing, the public keys and a shared secret from the pairing process are used to verify a signed certificate created using private keys, then an encrypted signature is transmitted as proof of verification, allowing further trusted communications to occur.

In various declarations, this can include the mobile device being set to not send identifying information until after verification of the signed certificate, and the exchange of keys using an "elliptic curve Diffie Hellman (DH) function."

It is also proposed the mobile device could share access to functions of the locked system with another device, via another similar certificate-signing process. The sharing could be performed over a private and direct wireless connection between the two mobile devices, without relying on an online server or messaging service to hand over access.

There are mentions of the use of a security token as a form of authentication between the mobile devices, which can be stored in a separate mailbox location for later access.

While sharable, the sharing system would also allow the original authorized device to revoke shared access by sending a revocation message, which is followed by a confirmation receipt generated by a secure circuit.

If implemented into the CarKey API, this can enable a driver to temporarily grant access to their car to a friend's device, either locally or remotely, with the ability to only unlock the vehicle for access and not to drive it, then later revoking permission to access. Elsewhere, this could feasibly grant access to a building to an individual without needing to physically pass a key.

The concept of digital keys on mobile devices lends itself quite neatly to rental-based services. For example, an AirBNB host could grant guests a temporary use key on their device for the duration of a visit, or a car rental business could provide car keys to a customer without the need for a local kiosk or store.

The patent application lists its inventors as Arun G Mathias, Florian Galdo, Matthias Lerch, Najeeb M. Abdulrahiman, Onur E. Tackin, and Yannick Sierra.

Apple files numerous patent applications on a weekly basis. Though the existence of a patent application does not guarantee the concept will appear in a future product or service, it does inform of areas of interest for Apple's research and development efforts.

Apple has previously looked at the use of a mobile device as an authentication token for external uses, including the possibility of it being used to securely present government ID. This could mean an iPhone has a chance of being used as an effective digital passport or driving license, depending on future legislative changes.

On the motoring front, Apple is a charter member of the Car Connectivity Consortium, which published its first Digital Key Release 1.0 standard for NFC-enabled smartphone interactions with a vehicle in 2018. As a charter member, Apple is largely expected to be implementing standards defined by such technical groups.

Apple has also filed a patent application for "Enhanced automotive passive entry" in August 2018, which suggested the use of magnetic antennas and radio frequency antennas to determine the range of an iPhone from a vehicle, to enable features based on location. A November 2019 patent proposed a similar idea, using Bluetooth and Ultra-Wideband to determine the location and to exchange cryptographic keys.

Whether it will be used in the often-rumored Apple Car remains to be seen.

Comments

  • Reply 1 of 9
    Please PLEASE put the car key on the Watch and not just the iPhone. It’s so nice going in to Trader Joe’s in my gym shorts that have no pockets and paying with my watch. Even nicer if I didn’t have to hand carry my car key fob, or my iPhone, to lock and unlock my car. 
    BeatsGeorgeBMacmike1lolliverdigitolcaladanianwatto_cobra
  • Reply 2 of 9
    avon b7avon b7 Posts: 7,691member
    Huawei has had this kind of functionality for the last two years I believe. Audi was first on select models and BMW was rumoured to be in the frame too.

    You had NFC for phone opening and engine start with the option to 'share' keys with other phones.

    I don't drive so I never really never took that much interest in it but I was under the impression that this kind of functionality was open to the iPhone via an Audi Connect app.

    Also parallel to this news is the scheduled Huawei event for the 23 Feb with the 8+1+N Strategy where the phone is the '1' acting as a secure hub over the network (N). This was first revealed last year;

    https://www.gizmochina.com/2019/06/28/huawei-18n-strategy-5g-era/

    The core ideas look similar at first glance. 

    I thought the whole phone key thing was a relatively common thing on the big car brands but that could just be a non driver's impression.
  • Reply 3 of 9
    GeorgeBMacGeorgeBMac Posts: 11,421member
    Although I suspect the roll out of this will be very slow, I am very much looking forward to it as possibly one of the most helpful of Apple's features.

    As a runner, I carry as little as possible on me -- basically just a watch (and yes, pants too!).  So, the ability to lock and unlock my car from my Apple Watch would be very helpful.  But even just being able to not have to worry about losing or forgetting my house key would be great too.

    And, actually, the Apple Watch is far better suited to this than the iPhone.  Increasingly I am leaving my phone behind and simply rely on my Apple Watch with LTE to do what I need.  Plus, the Apple Watch is always with me (I sleep with it and bathe with it on).  And, even nicer is that it is super fast and convenient because you don't have to pull anything out of your pocket nor do you have to sign on.   It's always there on my wrist and its always signed on.  So, at the grocery store, I tap one button and zing -- my payment is complete.

    I am looking forward to this!
    robin hubercaladanianwatto_cobra
  • Reply 4 of 9
    gatorguygatorguy Posts: 24,213member
    Please PLEASE put the car key on the Watch and not just the iPhone. It’s so nice going in to Trader Joe’s in my gym shorts that have no pockets and paying with my watch. Even nicer if I didn’t have to hand carry my car key fob, or my iPhone, to lock and unlock my car. 
    What car company is it showing a bundled up skier unlocking her car with her watch? Looked awkward but at least she wasn't digging under layers of warmth to find a key. 
    GeorgeBMac
  • Reply 5 of 9
    cg27cg27 Posts: 213member
    This will be the next best thing after Ford’s keypad entry which they’ve offered for decades on all models.
    watto_cobra
  • Reply 6 of 9
    mike1mike1 Posts: 3,286member
    avon b7 said:
    Huawei has had this kind of functionality for the last two years I believe. Audi was first on select models and BMW was rumoured to be in the frame too.

    You had NFC for phone opening and engine start with the option to 'share' keys with other phones.

    I don't drive so I never really never took that much interest in it but I was under the impression that this kind of functionality was open to the iPhone via an Audi Connect app.

    Also parallel to this news is the scheduled Huawei event for the 23 Feb with the 8+1+N Strategy where the phone is the '1' acting as a secure hub over the network (N). This was first revealed last year;

    https://www.gizmochina.com/2019/06/28/huawei-18n-strategy-5g-era/

    The core ideas look similar at first glance. 

    I thought the whole phone key thing was a relatively common thing on the big car brands but that could just be a non driver's impression.

    I think these are two different things. Every car company has offered an app that allowed a phone to lock or unlock, remote start etc. Even if you remote start the car, you still need the key to actually drive. The car typically shuts off after a few minutes or if the brake pedal is stepped on. Those apps aren't "keys" and rely on a data connection to the car. I would think that if the device could learn the proprietary RF codes for any given vehicle, this would allow the phone (or watch, hopefully) to fully function as a key.
    lolliverwatto_cobra
  • Reply 7 of 9
    avon b7avon b7 Posts: 7,691member
    mike1 said:
    avon b7 said:
    Huawei has had this kind of functionality for the last two years I believe. Audi was first on select models and BMW was rumoured to be in the frame too.

    You had NFC for phone opening and engine start with the option to 'share' keys with other phones.

    I don't drive so I never really never took that much interest in it but I was under the impression that this kind of functionality was open to the iPhone via an Audi Connect app.

    Also parallel to this news is the scheduled Huawei event for the 23 Feb with the 8+1+N Strategy where the phone is the '1' acting as a secure hub over the network (N). This was first revealed last year;

    https://www.gizmochina.com/2019/06/28/huawei-18n-strategy-5g-era/

    The core ideas look similar at first glance. 

    I thought the whole phone key thing was a relatively common thing on the big car brands but that could just be a non driver's impression.

    I think these are two different things. Every car company has offered an app that allowed a phone to lock or unlock, remote start etc. Even if you remote start the car, you still need the key to actually drive. The car typically shuts off after a few minutes or if the brake pedal is stepped on. Those apps aren't "keys" and rely on a data connection to the car. I would think that if the device could learn the proprietary RF codes for any given vehicle, this would allow the phone (or watch, hopefully) to fully function as a key.
    That's an interesting point but I'm not in the best position to know the answer as a person with little interest cars. I just did a quick Google on it though and found this:

    https://www.huaweicentral.com/emui-9-1-feature-how-to-use-huaweis-digital-car-key-feature/

    It claims a physical key isn't required to lock/unlock/drive the car. 


  • Reply 8 of 9
    Rayz2016Rayz2016 Posts: 6,957member
    Hilarious.

    As soon as Apple submits a patent, the Android/Google crowd are straight in like flies on a fresh turd, telling anyone who they think will listen  that everyone else did it first.

    Guess what? No one cares. 

    Whether it is new or not, it'll be a welcome addition to the iGadget Range if it arrives, and if it doesn't then I'm certainly not going to buy a second-rate Android malware trap just to do something I can with a key fob anyway.

    When Google patented paying off executives to cover up the endemic sexual harassment of female employees, did Apple fans jump in and say Google didn't invent it? No, they didn't! 


    lolliverpscooter63watto_cobra
  • Reply 9 of 9
    avon b7avon b7 Posts: 7,691member
    Rayz2016 said:
    Hilarious.

    As soon as Apple submits a patent, the Android/Google crowd are straight in like flies on a fresh turd, telling anyone who they think will listen  that everyone else did it first.

    Guess what? No one cares. 

    Whether it is new or not, it'll be a welcome addition to the iGadget Range if it arrives, and if it doesn't then I'm certainly not going to buy a second-rate Android malware trap just to do something I can with a key fob anyway.

    When Google patented paying off executives to cover up the endemic sexual harassment of female employees, did Apple fans jump in and say Google didn't invent it? No, they didn't! 


    This is the classic 'us vs them' post.

    It didn't occur to you that the world isn't really us vs them. There are plenty of Mac users who have Android phones or use Google happily. Or Windows users who have iPhones.

    Not to mention that information itself is also welcome at any stage of a discussion.

    Cars remain neutral to users.

    There is also a lot to learn from different implementations of technology.
    GeorgeBMac
Sign In or Register to comment.