Hi, I recently bought some 'Aladdin eToken 64k SmartCard' cards and they
turned out to not be the CardOS M4.2 I expected. I believe that they're
java cards, so I tried using your gpshell-1.4.2 with globalplatform-5.0.0
to install 'MUSCLE' on them. I can't seem to get past the open_sc part. I
tried to attach a core dump to this bug, but it wouldn't let me, and it
made me type all this over again. Basically it fails with a segfault
trying to output the error. [ _tprintf (_T("select_application() returns
0x%08X (%s)\n"), rv, stringify_error(rv)); <-- GPShell.c line 657 ]
Here's the output I get:
mode_211
enable_trace
establish_context
card_connect
select -AID A0000001510000
Command --> 00A4040007A0000001510000
Wrapped command --> 00A4040007A0000001510000
Response <-- 6F0F8407A0000001510000A5049F6501FF9000
open_sc -security 1 -keyind 0 -keyver 0 -mac_key
404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f
// Open secure channel
Command --> 80CA006600
Wrapped command --> 80CA006600
Response <--
663F733D06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B0
3640B06092A864886FC6B040105660C060A2B060104012A026E01029000
Command --> 80500000085B8C862E5609D12000
Wrapped command --> 80500000085B8C862E5609D12000
Response <-- 0000075200251654397301019AFE8E7260FD24BDAA71FB1357E168979000
Segmentation fault (core dumped)
With no error message I find it difficult to continue trying to solve the
problem. Also, does anyone reading this have any advice to help me get
MUSCLE onto these cards? Am I doing something wrong?
Karsten Ohme
gpshell
None
Public
|
Date: 2009-09-17 14:06 the 0x80302000 is not known to PCSC/pcsclite.h all the defines tehre are |
|
Date: 2009-06-16 08:52 In is very uncommon to have 53 tries. You cannot say how much tries are |
|
Date: 2009-06-16 08:52 In is very uncommon to have 53 tries. You cannot say how much tries are |
|
Date: 2009-06-15 20:59 One strange thing as well... |
|
Date: 2009-06-15 20:45 Yes, maybe the key is only known to the person which issued the card. The |
|
Date: 2009-06-15 20:32 I'll leave it to you to find out what's wrong with the stringification... |
|
Date: 2009-06-15 20:31 Okay. That answers my question about what's wrong, then. If the key is |
|
Date: 2009-06-15 19:46 14/06 22:14:21 -mutual_authentication in GlobalPlatform.c at line 5986 : |
|
Date: 2009-06-15 19:09 No, you usually have 3 to 10 tries. The keys are all 404142 ... 4F by |
|
Date: 2009-06-15 02:17 I put in a card I used less than this one, and put the original card I've |
|
Date: 2009-06-15 02:06 Oh.. unless you're saying I have 3 more tries on that *particular card* and |
|
Date: 2009-06-15 02:00 *sigh* Then I've likely destroied all five of the cards I bought. |
|
Date: 2009-06-14 23:34 Can you run a "gdb gpshell core" on the core file. The files you sent me |
|
Date: 2009-06-14 20:34 OK, I have received now the core with some delay. |
|
Date: 2009-06-14 20:33 Stop trying to use this card. The mutual authentication is not successful. |
|
Date: 2009-06-14 20:15 Really? I have received no mail. |
|
Date: 2009-06-14 19:48 I've e-mailed you the core dump. |
|
Date: 2009-06-13 20:01 Hi, |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use