Search results for

“nfc”

1,194 results found

Post

Replies

Boosts

Views

Activity

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
605
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
Assistive Access issues
We have several issues enabling our app for Assistive Access: We use Critical Alerts. There seems to be no way to set this up unless we set up the app in normal mode first. If we run our app in AA first and then go back to normal the Notification settings page is blank. Notifications show up as saying New. I am guessing this is a beta issue? We cannot use NFC (no connect sheet is displayed when we try.) We MUST have NFC to connect to our medical device (as well as BlueTooth). These are show stopper issues for our app.
2
0
1.4k
Jun ’23
Reply to Swift iOS iPadOS app for Smartcard Token PIV using CryptoTokenKit
Does Apple support lighting port readers? Depends on what you mean by “support”. The iOS security infrastructure is able to work with smart card readers connected via Lightning, USB, NFC, and others. The exact mechanics of how that works, and who supports it if it fails!, depends on the connection type. What is the need of crypto token kit extension if we are able to list the certificates from key chain just by adding com.apple.token in the entitlements file. The built-in infrastructure can work the SE and with PIV hardware token. If your hardware token needs custom support, or you want to create a virtual token that’s not backed by directly connected hardware, you create a CTK appex. For example, my Yubikey 5Ci has NFC support. That only works if Yubico’s app is installed, because the app contains the CTK appex that bridges to NFC [1]. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Via a very convoluted path,
Topic: Privacy & Security SubTopic: General Tags:
Jun ’23
NFC Error Distribute App
Invalid entitlement for core nfc framework. The sdk version '16.4' and min OS version '11.0' are not compatible for the entitlement 'com.apple.developer.nfc.readersession.formats' because 'NDEF is missing in the entitlement'. (ID: 5825b68c-1bc8-450e-acfa-37f629843796)
0
0
1.1k
Jun ’23
Nfc Reader
Hello everyone, this is my first post. I have a question, I understand that it is possible to generate nfc passes and add them to the apple wallet after obtaining the Apple certificate. Apple asks which physical reader is compatible for reading the pass, but is it possible to use an Android or iOS mobile application to read the pass ? Have a nice day. Kind regards,
1
0
845
May ’23
Is CarKey API available also for after market accessory vendors?
We are a startup company focused on aftermarket automobile upgrades. We are working on an iPhone accessory that works as a key/fob for older cars that don't support this. We want to make a receiver kit that will be installed on aftermarket/vintage/older cars. We want this device to work using Apple CarKey/Wallet Api on UWB or NFC. We understand we need an MFI enrollment for that, but we want to make sure even if we are not auto-makers, we can apply for it.
0
0
1.2k
May ’23
Detect if NFC is enabled or not
Hi, I am using the below code to detect if NFC is enabled or not. (BOOL)isNFCAvailable { if ([NFCNDEFReaderSession readingAvailable]) { return YES; } return NO; } I have also added the permission is info.plist file NFCReaderUsageDescription Detecting if NFC is enabled or not I am testing on iphone XS with ios 15.6.1 and on iphone 11 with ios 13.2.2. In both the cases, the API is returning false. Can you please let me know if I am missing something.
0
0
966
May ’23
Reply to NFC Tags won't read after iOS 15.4 update
I have a field RFID Detector, decided to try it out on my phone and my friend’s phone. I put the detector to my phone, and it was blinking, so the nfc was trying to find a tag, but the light was very dim. Tried it on my friend’s phone. Light was brighter than ever, meaning a really high field of nfc. Maybe it’s a power issues, and there isn’t enough power going to the nfc chip?
Topic: App & System Services SubTopic: General Tags:
May ’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
605
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
Assistive Access issues
We have several issues enabling our app for Assistive Access: We use Critical Alerts. There seems to be no way to set this up unless we set up the app in normal mode first. If we run our app in AA first and then go back to normal the Notification settings page is blank. Notifications show up as saying New. I am guessing this is a beta issue? We cannot use NFC (no connect sheet is displayed when we try.) We MUST have NFC to connect to our medical device (as well as BlueTooth). These are show stopper issues for our app.
Replies
2
Boosts
0
Views
1.4k
Activity
Jun ’23
Reply to Swift iOS iPadOS app for Smartcard Token PIV using CryptoTokenKit
Does Apple support lighting port readers? Depends on what you mean by “support”. The iOS security infrastructure is able to work with smart card readers connected via Lightning, USB, NFC, and others. The exact mechanics of how that works, and who supports it if it fails!, depends on the connection type. What is the need of crypto token kit extension if we are able to list the certificates from key chain just by adding com.apple.token in the entitlements file. The built-in infrastructure can work the SE and with PIV hardware token. If your hardware token needs custom support, or you want to create a virtual token that’s not backed by directly connected hardware, you create a CTK appex. For example, my Yubikey 5Ci has NFC support. That only works if Yubico’s app is installed, because the app contains the CTK appex that bridges to NFC [1]. Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com [1] Via a very convoluted path,
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’23
background NFC not working ios 16.5 ?
background nfc isn't working in 16.5... on iphone 11 able to scan nfc using apps and through shortcuts app (when initially scanning) however background nfc is not working at all has anyone else experienced this problem?
Replies
0
Boosts
0
Views
1.3k
Activity
Jun ’23
NFC Error Distribute App
Invalid entitlement for core nfc framework. The sdk version '16.4' and min OS version '11.0' are not compatible for the entitlement 'com.apple.developer.nfc.readersession.formats' because 'NDEF is missing in the entitlement'. (ID: 5825b68c-1bc8-450e-acfa-37f629843796)
Replies
0
Boosts
0
Views
1.1k
Activity
Jun ’23
Core NFC
Is there a standard for determining the tag type with CoreNFC?
Replies
0
Boosts
0
Views
549
Activity
Jun ’23
Is it possible to communicate with the PN532 module on swiftUI?
I want to export data using NFC write function in SwiftUI, but the module doesn't recognize it
Replies
0
Boosts
0
Views
555
Activity
May ’23
Nfc Reader
Hello everyone, this is my first post. I have a question, I understand that it is possible to generate nfc passes and add them to the apple wallet after obtaining the Apple certificate. Apple asks which physical reader is compatible for reading the pass, but is it possible to use an Android or iOS mobile application to read the pass ? Have a nice day. Kind regards,
Replies
1
Boosts
0
Views
845
Activity
May ’23
Is CarKey API available also for after market accessory vendors?
We are a startup company focused on aftermarket automobile upgrades. We are working on an iPhone accessory that works as a key/fob for older cars that don't support this. We want to make a receiver kit that will be installed on aftermarket/vintage/older cars. We want this device to work using Apple CarKey/Wallet Api on UWB or NFC. We understand we need an MFI enrollment for that, but we want to make sure even if we are not auto-makers, we can apply for it.
Replies
0
Boosts
0
Views
1.2k
Activity
May ’23
Detect if NFC is enabled or not
Hi, I am using the below code to detect if NFC is enabled or not. (BOOL)isNFCAvailable { if ([NFCNDEFReaderSession readingAvailable]) { return YES; } return NO; } I have also added the permission is info.plist file NFCReaderUsageDescription Detecting if NFC is enabled or not I am testing on iphone XS with ios 15.6.1 and on iphone 11 with ios 13.2.2. In both the cases, the API is returning false. Can you please let me know if I am missing something.
Replies
0
Boosts
0
Views
966
Activity
May ’23
Reply to NFC Tags won't read after iOS 15.4 update
I have a field RFID Detector, decided to try it out on my phone and my friend’s phone. I put the detector to my phone, and it was blinking, so the nfc was trying to find a tag, but the light was very dim. Tried it on my friend’s phone. Light was brighter than ever, meaning a really high field of nfc. Maybe it’s a power issues, and there isn’t enough power going to the nfc chip?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’23