Skip to content
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

APDU Command VERIFY returns 6a88 #16

Closed
mgm1008 opened this issue Jul 9, 2020 · 1 comment
Closed

APDU Command VERIFY returns 6a88 #16

mgm1008 opened this issue Jul 9, 2020 · 1 comment

Comments

@mgm1008
Copy link

mgm1008 commented Jul 9, 2020

Hi all,

I have a FEITIAN BR301 reader and i am trying to run the VERIFY APDU command but the result is 6a88 (Referenced data not found).

My PIN is "012345" and based on some examples my command APDU is:

00 20 00 00 06 30 31 32 33 34 35

I hope the answer is 9000 but it is 6a88

I have tried both ways (Private API and PC / SC API) and the answer is the same.

This is the code for Private API:

String sendStr = "0020000006303132333435";

byte[] send = Utility.hexStrToBytes(sendStr);

byte[] recv = ftReader.readerXfr(0, send);

showLog("send response ---> "+Utility.bytes2HexStr(recv));

The result is send response ---> 6a88

Could someone help me solve this problem?

Thanks in advance.

@FeitianSmartcardReader
Copy link
Owner

To verify your PIN, you may need select the file first, for example, with PIV card, you may need send below commands, and more information, take a look https://www.synchrocyber.com/downloads/sp800-73-3_PART2_piv-card-applic-card-common-interface.pdf

00A4040009A00000030800001000- Select File
0020008008 3131323233333434 - Verify PIN
002c00801031323334353637383132333435363738 - Unlock

With your card, it should have same manual as reference, please check with card vendor.

Any questions, send mail to hongbin@ftsafe.com, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants