
JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
The ALgorithm of DES Sample Code
Moderator: product
-
- Posts: 2
- Joined: Thu Jul 23, 2020 6:22 pm
- Points :28
- Contact:
Re: The ALgorithm of DES Sample Code
Thank you so much for the help 

"Tech career Success story of the week " https://dev.to/scaleracademy/experience ... shers-273i
-
- Posts: 38
- Joined: Tue Aug 18, 2020 6:08 pm
- Points :320
- Contact:
Re: The ALgorithm of DES Sample Code
when i launch debug i have this error. it compil well.
this sample code use java_card_kit-310b43 on property/Library Options
the problem only arises with your applet, all the other applets that I created work well in debug mode, I have a J2A040 card, does it not support the encryption code? or is this a bug of the example? yet PKIApplet works very well
on windows output from JCIDE, i have this:
Modify setting from JVM, now i hace this error on debug
I think there is a bug on this code, but where ?
thanks for your help.
Code: Select all
Launch successfully
Connect APDU port faield.
Connect failed. Reason:connect error: Cref connect failed. Addr: 127.0.0.1, Port: 9025
the problem only arises with your applet, all the other applets that I created work well in debug mode, I have a J2A040 card, does it not support the encryption code? or is this a bug of the example? yet PKIApplet works very well
on windows output from JCIDE, i have this:
Code: Select all
CREF I/O error; Protocol mismatch or first command is not PowerUp
Code: Select all
Install Applet failed. Reason:Install applet error Install Applet failed. Send: 80 B8 00 00 1C 0B 4A 61 76 61 43 61 72 64 4F 53 02 0F 0B 4A 61 76 61 43 61 72 64 4F 53 02 01 00 00 00, Recv: 64 44..
VReader:ack warn reset.
JCVM:connect fail.
Connect failed. Reason:connect error: Cref connect failed. Addr: 127.0.0.1, Port: 9025
VReader:ack ATR .
JCVM:3BD01100C0FFB1209F1F07E8
client VReader disconnect.
Disconnect CB port
thanks for your help.
Re: The ALgorithm of DES Sample Code
viewtopic.php?f=15&t=2252andromeda92 wrote: ↑Thu Sep 10, 2020 7:08 pmwhen i launch debug i have this error. it compil well.
this sample code use java_card_kit-310b43 on property/Library OptionsCode: Select all
Launch successfully Connect APDU port faield. Connect failed. Reason:connect error: Cref connect failed. Addr: 127.0.0.1, Port: 9025
the problem only arises with your applet, all the other applets that I created work well in debug mode, I have a J2A040 card, does it not support the encryption code? or is this a bug of the example? yet PKIApplet works very well
on windows output from JCIDE, i have this:Modify setting from JVM, now i hace this error on debugCode: Select all
CREF I/O error; Protocol mismatch or first command is not PowerUp
I think there is a bug on this code, but where ?Code: Select all
Install Applet failed. Reason:Install applet error Install Applet failed. Send: 80 B8 00 00 1C 0B 4A 61 76 61 43 61 72 64 4F 53 02 0F 0B 4A 61 76 61 43 61 72 64 4F 53 02 01 00 00 00, Recv: 64 44.. VReader:ack warn reset. JCVM:connect fail. Connect failed. Reason:connect error: Cref connect failed. Addr: 127.0.0.1, Port: 9025 VReader:ack ATR . JCVM:3BD01100C0FFB1209F1F07E8 client VReader disconnect. Disconnect CB port
thanks for your help.
well
-
- Posts: 38
- Joined: Tue Aug 18, 2020 6:08 pm
- Points :320
- Contact:
Re: The ALgorithm of DES Sample Code
I see the post but i can't select JAVACOS, it's grayed to CREF.
Re: The ALgorithm of DES Sample Code
Select it. the it will show a combox . then select JAVACOS chippack.andromeda92 wrote: ↑Fri Sep 11, 2020 6:57 amI see the post but i can't select JAVACOS, it's grayed to CREF.
well
-
- Posts: 38
- Joined: Tue Aug 18, 2020 6:08 pm
- Points :320
- Contact:
Re: The ALgorithm of DES Sample Code
I can't select JAVACOS, the combobox is grayed, i can't select anything, see image.
https://imgur.com/Pa9Wttj
https://imgur.com/Pa9Wttj
Re: The ALgorithm of DES Sample Code
In debug config viewandromeda92 wrote: ↑Fri Sep 11, 2020 7:36 amI can't select JAVACOS, the combobox is grayed, i can't select anything, see image.
https://imgur.com/Pa9Wttj
viewtopic.php?f=15&t=2252
No in properties view.
well
-
- Posts: 38
- Joined: Tue Aug 18, 2020 6:08 pm
- Points :320
- Contact:
Re: The ALgorithm of DES Sample Code
ok it work now,
thank you very much.
thank you very much.
-
- Posts: 38
- Joined: Tue Aug 18, 2020 6:08 pm
- Points :320
- Contact:
Re: The ALgorithm of DES Sample Code
now it compil, but i can't download it to smart card J2A040 with pyApdutool:
Any idea ?
What is wrong ?
Code: Select all
Download Cap begin...
Download Cap error: Download cap file failed. Send: 80 E8 00 00 F0 C4 82 03 02 01 00 15 DE CA FF ED 03 02 04 00 01 0A 4A 61 76 61 43 61 72 64 4F 53 00 02 00 25 00 15 00 25 00 0F 00 29 00 7A 00 17 01 A0 00 0A 00 3A 00 00 01 0D 05 DF 00 00 00 00 00 00 00 00 00 00 04 01 00 04 00 29 04 07 01 07 A0 00 00 00 62 01 01 07 01 07 A0 00 00 00 62 02 01 07 01 07 A0 00 00 00 62 01 02 00 01 07 A0 00 00 00 62 00 01 03 00 0F 01 0B 4A 61 76 61 43 61 72 64 4F 53 02 00 42 06 00 17 00 00 00 80 03 07 00 06 07 01 00 00 00 56 00 01 02 03 04 05 06 07 08 07 01 A0 00 04 10 18 8C 00 08 18 10 20 90 0B 87 00 18 10 08 90 0B 87 01 03 B6 02 18 08 03 8D 00 09 87 03 18 04 03 8D 00 09 87 04 18 05 11 00 80 03 8D 00 07 87 05 18 05 11 00 C0 03 8D 00 07 87 06 8D 00 0A 7A 05 30 8F 00 0B 3D 8C 00 0C 18 1D 04 41 18 1D, Recv: 6A 80.
What is wrong ?
Who is online
Users browsing this forum: No registered users and 14 guests