Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

signPreComputedHash on JC30M48CR

JavaCard Applet Development Related Questions and Answers.
llogar
Posts: 5
Joined: Mon Jun 05, 2017 11:20 am
Points :114
Contact:

signPreComputedHash on JC30M48CR

Post by llogar » Tue Jun 13, 2017 9:19 am

Hi

I am trying to do ECC signatures on pre computed data using the signPreComputedHash() function. The applet I am using is working just fine on A22CR, but the verification of the signature data I get from JC30M48CR card fails. I am using prime256v1 curve and SHA256 hash for EC parameters and hashing. If I do the hashing on-card using Signature.sign() function, then the applet produces valid/verifiable signature on both (A22CR and JC30M48CR) cards. It's only when I sign the pre generated hash value I get the signature (from JC30M48CR card) that fails verification (verification done by openssl on the PC). A22CR returns the correct signature. Has anybody succeeded in using signPreComputedHash() function on JC30M48CR card?

Regards
Luka

tay00000
Posts: 161
Joined: Tue Sep 27, 2016 10:58 am
Points :2324
Contact:

Re: signPreComputedHash on JC30M48CR

Post by tay00000 » Wed Jun 14, 2017 5:51 am

Your post is simply too brief to allow a more detailed understanding of your problem. Please post your source code that is causing the problem so that we could help. Are there any Status Words that are not 0x9000 that are returned during the operation ?

User avatar
JavaCardOS
Posts: 273
Joined: Thu Apr 30, 2015 12:00 pm
Points :2403
Contact:

Re: signPreComputedHash on JC30M48CR

Post by JavaCardOS » Wed Jun 14, 2017 10:12 pm

Hi Luka,

Our technical supports are working on solving your problem.

Once there is any news, I will keep you updated.

BR

User avatar
JavaCardOS
Posts: 273
Joined: Thu Apr 30, 2015 12:00 pm
Points :2403
Contact:

Re: signPreComputedHash on JC30M48CR

Post by JavaCardOS » Thu Jun 15, 2017 3:20 am

Hi Luka,

Our technical supports have confirmed that there is a bug in JC30M48CR card OS. And they have already fixed it and released the new OS just now.

If you need us to re-deliver the new JC30M48CR cards to you, please contact javacardos@gmail.com. They will help to re-send the new cards.

Sorry for any inconvenience caused.

Best regards

llogar
Posts: 5
Joined: Mon Jun 05, 2017 11:20 am
Points :114
Contact:

Re: signPreComputedHash on JC30M48CR

Post by llogar » Thu Jun 15, 2017 4:31 am

Hi,

Thank you for the prompt reply & fix. I've sent an email...

Kind regards
Luka

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 52 guests

JavaCard OS : Disclaimer