pin verify DA command problem

Nov 2, 2010 at 2:18 PM

I am trying to execute the DA command to verify PIN. I have used the same TPK and PVK from the PVV demo project and using the tcpworker.

I am getting a response code of invalid input and wondering someone can help me identify what I am doing incorrectly.

 

here is the winsimulator output.

=== [DA], starts 10:40:24.669 =======
[Key,Value]=[Account Number,407000025321]
[Key,Value]=[Check Length,04]
[Key,Value]=[Decimalisation Table,4561237897654321]
[Key,Value]=[Maximum PIN Length,12]
[Key,Value]=[Offset,0000FFFFFFFF]
[Key,Value]=[PIN Block,028DCC093FB0471F]
[Key,Value]=[PIN Block Format Code,03]
[Key,Value]=[PIN Validation Data,12345N654321]
[Key,Value]=[PVK,A8B1520E201412938388191885FFA50A]
[Key,Value]=[PVK Scheme,U]
[Key,Value]=[TPK,8463435FC4B4DAA0C49025272C29B12C]
[Key,Value]=[TPK Scheme,U]

=== [DA],   ends 10:40:24.669 =======

output from my program

sent:1234DAU8463435FC4B4DAA0C49025272C29B12CUA8B1520E201412938388191885FFA50A12028DCC093FB0471F0304407000025321456123789765432112345N6543210000FFFFFFFFFFFF
received:1234DB15

As you can see, I am getting return code 15(invalid data).

Appreciate any feedback!!!

 

Coordinator
Nov 2, 2010 at 4:50 PM

What is the clear value of the PIN?

Nov 3, 2010 at 9:12 AM

its 1234

pin with padded F:1234FFFFFFFFFFFF
padded pin T-DES encrypted:028DCC093FB0471F

Coordinator
Nov 3, 2010 at 9:42 AM

The PIN block looks good. I've found out why you're getting a 15 back from the command but this is not the only problem. Allow me some time to look into it some more.

Coordinator
Nov 3, 2010 at 9:55 AM

One more quick question, were you expecting a 01 (Pin Verification failed) response?

Nov 3, 2010 at 10:16 AM

yes, assuming there no other errors with command format.

Coordinator
Nov 3, 2010 at 10:20 AM

Super, I'll post a fix for this in the next few minutes. BTW, what is the correct PIN?

Nov 3, 2010 at 11:45 AM

I don't know the correct PIN for this one.

Coordinator
Nov 3, 2010 at 11:52 AM

I've posted the fix. Please download changeset 57015 and let me know if it solves this problem.

Nov 3, 2010 at 2:59 PM

It works now.. thank you Nick..

Nov 16, 2010 at 2:24 PM

Hi Nick, could you also update the installer steup file with this new fix, becouse I dont have a Visual Basic 2008

Coordinator
Nov 16, 2010 at 5:15 PM

The installer for 0.9.2 should include this fix! If it doesn't please let me know!

Nov 16, 2010 at 6:04 PM

Yes, it is actually OK in this version, thanks a lot for your reply

Nov 16, 2010 at 6:06 PM

Do you think that I can get installer as well for PVVClashingDemo

Coordinator
Nov 16, 2010 at 6:35 PM

The setup installers and the source code is due for a minor restructuring in the next version. If it's important to get the PVV Clashing Demo then please send me a private message and I'll figure out a way to send you the executable.

Nov 16, 2010 at 6:43 PM

I love to get it soon if you can, How I can send you a private message.

Coordinator
Nov 16, 2010 at 7:44 PM

Go to my profile page and click on contact. You need to allow yourself to be contacted as well on your own profile.