Page 1 of 2

applet and card protection

Posted: Wed Jul 06, 2016 2:26 pm
by bushKape
To create a fully working smart card together with the applet you need:
1) write an applet, and test its performance (done)
2) install an applet on the card with privileges (done)
3) sewn applet attacks and outside interference (not done)
Do I wrote the action?
With 3 part I have a problem I can not find guides and articles on the subject, you may be able to help with this?
And the main thing I have encountered such a problem:
when he performed first and the second action, insert the card into the emulator on my screen the message "No application" with what it can be connected?

Re: applet and card protection

Posted: Thu Jul 07, 2016 2:51 am
by UNKNwYSHSA
Where you get the 3 part? Can you send the link about it to me.
Where the message "No application" shown? Are you using one application who connect to the card and communicate with your applet?

Re: applet and card protection

Posted: Thu Jul 07, 2016 10:19 am
by bushKape
UNKNwYSHSA wrote:Where you get the 3 part? Can you send the link about it to me.
Where the message "No application" shown? Are you using one application who connect to the card and communicate with your applet?

it happens on the emulator POS terminal

Re: applet and card protection

Posted: Thu Jul 07, 2016 9:41 pm
by UNKNwYSHSA
You need to know the Applet AID that the POS terminal needs. If your Applet AID is not match POS terminal selected AID, the POS terminal consider that the applet is not exists on your card. Subsequent operations can't be performed.
What is your current Applet AID?
What the type of your Applet? EMV?

Re: applet and card protection

Posted: Fri Jul 08, 2016 8:48 pm
by bushKape
UNKNwYSHSA wrote:You need to know the Applet AID that the POS terminal needs. If your Applet AID is not match POS terminal selected AID, the POS terminal consider that the applet is not exists on your card. Subsequent operations can't be performed.
What is your current Applet AID?
What the type of your Applet? EMV?

I use AID applet A0000000031010
My applet viewtopic.php?t=717
if it does not fit EMV, how to fix it? thank you so much for any help!

Re: applet and card protection

Posted: Sun Jul 10, 2016 11:45 am
by bushKape
UNKNwYSHSA wrote:You need to know the Applet AID that the POS terminal needs. If your Applet AID is not match POS terminal selected AID, the POS terminal consider that the applet is not exists on your card. Subsequent operations can't be performed.
What is your current Applet AID?
What the type of your Applet? EMV?

I studied technology and created an applet in EMV format based https://github.com/JavaCardOS/OpenEMV/t ... rc/openemv
but the error is still not gone (no application).
Thank you for your help!

Re: applet and card protection

Posted: Sun Jul 10, 2016 9:30 pm
by UNKNwYSHSA
Is there any setting(s) about AID on your POS emulator?
Which POS emulator are you using?
Can you send it to me or give me it's link, we can discuss this problem more easily.

Re: applet and card protection

Posted: Mon Jul 11, 2016 10:07 am
by bushKape
UNKNwYSHSA wrote:Is there any setting(s) about AID on your POS emulator?
Which POS emulator are you using?
Can you send it to me or give me it's link, we can discuss this problem more easily.

Emulator is fully consistent with the terminal verifon vx 675
If you would prefer to communicate Skype bush_kape
thank you very much for your help!

Re: applet and card protection

Posted: Tue Jul 12, 2016 2:04 am
by UNKNwYSHSA
Here is a list of AIDs of EMV Cards.
https://eftlab.com.au/index.php/site-ma ... id-rid-pix

I'm thinking whether the emulator is looking for PSE or PPSE.
We can create applet for PSE and PPSE. And have a try.

If you have one EMV card. Send following APDU commands:
SELECT PSE: 00 A4 04 00 0E 31 50 41 59 2E 53 59 53 2E 44 44 46 30 31 00
SELECT PPSE: 00 A4 04 00 0E 32 50 41 59 2E 53 59 53 2E 44 44 46 30 31 00

Now:
Create applet with PSE AID: '31 50 41 59 2E 53 59 53 2E 44 44 46 30 31' and response as response of command SELECT PSE when it is selected.
Create applet with PPSE AID: '32 50 41 59 2E 53 59 53 2E 44 44 46 30 31' and response as response of command SELECT PPSE when it is selected.

Re: applet and card protection

Posted: Tue Jul 12, 2016 7:40 pm
by bushKape
UNKNwYSHSA wrote:Here is a list of AIDs of EMV Cards.
https://eftlab.com.au/index.php/site-ma ... id-rid-pix

I'm thinking whether the emulator is looking for PSE or PPSE.
We can create applet for PSE and PPSE. And have a try.

If you have one EMV card. Send following APDU commands:
SELECT PSE: 00 A4 04 00 0E 31 50 41 59 2E 53 59 53 2E 44 44 46 30 31 00
SELECT PPSE: 00 A4 04 00 0E 32 50 41 59 2E 53 59 53 2E 44 44 46 30 31 00

Now:
Create applet with PSE AID: '31 50 41 59 2E 53 59 53 2E 44 44 46 30 31' and response as response of command SELECT PSE when it is selected.
Create applet with PPSE AID: '31 50 41 59 2E 53 59 53 2E 44 44 46 30 31' and response as response of command SELECT PPSE when it is selected.

he error persists, I made screenshots https://files.fm/u/zsa9v922#_ I can something not so I do?