GithubHelp home page GithubHelp logo

smartcard-reader's People

Contributors

doc-rj avatar vectorialgradha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

smartcard-reader's Issues

Smartcard reader + Android phone which doesn't have HCE

Hey, this is not an issue with your code as much as a question about what would happen if i'm running the smart card reader the nexus 7 running 4.4+ and the other device is running 4.2 with only the possibility of beaming the data.

Does it activate a one-way beam?

Freelance?

Hi,

Not sure how to get in touch with you. Just wondering if you are interested to do an NFC based Android app prototype for us?

Thank you.
Senti

Assistance in Modification

HI ,
We have used your library in our project. I need to understand the restrictions associated with modification to your library. Could you please provide me your contact details (mail : [email protected]) to discuss further.

Early response is highly appreciated
Thank you.

App crash

Hi,

Thanks for the project, I just downloaded and give it a try on emulator and android device, on both the applications crashed, the error said null exception. Any ideas?

anyone tried to use it to relay physical cards to terminal

I' like to get rid of Google pay (and most of the google ecosystem). It requires too many hacks anyway to run on open-source OSes like Lineage. Is it possible to use 2 copies of this app to be a blind MITM between a payment terminal at a store (say whole foods market) and my NFC physical card sitting at my home miles away, attached physically to my old android phone which is accessible over ssh?

Unwanted AIDs (D2 76 00 00 85 01 01) is sending, when using the enableForegroundDispatch

I written the onresume code like this,

// reader mode flags: listen for type A (not B), skipping ndef check
    private static final int READER_FLAGS =
            NfcAdapter.FLAG_READER_NFC_A |NfcAdapter.FLAG_READER_NFC_B |
                    NfcAdapter.FLAG_READER_SKIP_NDEF_CHECK | NfcAdapter.FLAG_READER_NO_PLATFORM_SOUNDS;

  /**
     * Re-enable the tag dispatch if the app is in the foreground
     */
    @RequiresApi(api = Build.VERSION_CODES.KITKAT)
    @Override
    public void onResume() {
 super.onResume();
        // register broadcast receiver
        IntentFilter filter = new IntentFilter(NfcAdapter.ACTION_ADAPTER_STATE_CHANGED);
        this.registerReceiver(mBroadcastReceiver, filter);

        mAdapter = NfcAdapter.getDefaultAdapter(this);
        mAdapter.enableReaderMode(this,
                new NfcAdapter.ReaderCallback() {
                    @RequiresApi(api = Build.VERSION_CODES.O)
                    @Override
                    public void onTagDiscovered(final Tag t) {
                        // do something
                        tag = t;
                        startTransaction();
                    }
                },
                READER_FLAGS,
                null);

when doing the NFC transaction, sometimes this AID D2 76 00 00 85 01 01 is sending. Can you help me with this issue?

Crash in emv read mode

Touching another android device using HCE seems to read some data on the screen but crashes the app with:

FATAL EXCEPTION: Thread-2237
Process: org.docrj.smartcard.reader, PID: 30330
java.lang.ExceptionInInitializerError
    at org.docrj.smartcard.emv.GpoApdu.getGpoApdu(GpoApdu.java:40)
    at org.docrj.smartcard.reader.PaymentReaderXcvr.initiateAppProcessing(PaymentReaderXcvr.java:169)
    at org.docrj.smartcard.reader.PaymentReaderXcvr.run(PaymentReaderXcvr.java:87)
    at java.lang.Thread.run(Thread.java:818)
 Caused by: java.lang.NullPointerException: in == null
    at java.util.Properties.load(Properties.java:246)
    at org.docrj.smartcard.emv.EMVTerminal.<clinit>(EMVTerminal.java:67)
    at org.docrj.smartcard.emv.GpoApdu.getGpoApdu(GpoApdu.java:40) 
    at org.docrj.smartcard.reader.PaymentReaderXcvr.initiateAppProcessing(PaymentReaderXcvr.java:169) 
    at org.docrj.smartcard.reader.PaymentReaderXcvr.run(PaymentReaderXcvr.java:87) 
    at java.lang.Thread.run(Thread.java:818) 

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.