News for hackers. Stuff that matters.
Re:UK government's battle with Apple over EU citizens app by addedlovely on Thursday November 01, 2018 @08:57AM (#18353421)
Agency: 'Oh yeah that feature is not supported, but don't worry there are rumours it's coming'

Government: 'Great let's base our whole system on this'

:|

Re:UK government's battle with Apple over EU citizens app by fredley on Thursday November 01, 2018 @08:37AM (#18353307)
Any idea why Apple doesn't allow use of NFC? It's been in devices for ages, I'm surprise to hear it's not available to developers. Given Apple reviews all apps anyway, and can restrict what it's used for any way they like, I can't imagine why they wouldn't allow apps to use it.
Re:UK government's battle with Apple over EU citizens app by RubenSandwich on Thursday November 01, 2018 @08:40AM (#18353324)
I'm actually very suprised by this article because in iOS 11, over a year old now, they did open up NFC to developers: https://developer.apple.com/documentation/corenfc.

The problem could be that they require a different data format then the NFC Data Exchange Format (NDEF) as that is the only format that CoreNFC supports.

Re:UK government's battle with Apple over EU citizens app by iancarroll on Thursday November 01, 2018 @09:03AM (#18353470)
Communicating with a passport requires two-way communication for authentication and data transfer; they're not simple NFC tags.
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).

Re:UK government's battle with Apple over EU citizens app by have_faith on Thursday November 01, 2018 @08:41AM (#18353326)
Maybe they don't want NFC payment alternatives that would rival Apple Pay. And they don't want to restrict it for that use-case because it makes them look weak for artificially blocking out the competition so they just restrict the feature entirely.
Re:UK government's battle with Apple over EU citizens app by MBCook on Thursday November 01, 2018 @08:55AM (#18353407)
Or the security/PR nightmare that would happen when someone used one of those that was poorly implemented and said “I paid with Apple Pay and all my money was stolen!”
Re:UK government's battle with Apple over EU citizens app by ed_blackburn on Thursday November 01, 2018 @08:58AM (#18353427)
Or an anti-competition suit?
Re:UK government's battle with Apple over EU citizens app by notoverthere on Thursday November 01, 2018 @08:47AM (#18353361)
It's really silly – but Apple keep the NFC functionality exclusively for use by Apple Pay. Whilst it is NFC, Apple have never marketed it as such. Presumably they want people to think that it's just Apple Pay 'magic'.
Re:UK government's battle with Apple over EU citizens app by wlesieutre on Thursday November 01, 2018 @08:52AM (#18353386)
Not just Apple Pay anymore, they also use it for certain transit cards and student ID cards. New phones can read tags and launch the appropriate app (via notification like Camera gives you for QR code reading): https://www.macrumors.com/2018/09/12/2018-iphones-background...
Re:UK government's battle with Apple over EU citizens app by fredley on Thursday November 01, 2018 @09:22AM (#18353616)
But they prevent competition with their own services in myriad ways already via their review process. Try building your own app store, for example.
Re:UK government's battle with Apple over EU citizens app by caf on Thursday November 01, 2018 @08:46AM (#18353355)
Presumably because they want to force financial institutions to go through Apple Pay, so they can take their transaction fee cut.
Re:UK government's battle with Apple over EU citizens app by Tsubasachan on Thursday November 01, 2018 @09:26AM (#18353640)
Imagine Ford making a car that only accepts fuel bought at a Ford fueling station.

I am sure you can see the advantages?

Re:UK government's battle with Apple over EU citizens app by willca on Thursday November 01, 2018 @08:53AM (#18353396)
> The Home Office has also signed a £91m contract with French company Sopra Steria to set up computer terminals at 56 local libraries

Just £1.625 million per library? Does that seem a crazy amount to anyone else?

