-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relaying a contact-based smart card with pcsc-relay NOT working NEED help #266
Comments
could you elaborate on what you're tryping to do? what should be relayed where, what application should be able to use what card? |
Thanks for quick answer, I'm trying to relay a contact emv card to a contactless reader ,I have used EMV Analytic Tool ( https://apkcombo.com/emv-analytic-tool/cz.pb.emv.analytic_tool/ )as a contactless reader to simulates a PoS which will send APDU commands. |
Thanks for the explanation, I am aware of the protocol stack, but haven't tested EMV. If I remember correctly, then this should work using the smart card emulator on the phone. There, you need to configure the remote virtual smart card instead of the built-in java card simulator. This explains, why you are connecting to a vicc, instead of using vpcd. Additionally, you want to use the "reversed" mode, where the card is waiting for an incoming connection. The latter is currently not possible with pcsc-relay (I believe), instead you should use |
@frankmorgner Any advice on what should I do next ? ( it keep me awake at night not knowing LOL :-) ). Thanks |
I pushed a new commit, which makes the error handling a little more relaxed by allowing no-ops (780cc7c), which may avoid the allocation error. However, I'm not sure what is going wrong inside libnfc. Unfortunately, I cannot make any promises when/if I can reproduce any of the relay examples soon. |
Expected behavior.
Hello and Congrats for your hard work and dedication!!! (JUST SETTING UP THIS ALLREADY EXOSTED ME LOL)
When I hold phone to reader communication should start and exchange of apdu's should show on phone .
Actual behavior
ubuntu-22.04.3-desktop-amd64 on VBox everything installed and working.
In PC: ubuntu OMNIKEY 3121 working and detected.
In phone: Smart Card Emulator in S4 mini CM12.1 fail to read (reader: EMV Analytic Tool). Build in simulator is working.
Smart Card Reader in S4 mini CM12.1 connect but nothing happens. (I tested just to see if phone and pc are on the same network.)
Does the phone need to be rooted/magisk/exposed to work?
What phone is best used for this purpose?
Steps to reproduce
3.no exchange happens
###Logs
https://gist.github.com/0dayfrp/7a21088b8fc85483003b3ded9807dc1d)
The text was updated successfully, but these errors were encountered: