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.

RSA 2048

Communication

Moderator: UNKNwYSHSA

User avatar
Ibragim
Posts: 12
Joined: Sat Apr 15, 2017 3:23 am
Points :182
Location: Uzbekistan
Contact:

Re: RSA 2048

Post by Ibragim » Tue Apr 18, 2017 5:30 am

Thank you a lot!
Again OpenSC)) Smartcards, we've bought are not supported by OpenSC. Which type of Smartcard do you use? I've tried this applet, but i've got problems with openSC

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: RSA 2048

Post by UNKNwYSHSA » Tue Apr 18, 2017 9:43 pm

What's the problem?
1 Can you load and install the applet to your card?
2 Can you initialize the applet with opensc?
3 Can you apply a certificate to your card?
4 Other question(s)?

I am using java card J3D081 and JC30.
sense and simplicity

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

Re: RSA 2048

Post by tay00000 » Wed Apr 19, 2017 12:08 am

Ibragim wrote:Thank you a lot!
Again OpenSC)) Smartcards, we've bought are not supported by OpenSC. Which type of Smartcard do you use? I've tried this applet, but i've got problems with openSC


Please produce the problems in a documented, step-by-step fashion for easy assistance. Also, the model of card reader and cards used are very valuable information.

User avatar
Ibragim
Posts: 12
Joined: Sat Apr 15, 2017 3:23 am
Points :182
Location: Uzbekistan
Contact:

Re: RSA 2048

Post by Ibragim » Wed Apr 19, 2017 4:47 am

I have ACR 1281 1s dual reader, and ACOSJ Combi cards.
1. I can load and install an applet.
2. No, i can't initialize the applet with openSC => 3. I can't apply a certificate to my card

Problem is here:
During pkcs15-init -r 0 -C i got:
"New User PIN.
Please enter User PIN: Please type again to verify: Unblock Code for New User PIN (Optional - press return for no PIN).
Please enter User unblocking PIN (PUK): Please type again to verify: Failed to create PKCS #15 meta structure: Transmit failed"

I've chosen right reader index and installed Applet on my smartcard.

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: RSA 2048

Post by UNKNwYSHSA » Wed Apr 19, 2017 6:22 am

I'll find out the reason, wait for me.
sense and simplicity

User avatar
Ibragim
Posts: 12
Joined: Sat Apr 15, 2017 3:23 am
Points :182
Location: Uzbekistan
Contact:

Re: RSA 2048

Post by Ibragim » Thu Apr 20, 2017 5:00 am

Thanks for help


User avatar
Ibragim
Posts: 12
Joined: Sat Apr 15, 2017 3:23 am
Points :182
Location: Uzbekistan
Contact:

Re: RSA 2048

Post by Ibragim » Sat Apr 22, 2017 1:44 am

I have some problems with OpenSC. When i'm trying to work with my SmartCard via OpenSC applications i've got an error "Unsupported card".
In forums i've found an answer that i need smartcards driver on Windows, but manufacturer of smartcard answered me, that in this model of smartcard there's no need for driver on this model of smartcard. I'm using ACOSJ combi.

Best Regards, Ibragim

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

Re: RSA 2048

Post by tay00000 » Sat Apr 22, 2017 8:26 pm

Since you mentioned Windows driver, I assume you are attempting to use it on a Windows environment. By default, Windows and OpenSC supporting the card is two different matters.

The Windows side might be able to use it's native CCID driver to access the card over ISO-7816 for generic smart card functions but when it comes to the OpenSC toolkit, whether the OpenSC toolkit can access the card via protocol specific (GIDS APDUs) is another thing. Another thing is possible hard-coded whitelist of smart cards for accessing the system despite Windows being able to access. There is many possibilities.

One way to work around is to use a smart card explorer to utilize the Windows native CCID system to talk to the card using generic APDUs. One example of a smart card explorer would be the pyApdutool by going to TOOLS link and then on the sidebar click on the pyApdutool link and download the tool and attempt to issue a select ISD domain command. If the pyApdutool works in selecting the card domains, that means the problem lies with the OpenSC implementation. If you want more friendly and colourful GUI for a smart card explorer, you can use the JSmartCardExplorer (https://sourceforge.net/projects/jsmartcard/).

On a personal note, I don't really trust the OpenSC implementations these days as there are much to be desired from the project as I have bummed my toes on it many times. I prefer to write my own implementation from scratch and learnt to read the ISO or standards specs on my own while doing my own implementations :) .

If you are interested in writing your own library to access GIDS cards, you may refer to Microsoft's documentation here (https://msdn.microsoft.com/en-us/librar ... 85%29.aspx).

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 16 guests

JavaCard OS : Disclaimer