Re:UK government's battle with Apple over EU citizens app by hoaw on Thursday November 01, 2018 @09:09AM (#18353515)
I does seem crazy, but apparently it includes the application process as well. In general not a lot of people tend to care about this kind of thing. Governments often aren't empowered to do it, the large tech companies don't care, the idealist are busy copying the large tech companies and the hobbyist are busy with their own hobbies. Left are large consulting companies that can provide custom solutions and will charge as such.
Re:UK government's battle with Apple over EU citizens app by jstanley on Thursday November 01, 2018 @09:00AM (#18353452)
Also, local to who? There aren't 56 points in the UK such that everyone has a local point for any reasonable definition of "local".
Re:UK government's battle with Apple over EU citizens app by AJRF on Thursday November 01, 2018 @09:05AM (#18353491)
Local as in administered locally and not nationally.

Its astounding you didn't infer that.

Re:UK government's battle with Apple over EU citizens app by jstanley on Thursday November 01, 2018 @09:33AM (#18353696)
Aha, thanks.
Re:UK government's battle with Apple over EU citizens app by drcongo on Thursday November 01, 2018 @09:12AM (#18353538)
These are the only 56 libraries left that have not been shut down by the current government.
Re:UK government's battle with Apple over EU citizens app by jstanley on Thursday November 01, 2018 @09:32AM (#18353693)
https://librarytechnology.org/libraries/ukpublic/

> libraries.org includes 4982 public libraries in the United Kingdom

Re:UK government's battle with Apple over EU citizens app by jstanley on Thursday November 01, 2018 @08:55AM (#18353404)
So this is a smartphone app because they want to use the NFC in the smartphone to scan the passport.

Does anyone know how the NFC in a passport works? If it just communicates the passport number, then it seems like they could allow a fallback where the user types in the passport number, without any loss of security.

