|
From: philippe f. <phi...@ya...> - 2009-09-30 14:01:21
|
Hello,
I am currently facing some issue with gpshell last version
the hello world works but it does not with any other cap file
here is the error, something about wrong value comming from the card
can you have a look? would be kind, I keep struggling to have cap files in nokia phones
but your tool ar the only one that seems to work
plz help me out
thx, have a nice day
mode_211
enable_trace
establish_context
card_connect -readerNumber 2
* reader name OMNIKEY CardMan 5x21-CL 0
select -AID a000000003000000
Command --> 00A4040008A000000003000000
Wrapped command --> 00A4040008A000000003000000
Response <-- 6F108408A000000003000000A5049F6501FF9000
open_sc -security 3 -keyver 42 -mac_key 404142434445464748494A4B4C4D4E4F -enc_key 404142434445464748494A4B4C4D4E4F -kek_key 404142434445464748494A4B4C4D4E4F
Command --> 80CA006600
Wrapped command --> 80CA006600
Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000
Command --> 80502A0008C453FA25E528127200
Wrapped command --> 80502A0008C453FA25E528127200
Response <-- 000073204CC7A85453292A02001C389736801E91531A9CC29523CDA99000
Command --> 848203001011B0FCFA2F4C342CE32AE87469F2C20A
Wrapped command --> 848203001011B0FCFA2F4C342CE32AE87469F2C20A
Response <-- 9000
get_status -element 20
Command --> 80F22000024F0000
Wrapped command --> 84F2200010DD0DA4CBDB95ABD873FB51E99ED8D1F900
Response <-- 07A000000003535001000CD276000005AA04036001041001000BD276000005AA0503E0040101000BD276000005AA0503E0050101009000
GP211_get_status() returned 4 items
List of elements (AID state privileges)
a0000000035350 1 0
d276000005aa040360010410 1 0
d276000005aa0503e00401 1 0
d276000005aa0503e00501 1 0
delete -AID a00000006203010c0101
Command --> 80E400800C4F0AA00000006203010C010100
Wrapped command --> 84E400801866B6144AC33B8B09F5407AE3AF46FD5D47CED38D3D75296C00
Response <-- 6A88
delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
delete -AID a00000006203010c01
Command --> 80E400800B4F09A00000006203010C0100
Wrapped command --> 84E400801827BEE93A97C815C6360FA98CEC4F8B56889C2A5BD27F3CFC00
Response <-- 6A88
delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
delete -AID a00000006203010c0101
Command --> 80E400800C4F0AA00000006203010C010100
Wrapped command --> 84E400801866B6144AC33B8B09F5407AE3AF46FD5D56F8940503457AE800
Response <-- 6A88
delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
delete -AID a00000006203010c01
Command --> 80E400800B4F09A00000006203010C0100
Wrapped command --> 84E400801827BEE93A97C815C6360FA98CEC4F8B567B02190A3FBC995500
Response <-- 6A88
delete_applet() returns 0x80206A88 (6A88: Referenced data not found.)
install -file ClassicApplet1.cap -priv 2
file name ClassicApplet1.cap
Command --> 80E6020019061F3EF68C943F08A0000000030000000006EF04C60201A80000
Wrapped command --> 84E60200284FF8C78F7E31C7E7044149A6F46706DF057081BC4FB68E6D74C981EF195329900C5FEC02B6FE0A3E00
Response <-- 009000
Command --> 80E80000EFC482019C010010DECAFFED0102040001061F3EF68C943F02001F0010001F000A0015002A000C007B000A00140000006100000000000002010004001502040107A0000000620101000107A000000062000103000A01061F3EF68C94DE000106000C00800301FF0007010000001707007B0002308F00013D8C00073B7A0110188C0002188B00037A0321198B00042D188B000560037A1A032510B06A08116E008D00061A042573003F00000003000F001A00250032183D840004415B8800702D183D840004435B880070221A03AE00381903048B00087015198B00093B181A082588007008116D008D00067A08000A00
Wrapped command --> 84E80000F82B589818FDB6CD7AA74507FFCEEA27E55710E3C19B555FC4227818D4E91B647DB82880502E37491E9B8C4CEBB45F2A75D1F67D8B3B9A2D8A417EB597649EA9C6299240F8276FE70012EF63E94DD3CB6A8D8FD775D5AD4ACBF7BEB8870FD047096B73E2F9D0A580A6541114430A65E879442CDB6A8BAE0EEE352CF630F62B0F2368F6F2583192C327EE4CA7121D372687B95C84CDE1A639A00C9972603EA7D5A1BA3594ABCC23425423E4C5166CDCD5EAFA2287338CC536349DFCC289AA2A775D69F399C41B23AB1334C1BC39D36C3205C79339A5C7E2B81CB5AB970042C7987F5E03B47B702B2A83DD187C58553D71E510406BB691B85483
Response <-- 6A80
load_applet() returns 0x80206A80 (6A80: Wrong data / Incorrect values in command data.)
|
|
From: Karsten O. <kar...@go...> - 2009-09-30 15:59:51
|
Hi, I conclude from you log, that your program is quite small and fits into a single load block. Here it fails. Usually after the load the card analyzes the code in the file and rejects it if something is wrong. So maybe you are not using the right Java Card version or something in you program is not supported by the smart card. Simplify you program to find the error and use the given Java Card version appropriate for your smart card. Karsten philippe florent schrieb: > Hello, > > I am currently facing some issue with gpshell last version > > the hello world works but it does not with any other cap file > > here is the error, something about wrong value comming from the card > > can you have a look? would be kind, I keep struggling to have cap > files in nokia phones > but your tool ar the only one that seems to work > > plz help me out > thx, have a nice day > > mode_211 > enable_trace > establish_context > card_connect -readerNumber 2 > * reader name OMNIKEY CardMan 5x21-CL 0 > select -AID a000000003000000 > Command --> 00A4040008A000000003000000 > Wrapped command --> 00A4040008A000000003000000 > Response <-- 6F108408A000000003000000A5049F6501FF9000 > open_sc -security 3 -keyver 42 -mac_key > 404142434445464748494A4B4C4D4E4F -enc_key > 404142434445464748494A4B4C4D4E4F -kek_key 404142434445464748494A4B4C4D4E4F > Command --> 80CA006600 > Wrapped command --> 80CA006600 > Response <-- > 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000 > Command --> 80502A0008C453FA25E528127200 > Wrapped command --> 80502A0008C453FA25E528127200 > Response <-- 000073204CC7A85453292A02001C389736801E91531A9CC29523CDA99000 > Command --> 848203001011B0FCFA2F4C342CE32AE87469F2C20A > Wrapped command --> 848203001011B0FCFA2F4C342CE32AE87469F2C20A > Response <-- 9000 > get_status -element 20 > Command --> 80F22000024F0000 > Wrapped command --> 84F2200010DD0DA4CBDB95ABD873FB51E99ED8D1F900 > Response <-- > 07A000000003535001000CD276000005AA04036001041001000BD276000005AA0503E0040101000BD276000005AA0503E0050101009000 > GP211_get_status() returned 4 items > List of elements (AID state privileges) > a0000000035350 1 0 > d276000005aa040360010410 1 0 > d276000005aa0503e00401 1 0 > d276000005aa0503e00501 1 0 > delete -AID a00000006203010c0101 > Command --> 80E400800C4F0AA00000006203010C010100 > Wrapped command --> > 84E400801866B6144AC33B8B09F5407AE3AF46FD5D47CED38D3D75296C00 > Response <-- 6A88 > delete_applet() returns 0x80206A88 (6A88: Referenced data not found.) > delete -AID a00000006203010c01 > Command --> 80E400800B4F09A00000006203010C0100 > Wrapped command --> > 84E400801827BEE93A97C815C6360FA98CEC4F8B56889C2A5BD27F3CFC00 > Response <-- 6A88 > delete_applet() returns 0x80206A88 (6A88: Referenced data not found.) > delete -AID a00000006203010c0101 > Command --> 80E400800C4F0AA00000006203010C010100 > Wrapped command --> > 84E400801866B6144AC33B8B09F5407AE3AF46FD5D56F8940503457AE800 > Response <-- 6A88 > delete_applet() returns 0x80206A88 (6A88: Referenced data not found.) > delete -AID a00000006203010c01 > Command --> 80E400800B4F09A00000006203010C0100 > Wrapped command --> > 84E400801827BEE93A97C815C6360FA98CEC4F8B567B02190A3FBC995500 > Response <-- 6A88 > delete_applet() returns 0x80206A88 (6A88: Referenced data not found.) > install -file ClassicApplet1.cap -priv 2 > file name ClassicApplet1.cap > Command --> 80E6020019061F3EF68C943F08A0000000030000000006EF04C60201A80000 > Wrapped command --> > 84E60200284FF8C78F7E31C7E7044149A6F46706DF057081BC4FB68E6D74C981EF195329900C5FEC02B6FE0A3E00 > Response <-- 009000 > Command --> > 80E80000EFC482019C010010DECAFFED0102040001061F3EF68C943F02001F0010001F000A0015002A000C007B000A00140000006100000000000002010004001502040107A0000000620101000107A000000062000103000A01061F3EF68C94DE000106000C00800301FF0007010000001707007B0002308F00013D8C00073B7A0110188C0002188B00037A0321198B00042D188B000560037A1A032510B06A08116E008D00061A042573003F00000003000F001A00250032183D840004415B8800702D183D840004435B880070221A03AE00381903048B00087015198B00093B181A082588007008116D008D00067A08000A00 > Wrapped command --> > 84E80000F82B589818FDB6CD7AA74507FFCEEA27E55710E3C19B555FC4227818D4E91B647DB82880502E37491E9B8C4CEBB45F2A75D1F67D8B3B9A2D8A417EB597649EA9C6299240F8276FE70012EF63E94DD3CB6A8D8FD775D5AD4ACBF7BEB8870FD047096B73E2F9D0A580A6541114430A65E879442CDB6A8BAE0EEE352CF630F62B0F2368F6F2583192C327EE4CA7121D372687B95C84CDE1A639A00C9972603EA7D5A1BA3594ABCC23425423E4C5166CDCD5EAFA2287338CC536349DFCC289AA2A775D69F399C41B23AB1334C1BC39D36C3205C79339A5C7E2B81CB5AB970042C7987F5E03B47B702B2A83DD187C58553D71E510406BB691B85483 > *Response <-- 6A80 > load_applet() returns 0x80206A80 (6A80: Wrong data / Incorrect values > in command data.)* > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > ------------------------------------------------------------------------ > > _______________________________________________ > Globalplatform-users mailing list > Glo...@li... > https://lists.sourceforge.net/lists/listinfo/globalplatform-users > |