Search results for

“nfc”

1,204 results found

Post

Replies

Boosts

Views

Activity

NFC iso18092 Missing required entitlement
Hey, I don't know why i can not make scan function work. I have written in the entitlement file: com.apple.developer.nfc.readersession.formats NDEF TAG also in the info.plist: com.apple.developer.nfc.readersession.iso7816.select-identifiers A0000002471001 D2760000850101 still get the error Error Domain=NFCError Code=2 Missing required entitlement of course when i remove the iso18092 enum everything is working. Help? thanks
0
0
1k
Aug ’23
Reading data from Payment terminal
Hello! Thank you very much for your WWDC NFC sessions! I really like the format and the information you provided in those session :) I have a question regarding my app that I am planning to develop using an NFC technology. I tried to find a necessary information in WWDC sessions and documentations but I couldn't find anything that might be helpful for me. The idea is simple. I want to use my app as the proxy between user's payments cards (debit or credit) and the payment terminal. The logic is something like this: User taps an iPhone to a payment terminal (just like in the Wallet) and my app reads the data from the payment terminal through NFC (merchant name, merchant category, amount to be paid, etc.) My app receives this information, does some formatting and other operations My app sends the user's card information to the NFC (a card information is received and stored in my app through some 3rd party service, like Plaid) Payment terminal receives this information and show
0
0
902
Aug ’23
Reply to Using Wallet.app to open doors with NFC reader
I would be more than happy to find some tutorials or insights. We are empty (don't have the NFC reader) but we are ready for an android version that uses Host Card Emulation. We would need to know if it is feasible in Apple iOS to create a pass in our app that goes to Wallet and then is ready to be used as an NFC card. It's quite difficult to understand if it is possibile, if so how, and what kind of readers do we need. Android docs states that reader should be ISODep compatible, here i'm searching but could not find any help. We can't go for external paying services
Topic: App & System Services SubTopic: Hardware Tags:
Jul ’23
Reply to Swift iOS iPadOS app for Smartcard Token PIV using CryptoTokenKit
Does this mean through CTK we can detect PIV smart card through any reader (lighting/USB/NFC) without the need of any vendor intervention? If the PIV smart card is supported by the built-in PIV CTK appex, you don’t need any extra vendor support. You don’t even need CTK! You can work with the credentials on the smart card using just Security framework APIs. As to whether a specific PIV smart card is supported by iOS, I don’t have a comprehensive list of what is or isn’t supported [1]. I can only relate my own experience, namely, that a YubiKey 5 NFC works out of the box, with no Yubico software, when I plug it into the USB-C port on my iPad. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] You might find more info about this on the Apple Support website.
Topic: Privacy & Security SubTopic: General Tags:
Jul ’23
Unable to write to NFC Tag using CoreNFC in iOS
We are using an NFC tag that complies with ISO14443A and B standards (ISO-DEP) and supports ISO/IEC 7816 security. We are attempting to write some data using CoreNFC's NFCNDEFReaderSessionDelegate. We can detect the tag, but when we try to connect to it, it displays NFC Error (Tag Connection Lost). We also attempted NFCTagReaderSessionDelegate, but we were unable to detect the tag at that moment. Note that we have included the Privacy - NFC Reader Usage Description and ISO7816 application IDs for NFC Tag Reader Session to info.plist. Tag Reader Session Formats for Near Field Communication in entitlements.plist Can you advise on whether the problem is caused by the tag we're using? Or the CoreNFC library does not support writing? Thank you for your valuable time and assistance
0
0
858
Jul ’23
NFC/Felica to use Host Card Emulation support
I am developing an iOS app in which the device(iPhone) needs to act as an NFC tag using Felica so that an NFC reader could read the information present in this virtual tag (like person details). Currently Suica and Pasmo is being used for contact less payment but we ant to use the same technique but for our IOS app. Is it possible to achieve this ?
2
0
1.7k
Jul ’23
App Clip invoking from NFC Tag - only one NDEF record allowed?
Good day everyone, We have an app containing App Clip which should appear after scanning an URL from an NFC tag. Now if the tag contains ONLY one NDEF URL Record, the App Clip appears. But if there are more fields (as in our case), while URL record being still the first. App Clip is not started, iOS tries to open URL in safari. Is there might be official statement from Apple on this? Could not find any reference in the docs.
0
0
616
Jul ’23
Reply to Detecting library hooking
macOS does have a setting to disable debugging: https://developer.apple.com/library/archive/qa/qa1361/_index.html (and which itself can be circumvented) and does offer hardened run-time: https://developer.apple.com/documentation/security/hardened_runtime If you're already using that and want more... There are papers and write-ups on reverse-engineering and anti-reverse-engineeringposted around the 'net. Some folks will use a licensing dongle, whether USB or NFC or otherwise. Some vendors will use a support-based licensing scheme, and which requires periodic contact with servers you control. If the crack is loading exploit code at run-time (and somehow the hardened run-time isn't an option or isn't working for your case), you could submit known-bad license keys from various spots in the code (after the first real check, and fail (and preferably failing well after the good and bad checks, and preferably failing with an obscure run-time error selected from a list of reserved-for-cracks error codes, and
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’23
NFCTagReaderSession - Missing required entitlement
Hi there, I am using Core NFC and I established the connection with the card, (it means that the info.plist is correct and the entitlement should be correct as well). The app detects the card, but after sending the command 'tag.sendCommand()' I receive this message: [CoreNFC] -[NFCTagReaderSession transceive:tagUpdate:error:]:879 Error Domain=NFCError Code=2 Missing required entitlement UserInfo={NSLocalizedDescription=Missing required entitlement} So, what is missing or what am I doing wrong? Here is the code: func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) { guard !tags.isEmpty else { return } let hexString = //... if case let .iso7816(tag) = tags[0] { session.connect(to: tags[0]) { error in if let error = error { print(Error: (error.localizedDescription)) return } let apdu = hexString.convertToAPDU() tag.sendCommand(apdu: apdu) { (response: Data, sw1: UInt8, sw2: UInt8, error: Error?) in // -> here is when the error appears, in the completion print([UInt8](respon
6
0
2.5k
Jun ’23
Reply to Swift iOS iPadOS app for Smartcard Token PIV using CryptoTokenKit
I see very limited documentation on how exactly CryptoTokenKit can detect the readers and fetch certificates from smart card. That’s because detecting the reader and fetching the certificates is done by the CTK appex, and how it does that is entirely up to it. Consider my YubiKey 5 NFC. It has multiple hardware interfaces, including USB and NFC. If I plug it into the USB-C port on my iPad, using a standard USB to USB-C adapter, it Just Works™. The token supports PIV and iOS has built-in PIV support. OTOH, if I try to use it over NFC, I must install Yubico’s app so that its CTK appex can route the request to the token’s NFC interface. If we want to fetch the certificates from smart cards connected via Bluetooth/lighting port, do we have to write an CryptoTokenKitExtension app? That depends on the token’s vendor: If the vendor has already written a CTK appex, your app can talk to the token that way. This is exactly what happens when I use my YubiKey over NFC. If not,
Topic: Privacy & Security SubTopic: General Tags:
Jun ’23
NFC tag reader not functioning
IPhone 14 Pro - ios 17 Beta NFC tag reader no longer functioning as of ios15 update. I have updated to Beta 17 and still not working. Airfrop off, cellular data off and have completed several restarts. Any help with repairing is appreciated. Thank you.
Replies
0
Boosts
0
Views
884
Activity
Aug ’23
NFC iso18092 Missing required entitlement
Hey, I don't know why i can not make scan function work. I have written in the entitlement file: com.apple.developer.nfc.readersession.formats NDEF TAG also in the info.plist: com.apple.developer.nfc.readersession.iso7816.select-identifiers A0000002471001 D2760000850101 still get the error Error Domain=NFCError Code=2 Missing required entitlement of course when i remove the iso18092 enum everything is working. Help? thanks
Replies
0
Boosts
0
Views
1k
Activity
Aug ’23
Reading data from Payment terminal
Hello! Thank you very much for your WWDC NFC sessions! I really like the format and the information you provided in those session :) I have a question regarding my app that I am planning to develop using an NFC technology. I tried to find a necessary information in WWDC sessions and documentations but I couldn't find anything that might be helpful for me. The idea is simple. I want to use my app as the proxy between user's payments cards (debit or credit) and the payment terminal. The logic is something like this: User taps an iPhone to a payment terminal (just like in the Wallet) and my app reads the data from the payment terminal through NFC (merchant name, merchant category, amount to be paid, etc.) My app receives this information, does some formatting and other operations My app sends the user's card information to the NFC (a card information is received and stored in my app through some 3rd party service, like Plaid) Payment terminal receives this information and show
Replies
0
Boosts
0
Views
902
Activity
Aug ’23
Reply to Using Wallet.app to open doors with NFC reader
I would be more than happy to find some tutorials or insights. We are empty (don't have the NFC reader) but we are ready for an android version that uses Host Card Emulation. We would need to know if it is feasible in Apple iOS to create a pass in our app that goes to Wallet and then is ready to be used as an NFC card. It's quite difficult to understand if it is possibile, if so how, and what kind of readers do we need. Android docs states that reader should be ISODep compatible, here i'm searching but could not find any help. We can't go for external paying services
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Jul ’23
NFC tag with mentioned technologies NfcA, MifareClassic, NdefFormatable
I am implementing iOS APP with to read NFC tag with these mentioned technologies NfcA, MifareClassic, NdefFormatable so is there a way that I can access these types of tags. Can I access MifareClassic tags with iOS using coreNFC ?
Replies
0
Boosts
0
Views
597
Activity
Jul ’23
NFC feature with mentioned technologies NfcA, MifareClassic, NdefFormatable
I am implementing the NFC feature from the iOS side and wanted to know that can we read the data from mentioned technologies here NfcA, MifareClassic, and NdefFormatable. can we implement NFC using core NFC that can read the data from MifareClassic tags?
Replies
1
Boosts
0
Views
816
Activity
Jul ’23
Reply to Swift iOS iPadOS app for Smartcard Token PIV using CryptoTokenKit
Does this mean through CTK we can detect PIV smart card through any reader (lighting/USB/NFC) without the need of any vendor intervention? If the PIV smart card is supported by the built-in PIV CTK appex, you don’t need any extra vendor support. You don’t even need CTK! You can work with the credentials on the smart card using just Security framework APIs. As to whether a specific PIV smart card is supported by iOS, I don’t have a comprehensive list of what is or isn’t supported [1]. I can only relate my own experience, namely, that a YubiKey 5 NFC works out of the box, with no Yubico software, when I plug it into the USB-C port on my iPad. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] You might find more info about this on the Apple Support website.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to Swift iOS iPadOS app for Smartcard Token PIV using CryptoTokenKit
Thanks. **If the smart card supports PIV, the system’s PIV support kicks in. This comes in the form of a CTK appex, which gets you to the same end state. ** Does this mean through CTK we can detect PIV smart card through any reader(lighting/USB/NFC) without the need of any vendor intervention?
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’23
Unable to write to NFC Tag using CoreNFC in iOS
We are using an NFC tag that complies with ISO14443A and B standards (ISO-DEP) and supports ISO/IEC 7816 security. We are attempting to write some data using CoreNFC's NFCNDEFReaderSessionDelegate. We can detect the tag, but when we try to connect to it, it displays NFC Error (Tag Connection Lost). We also attempted NFCTagReaderSessionDelegate, but we were unable to detect the tag at that moment. Note that we have included the Privacy - NFC Reader Usage Description and ISO7816 application IDs for NFC Tag Reader Session to info.plist. Tag Reader Session Formats for Near Field Communication in entitlements.plist Can you advise on whether the problem is caused by the tag we're using? Or the CoreNFC library does not support writing? Thank you for your valuable time and assistance
Replies
0
Boosts
0
Views
858
Activity
Jul ’23
NFC/Felica to use Host Card Emulation support
I am developing an iOS app in which the device(iPhone) needs to act as an NFC tag using Felica so that an NFC reader could read the information present in this virtual tag (like person details). Currently Suica and Pasmo is being used for contact less payment but we ant to use the same technique but for our IOS app. Is it possible to achieve this ?
Replies
2
Boosts
0
Views
1.7k
Activity
Jul ’23
App Clip invoking from NFC Tag - only one NDEF record allowed?
Good day everyone, We have an app containing App Clip which should appear after scanning an URL from an NFC tag. Now if the tag contains ONLY one NDEF URL Record, the App Clip appears. But if there are more fields (as in our case), while URL record being still the first. App Clip is not started, iOS tries to open URL in safari. Is there might be official statement from Apple on this? Could not find any reference in the docs.
Replies
0
Boosts
0
Views
616
Activity
Jul ’23
Reply to NFCTagReaderSession - Missing required entitlement
Yes, I configured the NFC capability. Here is my entitlements file: com.apple.developer.nfc.readersession.formats NDEF TAG And my info.plist: com.apple.developer.nfc.readersession.iso7816.select-identifiers 315449432E494341 NFCReaderUsageDescription NFC reason
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to Detecting library hooking
macOS does have a setting to disable debugging: https://developer.apple.com/library/archive/qa/qa1361/_index.html (and which itself can be circumvented) and does offer hardened run-time: https://developer.apple.com/documentation/security/hardened_runtime If you're already using that and want more... There are papers and write-ups on reverse-engineering and anti-reverse-engineeringposted around the 'net. Some folks will use a licensing dongle, whether USB or NFC or otherwise. Some vendors will use a support-based licensing scheme, and which requires periodic contact with servers you control. If the crack is loading exploit code at run-time (and somehow the hardened run-time isn't an option or isn't working for your case), you could submit known-bad license keys from various spots in the code (after the first real check, and fail (and preferably failing well after the good and bad checks, and preferably failing with an obscure run-time error selected from a list of reserved-for-cracks error codes, and
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’23
NFCTagReaderSession - Missing required entitlement
Hi there, I am using Core NFC and I established the connection with the card, (it means that the info.plist is correct and the entitlement should be correct as well). The app detects the card, but after sending the command 'tag.sendCommand()' I receive this message: [CoreNFC] -[NFCTagReaderSession transceive:tagUpdate:error:]:879 Error Domain=NFCError Code=2 Missing required entitlement UserInfo={NSLocalizedDescription=Missing required entitlement} So, what is missing or what am I doing wrong? Here is the code: func tagReaderSession(_ session: NFCTagReaderSession, didDetect tags: [NFCTag]) { guard !tags.isEmpty else { return } let hexString = //... if case let .iso7816(tag) = tags[0] { session.connect(to: tags[0]) { error in if let error = error { print(Error: (error.localizedDescription)) return } let apdu = hexString.convertToAPDU() tag.sendCommand(apdu: apdu) { (response: Data, sw1: UInt8, sw2: UInt8, error: Error?) in // -> here is when the error appears, in the completion print([UInt8](respon
Replies
6
Boosts
0
Views
2.5k
Activity
Jun ’23
Reply to Swift iOS iPadOS app for Smartcard Token PIV using CryptoTokenKit
I see very limited documentation on how exactly CryptoTokenKit can detect the readers and fetch certificates from smart card. That’s because detecting the reader and fetching the certificates is done by the CTK appex, and how it does that is entirely up to it. Consider my YubiKey 5 NFC. It has multiple hardware interfaces, including USB and NFC. If I plug it into the USB-C port on my iPad, using a standard USB to USB-C adapter, it Just Works™. The token supports PIV and iOS has built-in PIV support. OTOH, if I try to use it over NFC, I must install Yubico’s app so that its CTK appex can route the request to the token’s NFC interface. If we want to fetch the certificates from smart cards connected via Bluetooth/lighting port, do we have to write an CryptoTokenKitExtension app? That depends on the token’s vendor: If the vendor has already written a CTK appex, your app can talk to the token that way. This is exactly what happens when I use my YubiKey over NFC. If not,
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’23