GithubHelp home page GithubHelp logo

Comments (11)

dangfan avatar dangfan commented on August 22, 2024

Thank you for your inquiry.
Identifying the type of card you are dealing with should be your first priority. You can utilize APDUs to retrieve the data if the card is ISO 7816-4 compliant. The keys are necessary if the card is a MIFARE Classic card. Basically, Line 799 of /assets/read.js is the entrance point. Your code ought to be added there.
Pull requests are encouraged.

from nfsee.

berkaykr avatar berkaykr commented on August 22, 2024

The cards are (ISO 7816-4) compliant. But it doesn't read some cards. I have 6 cards, some of them receive their information, some do not. What exactly do I need to do?

from nfsee.

dangfan avatar dangfan commented on August 22, 2024

Would you provide more information, including the platform (Android or iOS) you're testing, the AID of the card, and other that may help figure out the problem?

from nfsee.

berkaykr avatar berkaykr commented on August 22, 2024

I am testing the tests on android device. It's a debit card I use. I cannot receive MasterCard and its information.

{apdu_history: [{tx: 00A404000E325041592E5359532E444446303100, rx: 6F27840E325041592E5359532E4444463031A515BF0C1261104F07A00000000410108701019F2A01029000}, {tx: 00A4040007A000000004101000, rx: 6F468407A0000000041010A53B500A4D4153544552434152448701015F2D047472656E9F1101099F120C4D4320435245444954205050BF0C0F9F4D020B0A9F6E07079200003030009000}], tag: {standard: ISO 14443-4 (Type A), dsfId: , ndef: null, ndefWritable: false, ndefCapacity: 0, ndefCanMakeReadOnly: false, type: iso7816, atqa: 4403, manufacturer: , ndefAvailable: false, protocolInfo: , systemCode: , id: 04251E9AD83780, applicationData: , sak: 20, hiLayerResponse: , webUSBCustomProbeData: null, historicalBytes: 4A434F503234325232, ndefType: }, detail: {}, card_type: Unknown}

from nfsee.

berkaykr avatar berkaykr commented on August 22, 2024

This is the code structure I got on a different card.

{apdu_history: [{tx: 00A404000E325041592E5359532E444446303100, rx: 6F35840E325041592E5359532E4444463031A523BF0C20611E4F07A000000004101050104445424954204D4153544552434152448701019000}, {tx: 00A4040007A000000004101000, rx: 6F4F8407A0000000041010A54450104445424954204D4153544552434152448701015F2D087472656E646566729F1101099F120B42414E4B41204B41525449BF0C0F9F4D020B0A9F6E07079200003030009000}], tag: {standard: ISO 14443-4 (Type A), dsfId: , ndef: null, ndefWritable: false, ndefCapacity: 0, ndefCanMakeReadOnly: false, type: iso7816, atqa: 4400, manufacturer: , ndefAvailable: false, protocolInfo: , systemCode: , id: 058E3A87A33200, applicationData: , sak: 28, hiLayerResponse: , webUSBCustomProbeData: null, historicalBytes: 41434F532046696F6E6131204C6336, ndefType: }, detail: {}, card_type: Unknown}

from nfsee.

Harry-Chen avatar Harry-Chen commented on August 22, 2024

@berkaykr The APDU history you provided contains only successful commands. You can retrieve all APDUs in the log. You can refer to read.js for more details.

from nfsee.

berkaykr avatar berkaykr commented on August 22, 2024

@Harry-Chen Can you give detailed information? What exactly do I need to do?

from nfsee.

dangfan avatar dangfan commented on August 22, 2024

This is the code structure I got on a different card.

{apdu_history: [{tx: 00A404000E325041592E5359532E444446303100, rx: 6F35840E325041592E5359532E4444463031A523BF0C20611E4F07A000000004101050104445424954204D4153544552434152448701019000}, {tx: 00A4040007A000000004101000, rx: 6F4F8407A0000000041010A54450104445424954204D4153544552434152448701015F2D087472656E646566729F1101099F120B42414E4B41204B41525449BF0C0F9F4D020B0A9F6E07079200003030009000}], tag: {standard: ISO 14443-4 (Type A), dsfId: , ndef: null, ndefWritable: false, ndefCapacity: 0, ndefCanMakeReadOnly: false, type: iso7816, atqa: 4400, manufacturer: , ndefAvailable: false, protocolInfo: , systemCode: , id: 058E3A87A33200, applicationData: , sak: 28, hiLayerResponse: , webUSBCustomProbeData: null, historicalBytes: 41434F532046696F6E6131204C6336, ndefType: }, detail: {}, card_type: Unknown}

It seems that this card does not contain a compatitble FCI Proprietary Template. You may read the EMV spec to add more code to support it.

from nfsee.

dangfan avatar dangfan commented on August 22, 2024

I am testing the tests on android device. It's a debit card I use. I cannot receive MasterCard and its information.

{apdu_history: [{tx: 00A404000E325041592E5359532E444446303100, rx: 6F27840E325041592E5359532E4444463031A515BF0C1261104F07A00000000410108701019F2A01029000}, {tx: 00A4040007A000000004101000, rx: 6F468407A0000000041010A53B500A4D4153544552434152448701015F2D047472656E9F1101099F120C4D4320435245444954205050BF0C0F9F4D020B0A9F6E07079200003030009000}], tag: {standard: ISO 14443-4 (Type A), dsfId: , ndef: null, ndefWritable: false, ndefCapacity: 0, ndefCanMakeReadOnly: false, type: iso7816, atqa: 4403, manufacturer: , ndefAvailable: false, protocolInfo: , systemCode: , id: 04251E9AD83780, applicationData: , sak: 20, hiLayerResponse: , webUSBCustomProbeData: null, historicalBytes: 4A434F503234325232, ndefType: }, detail: {}, card_type: Unknown}

As for this card, please provide the detailed log of flutter, for example, the outputs generated here: https://github.com/nfcim/nfsee/blob/master/assets/read.js#L462
Thanks!

from nfsee.

berkaykr avatar berkaykr commented on August 22, 2024

I am testing the tests on android device. It's a debit card I use. I cannot receive MasterCard and its information.
{apdu_history: [{tx: 00A404000E325041592E5359532E444446303100, rx: 6F27840E325041592E5359532E4444463031A515BF0C1261104F07A00000000410108701019F2A01029000}, {tx: 00A4040007A000000004101000, rx: 6F468407A0000000041010A53B500A4D4153544552434152448701015F2D047472656E9F1101099F120C4D4320435245444954205050BF0C0F9F4D020B0A9F6E07079200003030009000}], tag: {standard: ISO 14443-4 (Type A), dsfId: , ndef: null, ndefWritable: false, ndefCapacity: 0, ndefCanMakeReadOnly: false, type: iso7816, atqa: 4403, manufacturer: , ndefAvailable: false, protocolInfo: , systemCode: , id: 04251E9AD83780, applicationData: , sak: 20, hiLayerResponse: , webUSBCustomProbeData: null, historicalBytes: 4A434F503234325232, ndefType: }, detail: {}, card_type: Unknown}

As for this card, please provide the detailed log of flutter, for example, the outputs generated here: https://github.com/nfcim/nfsee/blob/master/assets/read.js#L462 Thanks!

[log] Log from script: PPSE DF Name: A0000000041010 (MC) Log from script: PPSE DF Name: A000000003101001 (Visa)

from nfsee.

berkaykr avatar berkaykr commented on August 22, 2024

I need to have my card scanned, can you help me on how to add it? @dangfan @Harry-Chen

from nfsee.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.