(Because if that is how it works, all you're really proving is knowledge of the passport number, not possession of the passport)

EDIT: According to this StackOverflow post[0] the NFC reader needs to supply the passport number, date of birth, and expiry date before it can retrieve whatever data is on the passport, so it can't work the way I described.

[0] https://security.stackexchange.com/questions/30772/what-nfc-...

Re:UK government's battle with Apple over EU citizens app by Rjevski on Thursday November 01, 2018 @09:04AM (#18353483)
The passport is a standard NFC smart card, just like your credit card. Internally it can do crypto, which means it’s not just about a passport number but cryptographically proving the person is in possession of their passport.
Re:UK government's battle with Apple over EU citizens app by beojan on Thursday November 01, 2018 @09:05AM (#18353485)
Re:UK government's battle with Apple over EU citizens app by pjc50 on Thursday November 01, 2018 @09:07AM (#18353505)
Relatedly on twitter: https://twitter.com/JakubKrupa/status/1057665110976663552 downthread

"The most difficult part of the process - confirmation of ID - was not being done through an automated process: applicants didn't have to use the controversial app to scan their passports. Of those who voluntarily decided to use it 30% FAILED."

And as various people have pointed out, unless a deal appears in a really short timeframe, all 3m EU nationals living in the UK will have to go through this process in order to continue working or renting in the UK. https://www.bbc.co.uk/news/uk-politics-46035919

Re:UK government's battle with Apple over EU citizens app by speeq on Thursday November 01, 2018 @09:45AM (#18353789)
Oh, so there will not be a transition period for EU citizens in case of a no-deal Brexit?
Re:UK government's battle with Apple over EU citizens app by pjc50 on Thursday November 01, 2018 @11:08AM (#18354608)
Nobody knows!

Well, the Minister for Immigration said that "new immigration controls - including employer checks of immigration status - will apply to EU citizens next year" to the Select Committee, but it's routine for ministerial statements to be countermanded the next week, so who knows? It's not as if there are penalties for error or incompetence.

Re:UK government's battle with Apple over EU citizens app by Tsubasachan on Thursday November 01, 2018 @09:21AM (#18353607)
Same reason why Apple isn't compatible with my bank. Apple wants to lock their NFC chip. And make lots of money with their ridiculous transaction fees in the process obviously.

Dont blame them, but people will choose Android over it.

Re:UK government's battle with Apple over EU citizens app by drivingmenuts on Thursday November 01, 2018 @08:59AM (#18353443)
She told MPs the Home Office could not be blamed because Apple "won't release the upgrade we need in order for it to function".

Wrong. The Home Office should have checked with Apple before developing the app.

Re:UK government's battle with Apple over EU citizens app by esotericn on Thursday November 01, 2018 @09:16AM (#18353566)
This strikes me as an extreme form of premature optimization.

This seems like the sort of thing that should be rolled out to council offices, the Post Office, somewhere like that (libraries, as stated in the post).

Or (and!) airports (they already have the infrastructure!).

Let's maybe not spend 1.5 million per device though. That's something like 10-30 software dev salaries, per location. Graft?

Re:UK government's battle with Apple over EU citizens app by krona on Thursday November 01, 2018 @09:21AM (#18353600)
The Home Office has also signed a £91m contract with French company Sopra Steria to set up computer terminals at 56 local libraries around the UK to help those without smartphones, or without the necessary digital skills, to apply to stay in the UK.
Re:UK government's battle with Apple over EU citizens app by ed_blackburn on Thursday November 01, 2018 @08:56AM (#18353411)
Considering what's a stake for citizens and the govt, one wonders would it make sense to partner with a commodity hardware manufacturer and split the cost of the device? Use recyclable parts and encourage people to return them for a fee?
Re:UK government's battle with Apple over EU citizens app by pjc50 on Thursday November 01, 2018 @09:09AM (#18353517)
It needs to be ready and distributed in less than 5 months.

Furthermore, not everyone thinks the Home Office or the government in general is making a good faith effort to do this competently.

Re:UK government's battle with Apple over EU citizens app by mathw on Thursday November 01, 2018 @09:14AM (#18353557)
The current government is basically incapable of doing anything competently.

This goes double for anything involving IT or negotiating with other countries.

Re:UK government's battle with Apple over EU citizens app by hanoz on Thursday November 01, 2018 @09:20AM (#18353593)
How about - user completes everything else on their iPhone, app generates a code, user asks Android owning friend to download companion app: SaveMyIPhoneOwningEuroFriendsBacon.apk, friend enters code and scans passport?
Re:UK government's battle with Apple over EU citizens app by sys_64738 on Thursday November 01, 2018 @10:55AM (#18354439)
I think there’s more chance of the Tory government getting a deal with the EU for brexit than this!
Re:UK government's battle with Apple over EU citizens app by theli0nheart on Thursday November 01, 2018 @08:58AM (#18353428)
iOS definitely supports NFC for third party apps. Here’s the documentation:

https://developer.apple.com/documentation/corenfc

I just played with the Yubico iOS SDK just the other day and it supports my Yubikey 5 flawlessly.

Re:UK government's battle with Apple over EU citizens app by iancarroll on Thursday November 01, 2018 @09:04AM (#18353474)
They support a very limited form of NFC, which will most definitely not allow you to read a passport.
[dead]
Re:UK government's battle with Apple over EU citizens app by egourlao on Thursday November 01, 2018 @08:50AM (#18353376)
From the article:

> The Home Office has also [planned] to set up computer terminals at 56 local libraries around the UK to help those without smartphones, or without the necessary digital skills, to apply to stay in the UK.

Re:UK government's battle with Apple over EU citizens app by pjc50 on Thursday November 01, 2018 @09:01AM (#18353459)
56 terminals for ~3 million people? Even if we're only talking about 5% of those who don't have a suitable smartphone this is really inadequate.
Re:UK government's battle with Apple over EU citizens app by sebastienrocks on Thursday November 01, 2018 @08:40AM (#18353323)
We will most likely need to go through a manual paper route.