News for hackers. Stuff that matters.
Re:UK government's battle with Apple over EU citizens app by andyjohnson0 on Thursday November 01, 2018 @09:04AM (#18353479)
> Any idea why Apple doesn't allow use of NFC?

iOS apps can access NFC capablities on devices with that have appropriate hardware support, but from what I understand the CoreNFC API has some limitations.

For example, it doesn't provide a way to read an RFID'c unique ID without using a private API that would disqualify an app from being published on the app store. There's some information about this at [1] and [2]. CoreAPI can read NDEF tags, but they don't expose the UID.

Perhaps the Home Office's app needs the UID of the passport's embedded RFID? I don't know why they might want this, or why Apple restricts the ability to read it. Privacy concerns?

[1] https://www.taptrack.com/article/blog/core-nfc-2/

[2] https://stackoverflow.com/questions/51822226/corenfc-not-rea...

Re:UK government's battle with Apple over EU citizens app by Rjevski on Thursday November 01, 2018 @09:06AM (#18353496)
You don’t just need the UID (and by the way, passports don’t have one).

You need to do a proper cryptographic handshake with the passport, something impossible with the current SDK. You need to be able to send raw “APDUs” (commands) to the smart card/passport.

Re:UK government's battle with Apple over EU citizens app by andyjohnson0 on Thursday November 01, 2018 @09:35AM (#18353719)
> you need to be able to send raw “APDUs” (commands) to the smart card/passport.

Is this available via a private API in CoreNFC? Is that what they're asking for?

Edit:

> and by the way, passports don’t have one

Thanks - I didn't know that. Now reading about Pseudo-Unique IDs.

Re:UK government's battle with Apple over EU citizens app by Rjevski on Thursday November 01, 2018 @09:41AM (#18353763)
Not available as far as I know; I looked into it as I needed it as well.

Seems like there are some classes in the SDK that hint at that but so far they don’t work (presumably they require an entitlement that only Apple can provide).