You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
(18) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(15) |
Nov
|
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
(4) |
Jun
|
Jul
(10) |
Aug
(7) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
2008 |
Jan
(2) |
Feb
(7) |
Mar
(1) |
Apr
(7) |
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(9) |
Oct
(6) |
Nov
|
Dec
(22) |
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(3) |
Jul
(2) |
Aug
(2) |
Sep
(3) |
Oct
|
Nov
(6) |
Dec
(1) |
2010 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
(11) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(11) |
Aug
(7) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
(2) |
Feb
|
Mar
(4) |
Apr
(5) |
May
(6) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2015 |
Jan
|
Feb
(2) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2017 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Karsten O. <wid...@t-...> - 2007-10-18 21:35:51
|
sunil kumar schrieb: > Hi everybody, > > I am pretty new GlobalPlatform. So if any questions i am asking is so > simple for you people, please forgive. > > The steps i followed to use this platform for installing a cardlet ( > cardlet is already available ) to a 6131 NFC phone through a pegoda > reader are, > > 1. Downloaded all packages from sourceforge for project Global Platform4.2.3 > 2. Connected Philips pegoda reader to USB port (usb-drivers already > installed. but i think pegoda is not PC/SC type reader. Is > this type(PC/SC) is necessary for GPShell platform?) Yes! It can communicate with every PC/SC reader. I cannot imagine that it has no PC/SC driver. > 3. I enabled the Smart Card service for my XP(SP2) machine. ( is this > step needed) Yes. But it should be enabled automatically. > 4. Added path to GPShell folder to PATH env-variable > 5. Tried to use default script present in the GPShell directory (ie, > helloInstall.txt) > > which gives the following error : > > Sunil > GPShell.exe helloInstall.txt Is there no helloInstallNokia6131NFC.txt file? If now it is in CVS or attached in this mail. > enable_trace > establish_context > card_connect > list_readers failed with error 0x8010002E (C) > > 1. What doesthis mean? The reader is not found. > 2. In which step i went wrong? or i missed some steps? > > I think the shell is not able to recognize my reader. () > 1. How can i specify a reader which is connected to my pc? card_connect -reader [Reader Name] // Connect to card in the reader card_connect -readerNumber [Reader Number x] // Connect to card in the xth reader in the system > 2. What are the supporting readers for GPShell ? > 3. I have one PN531 reader also with me. will this help? Maybe. Just some some other tool, maybe you have a diagnostic tool, to see if the reader works. Is it installed under hardware devices? > > I have the following queries: > > 1. I dont know what all the downloaded packages(GlobalPlatform4.2.3, > Openplatform, Jopenplatfrom etc) do. Forget OpenPlatform, JOpenPlatform. Use only the > What i know is > GPShell1.4.1 can be used to communicate to a secure-element > through a reader. Any help towards the > defenitions(usage) of all these packages will be helpful for me. > Also i want to know what is the purpose of all these packages and > the relation ship between them > 2. What are all the hardware(smartcard readers) that GPShell supports? PC/SC. > 3. Using GlobalPlatform, can i make cardlets? You can isntall CAP files, yes. Most commonly Java Cards are used. I don't know of another system. > > I know this is a pretty long mail with lot of questions. But any help , > directions or corrections is appreciated. WBR, Karsten > > Thanking you in advance. > Sunil Kumar E > > ------------------------------------------------------------------------ > Forgot the famous last words? Access your message archive online. Click > here. > <http://in.rd.yahoo.com/tagline_webmessenger_4/*http://in.messenger.yahoo.com/webmessengerpromo.php> > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Globalplatform-users mailing list > Glo...@li... > https://lists.sourceforge.net/lists/listinfo/globalplatform-users |
From: sunil k. <esu...@ya...> - 2007-10-18 08:48:00
|
Hi everybody, I am pretty new GlobalPlatform. So if any questions i am asking is so simple for you people, please forgive. The steps i followed to use this platform for installing a cardlet ( cardlet is already available ) to a 6131 NFC phone through a pegoda reader are, 1. Downloaded all packages from sourceforge for project Global Platform4.2.3 2. Connected Philips pegoda reader to USB port (usb-drivers already installed. but i think pegoda is not PC/SC type reader. Is this type(PC/SC) is necessary for GPShell platform?) 3. I enabled the Smart Card service for my XP(SP2) machine. ( is this step needed) 4. Added path to GPShell folder to PATH env-variable 5. Tried to use default script present in the GPShell directory (ie, helloInstall.txt) which gives the following error : Sunil > GPShell.exe helloInstall.txt enable_trace establish_context card_connect list_readers failed with error 0x8010002E (C) 1. What doesthis mean? 2. In which step i went wrong? or i missed some steps? I think the shell is not able to recognize my reader. () 1. How can i specify a reader which is connected to my pc? 2. What are the supporting readers for GPShell ? 3. I have one PN531 reader also with me. will this help? I have the following queries: 1. I dont know what all the downloaded packages(GlobalPlatform4.2.3, Openplatform, Jopenplatfrom etc) do. What i know is GPShell1.4.1 can be used to communicate to a secure-element through a reader. Any help towards the defenitions(usage) of all these packages will be helpful for me. Also i want to know what is the purpose of all these packages and the relation ship between them 2. What are all the hardware(smartcard readers) that GPShell supports? 3. Using GlobalPlatform, can i make cardlets? I know this is a pretty long mail with lot of questions. But any help , directions or corrections is appreciated. Thanking you in advance. Sunil Kumar E --------------------------------- Forgot the famous last words? Access your message archive online. Click here. |
From: JieSheng C. <lov...@gm...> - 2007-08-27 07:26:46
|
Hi, I encounter some problem while attempting to install a CAP file with the source that is provided in the Nokia NFC 6131 SDK 1.1. I run the verifycap.bat from the Java Card Development Kit before installing and it return no error. ----- Log ----- D:\Module Documents\FYP\GlobalPlatform\GPShell-1.4.1>GPShell.exeapplInstallNoki a6131NFC.txt mode_211 enable_trace establish_context card_connect -readerNumber 2 * reader name OMNIKEY CardMan 5x21-CL 0 open_sc -security 3 -keyver 42 -mac_key 404142434445464748494A4B4C4D4E4F -enc_ke y 404142434445464748494A4B4C4D4E4F -kek_key 404142434445464748494A4B4C4D4E4F --> 00CA006600 <-- 734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B 06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000 --> 80502A000869271D5123384B3B00 <-- 00006342C017F4A801092A0200072ECCEBB6BA1F6FE591EDFF9B43EA9000 --> 84820300104B52D5EF708FB619054436EE3147F07B <-- 9000 delete -AID a00000006203010c0101 --> 80E400800C4F0AA00000006203010C010100 <-- 6A88 delete_applet() returns 0x80206A88 (6A88: Referenced data not found.) delete -AID a00000006203010c01 --> 80E400800B4F09A00000006203010C0100 <-- 6A88 delete_applet() returns 0x80206A88 (6A88: Referenced data not found.) delete -AID a00000006203010c0101 --> 80E400800C4F0AA00000006203010C010100 <-- 6A88 delete_applet() returns 0x80206A88 (6A88: Referenced data not found.) install -file appl.cap -priv 2 file name appl.cap --> 80E602001409A00000006203010C02000006EF04C60202000000 <-- 009000 --> 80E80000EFC48201F4010013DECAFFED010204000109A00000006203010C0202001F0013001F 000E00150036000C009B002000130000007100040002001002010004001502030107A00000006201 01000107A000000062000103000E010AA00000006203010C0201000806000C00800300FF00070100 00001C07009B000110188C00007A05308F00013D8C0002181D0441181D258B00037A0524198B0004 2D1A0325610A1A042510A46B037A1A032510806A0A116E008D0005705D1A0425046B511A0725321F 054961077B000670057B000728041504921F41058D000828051504031505031504928D00093B1A08 15051504921F <-- 6A80 load_applet() returns 0x80206A80 (6A80: Wrong data / Incorrect values in command data.) ------------------------------------------------------------------------------------------------------------------------------------------------------ -- Jie Sheng, Chua (+65) 97520245 lov...@gm... |
From: Karsten O. <wid...@t-...> - 2007-08-25 10:57:06
|
JieSheng Chua schrieb: > Hi, > > I attempted to install and delete from the Java Card (Nokia NFC 6131 > Phone) and i need help in reading the response code. I have totally no > idea what is it talking about. It would be great help if you guys can > roughly tell me what it is about and how to go about reading it. > Below have the script that is send and also the response that is received. The output means everything worked fine. I you do not want to see the output remove enable_trace or comment it out with "#". If the answer end with 9000 everything worked fine. 9000 means success. Everything else is not beginning with 90 is an error. The only error you have is 6A88 (not found) when deleting something. This is logical, because the applet you want to delete does not exist on the card. Regards, Karsten > > ----- Install Script: ----- > > mode_211 > enable_trace > establish_context > card_connect -readerNumber 2 > open_sc -security 3 -keyver 42 -mac_key 404142434445464748494A4B4C4D4E4F > -enc_key 404142434445464748494A4B4C4D4E4F -kek_key > 404142434445464748494A4B4C4D4E4F > delete -AID a00000006203010c0101 > delete -AID a00000006203010c01 > delete -AID a00000006203010c0101 > install -file HelloWorld.cap -priv 2 > card_disconnect > release_context > > --------------------------------------------------------------------------- > ----- Result: ----- > > D:\Module Documents\FYP\GlobalPlatform\GPShell-1.4.1>GPShell.exe > helloInstallNokia6131NFC2.txt > mode_211 > enable_trace > establish_context > card_connect -readerNumber 2 > * reader name OMNIKEY CardMan 5x21-CL 0 > open_sc -security 3 -keyver 42 -mac_key 404142434445464748494A4B4C4D4E4F > -enc_ke > y 404142434445464748494A4B4C4D4E4F -kek_key 404142434445464748494A4B4C4D4E4F > --> 00CA006600 > <-- > 734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B > > 06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000 > > --> 80502A0008508792E2A8C718DA00 > <-- 00006342C017F4A801092A0200016C7FFC113FB930C460AF15ED8B329000 > --> 8482030010D06EB155D8B329E87B96B1D69BB1A054 > <-- 9000 > delete -AID a00000006203010c0101 > --> 80E400800C4F0AA00000006203010C010100 > <-- 6A88 > delete_applet() returns 0x80206A88 (6A88: Referenced data not found.) > delete -AID a00000006203010c01 > --> 80E400800B4F09A00000006203010C0100 > <-- 6A88 > delete_applet() returns 0x80206A88 (6A88: Referenced data not found.) > delete -AID a00000006203010c0101 > --> 80E400800C4F0AA00000006203010C010100 > <-- 6A88 > delete_applet() returns 0x80206A88 (6A88: Referenced data not found.) > install -file HelloWorld.cap -priv 2 > file name HelloWorld.cap > --> 80E602001409A00000006203010C01000006EF04C60201A80000 > <-- 009000 > --> > 80E80000EFC482019B010013DECAFFED010204000109A00000006203010C0102001F0013001F > 000E000B0036000C0067000A00130000006C00000000000001010004000B01000107A00000006201 > 0103000E010AA00000006203010C0101001406000C00800301000107010000001F07006700021018 > > 8C000118110100900B8700188B00027A02308F00033D8C00043B7A0523198B00052D198B00063203 > 290470191A08AD0016041F8D000B3B16041F41290419088B000C321F64E8198B00073B1916040841 > 8B00081903088B000919AD000316048B000A7A08000A00000000000000000000050036000D020000 > > 000680030003 > <-- 009000 > --> > 80E88001B0800301010000000600000103800A0103800A0603800A0703800A0903800A040380 > 0A050680100203800A0309001300030E252C000C050C06040805100C080906090B006C0100010000 > 00000100030002000000001C00840001001E0011000000000109001400300009000000000701001F > > 0033004600000000000D001C001E001EFFFF001E001C00200020002200240027002A002E01B00110 > 0140024103441004B44106B4B444024404B431066800A100 > <-- 009000 > --> > 80E60C002609A00000006203010C010AA00000006203010C01010AA00000006203010C010101 > > 0202C9000000 > <-- 009000 > card_disconnect > release_context > > --------------------------------------------------------------------------- > ----- List Script: ----- > > mode_211 > enable_trace > establish_context > card_connect -readerNumber 2 > select -AID a0000000030000 > open_sc -security 3 -keyver 42 -mac_key 404142434445464748494a4b4c4d4e4f > -enc_key 404142434445464748494a4b4c4d4e4f -kek_key > 404142434445464748494a4b4c4d4e4f -priv 2 card_disconnect > release_context > > --------------------------------------------------------------------------- > ----- Result: ----- > > D:\Module Documents\FYP\GlobalPlatform\GPShell-1.4.1>GPShell.exe list2.txt > mode_211 > enable_trace > establish_context > card_connect -readerNumber 2 > * reader name OMNIKEY CardMan 5x21-CL 0 > select -AID a0000000030000 > --> 00A4040007A0000000030000 > <-- 6F108408A000000003000000A5049F6501FF9000 > open_sc -security 3 -keyver 42 -mac_key 404142434445464748494a4b4c4d4e4f > -enc_ke > y 404142434445464748494a4b4c4d4e4f -kek_key > 404142434445464748494a4b4c4d4e4f -pr > iv 2 > --> 00CA006600 > <-- > 734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B > > 06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000 > > --> 80502A0008912B738A3ACCC9E300 > <-- 00006342C017F4A801092A020002598DD3961BFDB2CA8EC94EDB95F89000 > --> 84820300109F07658E2BBBD10B6A395F80BDA38DC7 > <-- 9000 > card_disconnect > release_context > > --------------------------------------------------------------------------- > > Thanks alot and Best Regards. > -- > Jie Sheng, Chua > (+65) 97520245 > lov...@gm... <mailto:lov...@gm...> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Globalplatform-users mailing list > Glo...@li... > https://lists.sourceforge.net/lists/listinfo/globalplatform-users |
From: JieSheng C. <lov...@gm...> - 2007-08-25 09:01:52
|
Hi, I attempted to install and delete from the Java Card (Nokia NFC 6131 Phone) and i need help in reading the response code. I have totally no idea what is it talking about. It would be great help if you guys can roughly tell me what it is about and how to go about reading it. Below have the script that is send and also the response that is received. ----- Install Script: ----- mode_211 enable_trace establish_context card_connect -readerNumber 2 open_sc -security 3 -keyver 42 -mac_key 404142434445464748494A4B4C4D4E4F -enc_key 404142434445464748494A4B4C4D4E4F -kek_key 404142434445464748494A4B4C4D4E4F delete -AID a00000006203010c0101 delete -AID a00000006203010c01 delete -AID a00000006203010c0101 install -file HelloWorld.cap -priv 2 card_disconnect release_context --------------------------------------------------------------------------- ----- Result: ----- D:\Module Documents\FYP\GlobalPlatform\GPShell-1.4.1>GPShell.exe helloInstallNokia6131NFC2.txt mode_211 enable_trace establish_context card_connect -readerNumber 2 * reader name OMNIKEY CardMan 5x21-CL 0 open_sc -security 3 -keyver 42 -mac_key 404142434445464748494A4B4C4D4E4F -enc_ke y 404142434445464748494A4B4C4D4E4F -kek_key 404142434445464748494A4B4C4D4E4F --> 00CA006600 <-- 734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B 06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000 --> 80502A0008508792E2A8C718DA00 <-- 00006342C017F4A801092A0200016C7FFC113FB930C460AF15ED8B329000 --> 8482030010D06EB155D8B329E87B96B1D69BB1A054 <-- 9000 delete -AID a00000006203010c0101 --> 80E400800C4F0AA00000006203010C010100 <-- 6A88 delete_applet() returns 0x80206A88 (6A88: Referenced data not found.) delete -AID a00000006203010c01 --> 80E400800B4F09A00000006203010C0100 <-- 6A88 delete_applet() returns 0x80206A88 (6A88: Referenced data not found.) delete -AID a00000006203010c0101 --> 80E400800C4F0AA00000006203010C010100 <-- 6A88 delete_applet() returns 0x80206A88 (6A88: Referenced data not found.) install -file HelloWorld.cap -priv 2 file name HelloWorld.cap --> 80E602001409A00000006203010C01000006EF04C60201A80000 <-- 009000 --> 80E80000EFC482019B010013DECAFFED010204000109A00000006203010C0102001F0013001F 000E000B0036000C0067000A00130000006C00000000000001010004000B01000107A00000006201 0103000E010AA00000006203010C0101001406000C00800301000107010000001F07006700021018 8C000118110100900B8700188B00027A02308F00033D8C00043B7A0523198B00052D198B00063203 290470191A08AD0016041F8D000B3B16041F41290419088B000C321F64E8198B00073B1916040841 8B00081903088B000919AD000316048B000A7A08000A00000000000000000000050036000D020000 000680030003 <-- 009000 --> 80E88001B0800301010000000600000103800A0103800A0603800A0703800A0903800A040380 0A050680100203800A0309001300030E252C000C050C06040805100C080906090B006C0100010000 00000100030002000000001C00840001001E0011000000000109001400300009000000000701001F 0033004600000000000D001C001E001EFFFF001E001C00200020002200240027002A002E01B00110 0140024103441004B44106B4B444024404B431066800A100 <-- 009000 --> 80E60C002609A00000006203010C010AA00000006203010C01010AA00000006203010C010101 0202C9000000 <-- 009000 card_disconnect release_context --------------------------------------------------------------------------- ----- List Script: ----- mode_211 enable_trace establish_context card_connect -readerNumber 2 select -AID a0000000030000 open_sc -security 3 -keyver 42 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494a4b4c4d4e4f -priv 2 card_disconnect release_context --------------------------------------------------------------------------- ----- Result: ----- D:\Module Documents\FYP\GlobalPlatform\GPShell-1.4.1>GPShell.exe list2.txt mode_211 enable_trace establish_context card_connect -readerNumber 2 * reader name OMNIKEY CardMan 5x21-CL 0 select -AID a0000000030000 --> 00A4040007A0000000030000 <-- 6F108408A000000003000000A5049F6501FF9000 open_sc -security 3 -keyver 42 -mac_key 404142434445464748494a4b4c4d4e4f -enc_ke y 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494a4b4c4d4e4f -pr iv 2 --> 00CA006600 <-- 734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B 06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000 --> 80502A0008912B738A3ACCC9E300 <-- 00006342C017F4A801092A020002598DD3961BFDB2CA8EC94EDB95F89000 --> 84820300109F07658E2BBBD10B6A395F80BDA38DC7 <-- 9000 card_disconnect release_context --------------------------------------------------------------------------- Thanks alot and Best Regards. -- Jie Sheng, Chua (+65) 97520245 lov...@gm... |
From: Karsten O. <wid...@t-...> - 2007-08-23 01:13:53
|
Hello, I proudly present a new release of the GlobalPlatform library and GPShell. Now the following cards should work: Oberthur CosmopoliC 32K (OP201) CosmopoliC 64K V5.2 (GP211, SCP01, Impl05) Axalto Cyberflex e-gate 32k GemXpresso R3.2 E64 IBM JCOP v2.2 41 IBM JCOP 31 (36k) Nokia 6131 NFC Phone Axalto Cyberflex Access 64k The release has some minor bugfixes and adds some new sample files to GPShell. The prebuilt releases for Windows should now really work (zlib library was missing). For developers now Windows/Unix and Cygwin is supported. Mac OS X/XCode is still on the the to do list. Regards, Karsten |
From: Jeff F. <sf...@fc...> - 2007-08-16 08:28:02
|
Thanks for your reply, although I must admit I did not fully understand all of it and with limited attempts (5 left) before the phone is locked I am wary of just trying things. Actually today my JCOP engineering sample arrived so I was able activate the eclipse plugin and have sucessfully authenticated to the engineering card, however trying to authenticate to the phone doesn't work. I realise this isn't a JCOP list however as you mentioned using JCOP perhaps you have some experiences? Output from the JCOP Shell is: cm> /terminal "winscard:4|OMNIKEY CardMan 5x21-CL 0" --Opening terminal > /card --Waiting for card... ATR=3B 88 80 01 00 73 C8 40 13 00 90 00 71 ;....s.@....q ATR: T=0, T=1, Hist=0073C84013009000 => 00 A4 04 00 07 A0 00 00 00 03 00 00 00 ............. (38535 usec) <= 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65 o..............e 01 FF 90 00 .... Status: No Error cm> set-key 42/1/DES-ECB/404142434445464748494A4B4C4D4E4F cm> set-key 42/2/DES-ECB/404142434445464748494A4B4C4D4E4F cm> set-key 42/3/DES-ECB/404142434445464748494A4B4C4D4E4F cm> init-update 42 => 80 50 2A 00 08 37 D0 24 87 C5 8D E7 05 00 .P*..7.$...... (112921 usec) <= 00 00 63 42 80 07 F6 A8 01 09 2A 02 00 01 6C 7F ..cB......*...l. FC 11 3F B9 22 49 CB 72 9D 57 DF EC 90 00 ..?."I.r.W.... Status: No Error cm> ext-auth => 84 82 00 00 10 5A 13 18 02 C5 87 A3 34 6D F7 33 .....Z......4m.3 55 A4 C8 C9 6D U...m (27528 usec) <= 69 85 i. Status: Conditions of use not satisfied jcshell: Error code: 6985 (Conditions of use not satisfied) jcshell: Wrong response APDU: 6985 Any insight greatfully received. -Jeff > Jeff Fern schrieb: >> Hi All, >> >> I have been working with a Nokia 6131 NFC phone (java programming), part >> of the phone has a secure element which is an integrated Java Card (G&D >> Implementation) and it is this which I am trying to write applets for - >> however I am stuck at the authentication stage. >> >> I am aware of the 10 incorrect authentication issue (I have already >> locked >> 1 phone and am 4 attempts down on the last) which is why I am posting >> here. >> >> The secure element has been 'unlocked' which has given me the following >> information: >> >> Keyset 42 contains the ENC, MAC & KEY keys with the hex values >> 4041...4F. >> Access to the device requires ENC+MAC level authentication as specified >> in >> the GlobalPlatform spec 2.1.1 secure chanel protocol 02 (SCP02). >> >> I also have a list of 4 Application IDs which I have been told NOT to >> delete, and 2 Application IDs which may be deleted if more space is >> required. >> >> The last set of commands I tried were: >> mode_211 >> enable_trace >> establish_context >> card_connect -readerNumber 0 >> open_sc -security 3 -scp 2 -keyver 42 -mac_key >> 404142434445464748494A4B4C4D4E4F -enc_key >> 404142434445464748494A4B4C4D4E4F >> -kek_key 404142434445464748494A4B4C4D4E4F >> >> Which gave the output: >> --> 00CA006600 >> <-- >> 734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000 >> >> --> 80502A0008979FE2303D49553200 >> <-- 000063428007F6A801092A0200016C7FFC113FB9FEBAFC314EA2F27A9000 >> mutual_authentication() returns 0x8030F006 (The Secure Channel Protocol >> Implementation is invalid.) > > Maybe you must pass also a Secure Channel Protocol implementation. > SCP02 can be combined with: > > /* Secure Channel base key */ > GP211_SCP02_IMPL_i04 > GP211_SCP02_IMPL_i14) > > /* 3 Secure Channel Keys */ > GP211_SCP02_IMPL_i05 > GP211_SCP02_IMPL_i15) > > otherwise this exception will be thrown. > > Actually it should be recognized automatically. In the output 00CA006600 > retrieves the data. 734A06072A8 ... is the answer. In the log should be > mentioned something like OIDCardRecognitionData: ... > > I have analyzed the data for you. > I split here the returned data: > > Tag + length > 734A > Tag + length + data > 0607 2A864886FC6B01 > > 600C > 060A 2A864886FC6B02020101 > > 6309 > 0607 2A864886FC6B03 > > Now the secure channel protocol details follow: > 640B > 0609 2A864886FC6B040255 > > The secure channel protocol is 02 > and the impl is 55. 55 is a problem. This is mentioned in the amendment > A to GP 2.1.1: > > "i" = '55': Initiation mode explicit, C-MAC on modified APDU, ICV set to > zero, ICV encryption for C-MAC session, 3 Secure Channel Keys, > well-known pseudo-random algorithm (card challenge). > > GlobalPlatform does not know of this mode. I will fix it. So use 0x15. > This should also work. > > 650B > 0609 2B8510864864020103 > > 660C > 060A 2B060104012A026E0102 > > Status code for success: > 9000 > >> >> I have seen some references to having to issue a select command before >> the >> open_sc however do not know if this is necessary (I am a java >> programmer, >> completely new to these cards). After reading another post on this >> mailing >> list and which AID to select, one of the ones I shouldn't delete is >> "A0000000035350" which is the closest in looks to the suggestions (the >> others all being D276000...) however I don't know if not selecting this >> is >> causing the error, or even related. > > Usually it is default delected. Maybe not. I it still does not work try > it. Select to Card Manager / Card Manager Security Domain. > > You my also enable debugging output from the GlobalPlatform library (if > you compile it on your own, or the prebuilt version should include it): > > I quote from the current Install.w32 (Windows): > > If you need to get debugging output you must have built a debug version > and enable the debugging by setting the environment variable > GLOBALPLATFORM_DEBUG=1. If you explicitly set a log file with > the environment variable GLOBALPLATFORM_LOGFILE, this log file will be > used. > The default log file is C:\Temp\GlobalPlatform.log. This must be > writable for > the user. Keep in mind that the debugging output may contain sensitive > information, e.g. keys! > > INSTALL (Unix, ...) > > --enable-debug: > > If you need to get debugging output you must have built a debug > version > and enable the debugging by setting the environment variable > GLOBALPLATFORM_DEBUG=1. If you explicitly set a log file with > the environment variable GLOBALPLATFORM_LOGFILE, this log file will be > used. > The default log file is /tmp/GlobalPlatform.log. This must be writable > for the > user. But if syslog is available during compile time the defualt for > debugging > statement is to get syslogged. Keep in mind that the debugging output may > contain sensitive information, e.g. keys! > > You can also try the JCOP tools. If you are lucky the JCOP tools for > Eclipse will work for you. jcop tools.zip. Unfortunateyl it is not more > available. Maybe you will find it somewhere. They can help you to > authenticate to the card. Maybe. > > Regards, > Karsten > >> >> Only having 6 attempts left before rending the phone (worth about £230!) >> useless I don't want to risk trying things in hope - this is how I >> locked >> the first one as I wasn't aware of the limit to 10 attempts. >> >> Any advise or suggestions would be much appreciated. >> >> Regards, >> -Jeff Fern >> >> > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |
From: Karsten O. <wid...@t-...> - 2007-08-14 19:12:17
|
Jeff Fern schrieb: > Hi All, > > I have been working with a Nokia 6131 NFC phone (java programming), part > of the phone has a secure element which is an integrated Java Card (G&D > Implementation) and it is this which I am trying to write applets for - > however I am stuck at the authentication stage. > > I am aware of the 10 incorrect authentication issue (I have already locked > 1 phone and am 4 attempts down on the last) which is why I am posting > here. > > The secure element has been 'unlocked' which has given me the following > information: > > Keyset 42 contains the ENC, MAC & KEY keys with the hex values 4041...4F. > Access to the device requires ENC+MAC level authentication as specified in > the GlobalPlatform spec 2.1.1 secure chanel protocol 02 (SCP02). > > I also have a list of 4 Application IDs which I have been told NOT to > delete, and 2 Application IDs which may be deleted if more space is > required. > > The last set of commands I tried were: > mode_211 > enable_trace > establish_context > card_connect -readerNumber 0 > open_sc -security 3 -scp 2 -keyver 42 -mac_key > 404142434445464748494A4B4C4D4E4F -enc_key 404142434445464748494A4B4C4D4E4F > -kek_key 404142434445464748494A4B4C4D4E4F > > Which gave the output: > --> 00CA006600 > <-- > 734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000 > > --> 80502A0008979FE2303D49553200 > <-- 000063428007F6A801092A0200016C7FFC113FB9FEBAFC314EA2F27A9000 > mutual_authentication() returns 0x8030F006 (The Secure Channel Protocol > Implementation is invalid.) Maybe you must pass also a Secure Channel Protocol implementation. SCP02 can be combined with: /* Secure Channel base key */ GP211_SCP02_IMPL_i04 GP211_SCP02_IMPL_i14) /* 3 Secure Channel Keys */ GP211_SCP02_IMPL_i05 GP211_SCP02_IMPL_i15) otherwise this exception will be thrown. Actually it should be recognized automatically. In the output 00CA006600 retrieves the data. 734A06072A8 ... is the answer. In the log should be mentioned something like OIDCardRecognitionData: ... I have analyzed the data for you. I split here the returned data: Tag + length 734A Tag + length + data 0607 2A864886FC6B01 600C 060A 2A864886FC6B02020101 6309 0607 2A864886FC6B03 Now the secure channel protocol details follow: 640B 0609 2A864886FC6B040255 The secure channel protocol is 02 and the impl is 55. 55 is a problem. This is mentioned in the amendment A to GP 2.1.1: "i" = '55': Initiation mode explicit, C-MAC on modified APDU, ICV set to zero, ICV encryption for C-MAC session, 3 Secure Channel Keys, well-known pseudo-random algorithm (card challenge).” GlobalPlatform does not know of this mode. I will fix it. So use 0x15. This should also work. 650B 0609 2B8510864864020103 660C 060A 2B060104012A026E0102 Status code for success: 9000 > > I have seen some references to having to issue a select command before the > open_sc however do not know if this is necessary (I am a java programmer, > completely new to these cards). After reading another post on this mailing > list and which AID to select, one of the ones I shouldn't delete is > "A0000000035350" which is the closest in looks to the suggestions (the > others all being D276000...) however I don't know if not selecting this is > causing the error, or even related. Usually it is default delected. Maybe not. I it still does not work try it. Select to Card Manager / Card Manager Security Domain. You my also enable debugging output from the GlobalPlatform library (if you compile it on your own, or the prebuilt version should include it): I quote from the current Install.w32 (Windows): If you need to get debugging output you must have built a debug version and enable the debugging by setting the environment variable GLOBALPLATFORM_DEBUG=1. If you explicitly set a log file with the environment variable GLOBALPLATFORM_LOGFILE, this log file will be used. The default log file is C:\Temp\GlobalPlatform.log. This must be writable for the user. Keep in mind that the debugging output may contain sensitive information, e.g. keys! INSTALL (Unix, ...) --enable-debug: If you need to get debugging output you must have built a debug version and enable the debugging by setting the environment variable GLOBALPLATFORM_DEBUG=1. If you explicitly set a log file with the environment variable GLOBALPLATFORM_LOGFILE, this log file will be used. The default log file is /tmp/GlobalPlatform.log. This must be writable for the user. But if syslog is available during compile time the defualt for debugging statement is to get syslogged. Keep in mind that the debugging output may contain sensitive information, e.g. keys! You can also try the JCOP tools. If you are lucky the JCOP tools for Eclipse will work for you. jcop tools.zip. Unfortunateyl it is not more available. Maybe you will find it somewhere. They can help you to authenticate to the card. Maybe. Regards, Karsten > > Only having 6 attempts left before rending the phone (worth about £230!) > useless I don't want to risk trying things in hope - this is how I locked > the first one as I wasn't aware of the limit to 10 attempts. > > Any advise or suggestions would be much appreciated. > > Regards, > -Jeff Fern > > |
From: Jeff F. <sf...@fc...> - 2007-08-14 12:55:35
|
Hi All, I have been working with a Nokia 6131 NFC phone (java programming), part of the phone has a secure element which is an integrated Java Card (G&D Implementation) and it is this which I am trying to write applets for - however I am stuck at the authentication stage. I am aware of the 10 incorrect authentication issue (I have already locked 1 phone and am 4 attempts down on the last) which is why I am posting here. The secure element has been 'unlocked' which has given me the following information: Keyset 42 contains the ENC, MAC & KEY keys with the hex values 4041...4F. Access to the device requires ENC+MAC level authentication as specified in the GlobalPlatform spec 2.1.1 secure chanel protocol 02 (SCP02). I also have a list of 4 Application IDs which I have been told NOT to delete, and 2 Application IDs which may be deleted if more space is required. The last set of commands I tried were: mode_211 enable_trace establish_context card_connect -readerNumber 0 open_sc -security 3 -scp 2 -keyver 42 -mac_key 404142434445464748494A4B4C4D4E4F -enc_key 404142434445464748494A4B4C4D4E4F -kek_key 404142434445464748494A4B4C4D4E4F Which gave the output: --> 00CA006600 <-- 734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012A026E01029000 --> 80502A0008979FE2303D49553200 <-- 000063428007F6A801092A0200016C7FFC113FB9FEBAFC314EA2F27A9000 mutual_authentication() returns 0x8030F006 (The Secure Channel Protocol Implementation is invalid.) I have seen some references to having to issue a select command before the open_sc however do not know if this is necessary (I am a java programmer, completely new to these cards). After reading another post on this mailing list and which AID to select, one of the ones I shouldn't delete is "A0000000035350" which is the closest in looks to the suggestions (the others all being D276000...) however I don't know if not selecting this is causing the error, or even related. Only having 6 attempts left before rending the phone (worth about £230!) useless I don't want to risk trying things in hope - this is how I locked the first one as I wasn't aware of the limit to 10 attempts. Any advise or suggestions would be much appreciated. Regards, -Jeff Fern -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |
From:
<gi...@rb...> - 2007-07-21 08:45:23
|
Good morning, Karsten Ohme wrote: > Gina Häußge schrieb: >> I successfully managed to upload both the HelloWorld Applet as well >> as the MuscleCardApplet onto that card, using the below script as >> input for gpshell. > > Great! I hope, I will remember to include it in GPShell. I'm happy if my clueless poking around yielded some usable results :) >> delete -sdAID a000000003000000 -AID a00000006203010c0101 >> delete -sdAID a000000003000000 -AID a00000006203010c01 >> delete -sdAID a000000003000000 -AID a00000006203010c0101 > > The -sdAID should have no effect an delete. Classic case of "I just wanted to make sure" ;) >> install -file HelloWorld.cap -sdAID a000000003000000 -priv 2 > > Yes, this seems to be the important thing. Usually a OP 2.0.1' card > should use the AID a0000000030000, but for some reason this card does > not, so not the default AID is used. Why ever that may be. > In GP 2.1.1 mode it does not work? Nope, still no success. I still find this weird, as that card definitely was advertised as an GP 2.1.1 card (I triple checked), but I won't complain as long as it works in any one of those modes ;) In the meantime, I also successfully made a MuscleCard out of the JCOP31 and got it working as PKCS#11 provider -- yay :D Greetings, Gina |
From: Karsten O. <wid...@t-...> - 2007-07-21 00:25:16
|
Gina Häußge schrieb: > Just to inform you that I finally managed to get it to work after diving > into the OP2.0.1 specification. > > I successfully managed to upload both the HelloWorld Applet as well as > the MuscleCardApplet onto that card, using the below script as input for > gpshell. Great! I hope, I will remember to include it in GPShell. > > -- 8< -- > > mode_201 > enable_trace > establish_context > card_connect > select -AID a000000003000000 > open_sc -security 1 -keyind 0 -keyver 0 -mac_key > 404142434445464748494a4b4c4d4e4f -enc_key > 404142434445464748494a4b4c4d4e4f // Open secure channel > delete -sdAID a000000003000000 -AID a00000006203010c0101 > delete -sdAID a000000003000000 -AID a00000006203010c01 > delete -sdAID a000000003000000 -AID a00000006203010c0101 The -sdAID should have no effect an delete. > install -file HelloWorld.cap -sdAID a000000003000000 -priv 2 Yes, this seems to be the important thing. Usually a OP 2.0.1' card should use the AID a0000000030000, but for some reason this card does not, so not the default AID is used. In GP 2.1.1 mode it does not work? > card_disconnect > release_context > > -- >8 -- > > Thanks again for your help! :) Karsten > Gina |
From: Gina <gi...@rb...> - 2007-07-20 11:29:23
|
Just to inform you that I finally managed to get it to work after diving into the OP2.0.1 specification. I successfully managed to upload both the HelloWorld Applet as well as the MuscleCardApplet onto that card, using the below script as input for gpshell. -- 8< -- mode_201 enable_trace establish_context card_connect select -AID a000000003000000 open_sc -security 1 -keyind 0 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f // Open secure channel delete -sdAID a000000003000000 -AID a00000006203010c0101 delete -sdAID a000000003000000 -AID a00000006203010c01 delete -sdAID a000000003000000 -AID a00000006203010c0101 install -file HelloWorld.cap -sdAID a000000003000000 -priv 2 card_disconnect release_context -- >8 -- Thanks again for your help! :) Gina > -- Dipl.-Inform. Gina Häußge RBG, FB20, TU Darmstadt Tel: +49 (0)6151 16 6655 Hochschulstr. 10 Fax: +49 (0)6151 16 4701 64289 Darmstadt S2|02 B120 |
From: Gina <gi...@rb...> - 2007-07-20 07:06:35
|
Good morning, On Thu, 2007-07-19 at 20:38 +0200, Karsten Ohme wrote: > Gina Häußge schrieb: > > On Wed, 2007-07-18 at 19:46 +0200, Karsten Ohme wrote: > >>> The AID of the Card Manager is "a0000000030000", so that is ok. > >> Mmmh, try a000000003000000 in GP211 mode. a0000000030000 was used for > >> former OP2.01' cards. Maybe this helps. > > > > I now managed to get a listing of installed applets, using both AIDs, > > but still in OP2.01 mode. > > Both AIDs? How come? This should not work. Great. If you can list the > applets, you should also be able to execute other commands. Give the > install -file a try. I did, same as before, "6A88: Referenced data not found". > Or try again GP211 mode > mode_211 > enable_trace > > establish_context > card_connect > select -AID a000000003000000 > open_sc -security 0 -keyind 255 -keyver 0 -mac_key > 404142434445464748494a4b4c4d4e4f -enc_key > 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494a4b4c4d4e4f > > -security 0 disables authentication and encryption > And use key index 255. Now I get a "mutual_authentication() returns 0x80206A86 (6A86: Incorrect parameters (P1, P2).)" message *sigh* Guess a try with a version of the JCOP Tools proven to work would be helpful, so if you could send me your version like you offered, that would be great! :) Greetings, Gina -- Dipl.-Inform. Gina Häußge RBG, FB20, TU Darmstadt Tel: +49 (0)6151 16 6655 Hochschulstr. 10 Fax: +49 (0)6151 16 4701 64289 Darmstadt S2|02 B120 |
From: Karsten O. <wid...@t-...> - 2007-07-19 18:38:42
|
Gina Häußge schrieb: > Hi Karsten, > > On Wed, 2007-07-18 at 19:46 +0200, Karsten Ohme wrote: >>> The AID of the Card Manager is "a0000000030000", so that is ok. >> Mmmh, try a000000003000000 in GP211 mode. a0000000030000 was used for >> former OP2.01' cards. Maybe this helps. > > I now managed to get a listing of installed applets, using both AIDs, > but still in OP2.01 mode. Both AIDs? How come? This should not work. Great. If you can list the applets, you should also be able to execute other commands. Give the install -file a try. Or try again GP211 mode mode_211 enable_trace establish_context card_connect select -AID a000000003000000 open_sc -security 0 -keyind 255 -keyver 0 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494a4b4c4d4e4f -security 0 disables authentication and encryption And use key index 255. > >>>> Do not try to authenticate to the card to often! It gets locked if you >>>> need 10 tries. If you are near this limit perform a successful >>>> verification. >>> Yeah, I already read about that, so after each unsuccessful attempt I >>> make a connection in 2.0.1 mode (as there at least the authentication >>> works). So far, it didn't lock up the card *crosses fingers* >> Well, I would say it is a OP 2.0.1' card if it does not work in GP 2.1.1 >> mode. But not sure, but I would say that I remember that there was some >> difference in the used cryptography so it should not work in both modes. >> If it is written on the card it will be true. > > Weird... maybe I'll simply knock on the door of NXP now. According to > their description, that damned thing should support GP2.1.1. > >> Just a moment what my JCOP 41 card says ... no list.txt does not work >> for this GP 2.1.1 card. The mutual authentication step does not succeed. >> listGP211.txt works. > > Exactly the opposite for me here. > >>> [...] Had a rather unpleasant >>> experience of my whole eclipse crashing as soon as I tried to connect to >>> the card via the JCShell, a stack trace revealed a segfault in the JCOP >>> Tools. So no-go there as well, at least I had no idea how to solve that >>> issue either. >> I wrote a bug report some time ago. Maybe it is this problem: >> >> ---- >> >> The current version of PC/SC Lite is 1.x.y. But the JCOP tools search >> for the library libpcsclite.so.0. It cannot be found. So a link to the >> libpcsclite.so.1 must be made. Then it works. >> >> ---- > > Hm.. I didn't even get my eclipse to install the version of the Tools I > got from said CD under Linux, so I had my goes in a Win32 environment, > and said crash occured. I can search and send you a my version which I have downloaded. This works for me in Win32 an Linux with the above fix. > > Anyway, thanks for your help, I think I'll now go pester the guys from > NXP with those problems, they made that card, they should now how to > talk to it. And if all else fails, I'll try to get my hands on something > else alltogether that hopefully works :) They will advise you to use the JCOP tools or buy a SDK. > > Although I didn't manage to use it so far, thanks anyway for writing > GPShell and the globalplatform lib -- such stuff comes in handy :) I found a site, where I can order such cards, but the shipping costs from USA are from hell. Cheers, Karsten > > Greetings, > Gina |
From: Gina <gi...@rb...> - 2007-07-19 10:28:41
|
Hi Karsten, On Wed, 2007-07-18 at 19:46 +0200, Karsten Ohme wrote: > > The AID of the Card Manager is "a0000000030000", so that is ok. > > Mmmh, try a000000003000000 in GP211 mode. a0000000030000 was used for > former OP2.01' cards. Maybe this helps. I now managed to get a listing of installed applets, using both AIDs, but still in OP2.01 mode. > >> Do not try to authenticate to the card to often! It gets locked if you > >> need 10 tries. If you are near this limit perform a successful > >> verification. > > > > Yeah, I already read about that, so after each unsuccessful attempt I > > make a connection in 2.0.1 mode (as there at least the authentication > > works). So far, it didn't lock up the card *crosses fingers* > > Well, I would say it is a OP 2.0.1' card if it does not work in GP 2.1.1 > mode. But not sure, but I would say that I remember that there was some > difference in the used cryptography so it should not work in both modes. > If it is written on the card it will be true. Weird... maybe I'll simply knock on the door of NXP now. According to their description, that damned thing should support GP2.1.1. > Just a moment what my JCOP 41 card says ... no list.txt does not work > for this GP 2.1.1 card. The mutual authentication step does not succeed. > listGP211.txt works. Exactly the opposite for me here. > > [...] Had a rather unpleasant > > experience of my whole eclipse crashing as soon as I tried to connect to > > the card via the JCShell, a stack trace revealed a segfault in the JCOP > > Tools. So no-go there as well, at least I had no idea how to solve that > > issue either. > > I wrote a bug report some time ago. Maybe it is this problem: > > ---- > > The current version of PC/SC Lite is 1.x.y. But the JCOP tools search > for the library libpcsclite.so.0. It cannot be found. So a link to the > libpcsclite.so.1 must be made. Then it works. > > ---- Hm.. I didn't even get my eclipse to install the version of the Tools I got from said CD under Linux, so I had my goes in a Win32 environment, and said crash occured. Anyway, thanks for your help, I think I'll now go pester the guys from NXP with those problems, they made that card, they should now how to talk to it. And if all else fails, I'll try to get my hands on something else alltogether that hopefully works :) Although I didn't manage to use it so far, thanks anyway for writing GPShell and the globalplatform lib -- such stuff comes in handy :) Greetings, Gina > -- Dipl.-Inform. Gina Häußge RBG, FB20, TU Darmstadt Tel: +49 (0)6151 16 6655 Hochschulstr. 10 Fax: +49 (0)6151 16 4701 64289 Darmstadt S2|02 B120 |
From: Karsten O. <wid...@t-...> - 2007-07-18 17:47:11
|
Hallo Gina, Gina Häußge schrieb: > Hello there, > > On Wed, 2007-07-18 at 01:53 +0200, Karsten Ohme wrote: >> Gina Häußge schrieb: >>> I'm currently trying to install my first Java Applet on an NXP JCOP 31 >>> smartcard with 36K, using a GemPC Twin USB reader under Debian GNU/Linux >>> Testing, 32Bit. >> Unfortunately I do not have such a card. After a quick search in Google >> I cannot find a manual for this card. The first important information >> should be the AID of the Card Issuer Domain (Card Manager) select -AID ... >> Do you know it? There should be some manual. But it seems that this is >> OK, because you get further. > > The AID of the Card Manager is "a0000000030000", so that is ok. Mmmh, try a000000003000000 in GP211 mode. a0000000030000 was used for former OP2.01' cards. Maybe this helps. > >> Do not try to authenticate to the card to often! It gets locked if you >> need 10 tries. If you are near this limit perform a successful >> verification. > > Yeah, I already read about that, so after each unsuccessful attempt I > make a connection in 2.0.1 mode (as there at least the authentication > works). So far, it didn't lock up the card *crosses fingers* Well, I would say it is a OP 2.0.1' card if it does not work in GP 2.1.1 mode. But not sure, but I would say that I remember that there was some difference in the used cryptography so it should not work in both modes. If it is written on the card it will be true. Just a moment what my JCOP 41 card says ... no list.txt does not work for this GP 2.1.1 card. The mutual authentication step does not succeed. listGP211.txt works. > >> Use the JCOP tools (This should work perfectly with this >> card. You can develop and install applets for a card within eclipse). >> >> Maybe this is a correct version: >> >> http://download.boulder.ibm.com/ibmdl/pub/software/dw/jcop/tools.zip > > Sadly, I already tried with the JCOP Tools (after finding them on a CD > included in the card delivery, as IBM no longer maintains them and it is > a pain in the ... to get a copy of them now -- the zip above just > contains a readme telling you exactly this :/). Had a rather unpleasant > experience of my whole eclipse crashing as soon as I tried to connect to > the card via the JCShell, a stack trace revealed a segfault in the JCOP > Tools. So no-go there as well, at least I had no idea how to solve that > issue either. I wrote a bug report some time ago. Maybe it is this problem: ---- The current version of PC/SC Lite is 1.x.y. But the JCOP tools search for the library libpcsclite.so.0. It cannot be found. So a link to the libpcsclite.so.1 must be made. Then it works. ---- > > I had hoped though that maybe someone reading this mailinglist might > have had success with that type of card and therefore an idea as to what > would be the correct keys etc. I have only a JCOP 41 card and it works. > > What I found online at a couple of sites were the JCOP Tools commands to > authenticate with that type of card: > > set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f > set-key 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f > set-key 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f > set-key 1/3/DES-ECB/505152535455565758595a5b5c5d5e5f > set-key 1/1/DES-ECB/707172737475767778797a7b7c7d7e7f > set-key 1/2/DES-ECB/606162636465666768696a6b6c6d6e6f > init-update 255 > ext-auth This set a new key set. You do not want it. Because the OP 2.0.1' mode succeeds the three keys 404142434445464748494a4b4c4d4e4f should be OK. > > I have no idea though how to translate those into corresponding gpshell syntax. put_sc_key ... > >> Strange that it authenticates successfully in OP 2.0.1' mode. >> Do you have connected only one reader to the system? Or are there >> multiple readers with inserted cards? > > It's only one reader. > >> I you try to install something first try "install -file HelloWorld.cap" >> without any parameters. If this is not successful try some variants of >> parameters. > > I've tried a couple of parameter combinations, sadly all with the same > effect of a "6A88: Referenced data not found" message. If it is of any > help, I also tried a "load -f HelloWorld.cap", and that yielded a > "load_applet() returns 0x80206985 (6985: Command not allowed - > Conditions of use not satisfied.)". > > I have to admit that I have some troubles understanding what exactly > does each command and each parameter (although having read the included > README approx. 10mio times now), so I might be trying to do really > stupid things here ;) Mmmh, it is still a quite low level tool, if you have read the GP standard you will understand each command, but it is a pain that the card are so different. With some time I will get or buy such a card to test it. Tschüss, Karsten > > Kind regards, > Gina Häußge |
From: Gina <gi...@rb...> - 2007-07-18 08:14:29
|
Hello there, On Wed, 2007-07-18 at 01:53 +0200, Karsten Ohme wrote: > Gina Häußge schrieb: > > I'm currently trying to install my first Java Applet on an NXP JCOP 31 > > smartcard with 36K, using a GemPC Twin USB reader under Debian GNU/Linux > > Testing, 32Bit. > > Unfortunately I do not have such a card. After a quick search in Google > I cannot find a manual for this card. The first important information > should be the AID of the Card Issuer Domain (Card Manager) select -AID ... > Do you know it? There should be some manual. But it seems that this is > OK, because you get further. The AID of the Card Manager is "a0000000030000", so that is ok. > Do not try to authenticate to the card to often! It gets locked if you > need 10 tries. If you are near this limit perform a successful > verification. Yeah, I already read about that, so after each unsuccessful attempt I make a connection in 2.0.1 mode (as there at least the authentication works). So far, it didn't lock up the card *crosses fingers* > Use the JCOP tools (This should work perfectly with this > card. You can develop and install applets for a card within eclipse). > > Maybe this is a correct version: > > http://download.boulder.ibm.com/ibmdl/pub/software/dw/jcop/tools.zip Sadly, I already tried with the JCOP Tools (after finding them on a CD included in the card delivery, as IBM no longer maintains them and it is a pain in the ... to get a copy of them now -- the zip above just contains a readme telling you exactly this :/). Had a rather unpleasant experience of my whole eclipse crashing as soon as I tried to connect to the card via the JCShell, a stack trace revealed a segfault in the JCOP Tools. So no-go there as well, at least I had no idea how to solve that issue either. I had hoped though that maybe someone reading this mailinglist might have had success with that type of card and therefore an idea as to what would be the correct keys etc. What I found online at a couple of sites were the JCOP Tools commands to authenticate with that type of card: set-key 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f set-key 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f set-key 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f set-key 1/3/DES-ECB/505152535455565758595a5b5c5d5e5f set-key 1/1/DES-ECB/707172737475767778797a7b7c7d7e7f set-key 1/2/DES-ECB/606162636465666768696a6b6c6d6e6f init-update 255 ext-auth I have no idea though how to translate those into corresponding gpshell syntax. > Strange that it authenticates successfully in OP 2.0.1' mode. > Do you have connected only one reader to the system? Or are there > multiple readers with inserted cards? It's only one reader. > I you try to install something first try "install -file HelloWorld.cap" > without any parameters. If this is not successful try some variants of > parameters. I've tried a couple of parameter combinations, sadly all with the same effect of a "6A88: Referenced data not found" message. If it is of any help, I also tried a "load -f HelloWorld.cap", and that yielded a "load_applet() returns 0x80206985 (6985: Command not allowed - Conditions of use not satisfied.)". I have to admit that I have some troubles understanding what exactly does each command and each parameter (although having read the included README approx. 10mio times now), so I might be trying to do really stupid things here ;) Kind regards, Gina Häußge > -- Dipl.-Inform. Gina Häußge RBG, FB20, TU Darmstadt Tel: +49 (0)6151 16 6655 Hochschulstr. 10 Fax: +49 (0)6151 16 4701 64289 Darmstadt S2|02 B120 |
From: Karsten O. <wid...@t-...> - 2007-07-17 23:54:25
|
Gina Häußge schrieb: > Hello everyone, > > I'm currently trying to install my first Java Applet on an NXP JCOP 31 > smartcard with 36K, using a GemPC Twin USB reader under Debian GNU/Linux > Testing, 32Bit. Unfortunately I do not have such a card. After a quick search in Google I cannot find a manual for this card. The first important information should be the AID of the Card Issuer Domain (Card Manager) select -AID ... Do you know it? There should be some manual. But it seems that this is OK, because you get further. Do not try to authenticate to the card to often! It gets locked if you need 10 tries. If you are near this limit perform a successful verification. Use the JCOP tools (This should work perfectly with this card. You can develop and install applets for a card within eclipse). Maybe this is a correct version: http://download.boulder.ibm.com/ibmdl/pub/software/dw/jcop/tools.zip Post a complete output with "enable_trace" in the first line of the script file. You must know the correct keys to authenticate to the card. > > I successfully managed to compile the globalplatform library and > gpshell, but I'm totally lost when it comes to correctly communicating > with the card. If I got the correct information, the card should support > the Global Platform specification, version 2.2.1. Sadly though, I did > not yet manage to successfully execute either 2.0.1 or 2.1.1 mode > scripts as supplied with gpshell's source code. Trying a list of > installed applets in 2.0.1 mode (list.txt) yields the error message > "6A86: Incorrect parameters (P1, P2)". 2.1.1 mode (listgp211.txt) does > not even get through authentication ("The verification of the card > cryptogram failed"). Strange that it authenticates successfully in OP 2.0.1' mode. Do you have connected only one reader to the system? Or are there multiple readers with inserted cards? I you try to install something first try "install -file HelloWorld.cap" without any parameters. If this is not successful try some variants of parameters. WBR, Karsten > I'm also not able to upload any applet to the card, > as that also fails ("6A88: Referenced data not found." in 2.0.1 mode, > failed authentication in 2.1.1). > > I'm sure I just miss something simple here (e.g. the right information > to correctly adjust the scripts to that type of card), but after > struggling with those problems for two work days without a clue and some > nice deadline in my neck I'd now really appreciate some friendly hint in > the right direction or even a working example for that type of card, > it's getting a bit frustrating ;) > > Thanks in advance for the time spent reading or even answering this, and > kind regards, > Gina Häußge > |
From: Gina <gi...@rb...> - 2007-07-17 13:24:22
|
Hello everyone, I'm currently trying to install my first Java Applet on an NXP JCOP 31 smartcard with 36K, using a GemPC Twin USB reader under Debian GNU/Linux Testing, 32Bit. I successfully managed to compile the globalplatform library and gpshell, but I'm totally lost when it comes to correctly communicating with the card. If I got the correct information, the card should support the Global Platform specification, version 2.2.1. Sadly though, I did not yet manage to successfully execute either 2.0.1 or 2.1.1 mode scripts as supplied with gpshell's source code. Trying a list of installed applets in 2.0.1 mode (list.txt) yields the error message "6A86: Incorrect parameters (P1, P2)". 2.1.1 mode (listgp211.txt) does not even get through authentication ("The verification of the card cryptogram failed"). I'm also not able to upload any applet to the card, as that also fails ("6A88: Referenced data not found." in 2.0.1 mode, failed authentication in 2.1.1). I'm sure I just miss something simple here (e.g. the right information to correctly adjust the scripts to that type of card), but after struggling with those problems for two work days without a clue and some nice deadline in my neck I'd now really appreciate some friendly hint in the right direction or even a working example for that type of card, it's getting a bit frustrating ;) Thanks in advance for the time spent reading or even answering this, and kind regards, Gina Häußge -- Dipl.-Inform. Gina Häußge RBG, FB20, TU Darmstadt Tel: +49 (0)6151 16 6655 Hochschulstr. 10 Fax: +49 (0)6151 16 4701 64289 Darmstadt S2|02 B120 |
From: Karsten O. <wid...@t-...> - 2007-05-16 18:10:28
|
Andrea Cogliati schrieb: > On 5/16/07 2:22 AM, "Karsten Ohme" <wid...@t-...> wrote: > >> Maybe the configure script is too script. Try the following: > <snip> >> As workaround just remove these line so the check is not done anymore. >> Usually it should be libpcsclite.lib should be still on the default >> library path. If you some headers are not found (the ones where >> winscard.h resides) use CFLAGS=<path to winscard.h> > > Ok, a little step ahead. Removing the lines you suggested, I can now pass > configure. I had to install a newer libtools package and had to use the > following command to have gcc find pcsclite headers: > > /configure > CPPFLAGS=-I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/PCSC.fr > amework/Headers/ > > Now, when I run make I get lots of errors like this: > > source='GlobalPlatform.c' object='GlobalPlatform.lo' libtool=yes \ > depfile='.deps/GlobalPlatform.Plo' tmpdepfile='.deps/GlobalPlatform.TPlo' \ > depmode=gcc3 /bin/sh ./depcomp \ > /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"GlobalPlatform\" > -DPACKAGE_TARNAME=\"globalplatform\" -DPACKAGE_VERSION=\"4.1.3\" > -DPACKAGE_STRING=\"GlobalPlatform\ 4.1.3\" > -DPACKAGE_BUGREPORT=\"k_...@us...\" > -DPACKAGE=\"globalplatform\" -DVERSION=\"4.1.3\" -DSTDC_HEADERS=1 > -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 > -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 > -DHAVE_MALLOC=1 -DHAVE_VPRINTF=1 -DHAVE_MEMCPY=1 -DHAVE_VSYSLOG=1 > -DHAVE_ZCONF_H=1 -DHAVE_ZLIB_H=1 -DHAVE_LIBZ=1 -DHAVE_OPENSSL_RAND_H=1 > -DHAVE_OPENSSL_ERR_H=1 -DHAVE_OPENSSL_EVP_H=1 -DHAVE_OPENSSL_PEM_H=1 > -DHAVE_LIBCRYPTO=1 -I. -I. > -I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/PCSC.framework/H > eaders/ -g -O2 -c -o GlobalPlatform.lo `test -f 'GlobalPlatform.c' || echo > './'`GlobalPlatform.c > mkdir .libs > gcc -DPACKAGE_NAME=\"GlobalPlatform\" -DPACKAGE_TARNAME=\"globalplatform\" > -DPACKAGE_VERSION=\"4.1.3\" "-DPACKAGE_STRING=\"GlobalPlatform 4.1.3\"" > -DPACKAGE_BUGREPORT=\"k_...@us...\" > -DPACKAGE=\"globalplatform\" -DVERSION=\"4.1.3\" -DSTDC_HEADERS=1 > -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 > -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 > -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 > -DHAVE_MALLOC=1 -DHAVE_VPRINTF=1 -DHAVE_MEMCPY=1 -DHAVE_VSYSLOG=1 > -DHAVE_ZCONF_H=1 -DHAVE_ZLIB_H=1 -DHAVE_LIBZ=1 -DHAVE_OPENSSL_RAND_H=1 > -DHAVE_OPENSSL_ERR_H=1 -DHAVE_OPENSSL_EVP_H=1 -DHAVE_OPENSSL_PEM_H=1 > -DHAVE_LIBCRYPTO=1 -I. -I. > -I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/PCSC.framework/H > eaders/ -g -O2 -c GlobalPlatform.c -MT GlobalPlatform.lo -MD -MP -MF > deps/GlobalPlatform.TPlo -fno-common -DPIC -o .libs/GlobalPlatform.o > In file included from GlobalPlatform.c:55: > GlobalPlatform/GlobalPlatform.h:86: error: parse error before > 'OPGP_VISA_DEFAULT_KEY' > GlobalPlatform/GlobalPlatform.h:86: warning: data definition has no type or > storage class > GlobalPlatform/GlobalPlatform.h:89: error: parse error before > 'OPGP_GEMXPRESSO_DEFAULT_KEY' > GlobalPlatform/GlobalPlatform.h:89: warning: data definition has no type or > storage class > GlobalPlatform/GlobalPlatform.h:151: error: parse error before > 'GP211_CARD_MANAGER_AID' > GlobalPlatform/GlobalPlatform.h:151: warning: data definition has no type or > storage class > GlobalPlatform/GlobalPlatform.h:196: error: parse error before > 'GP211_GET_DATA_ISSUER_IDENTIFICATION_NUMBER' > GlobalPlatform/GlobalPlatform.h:196: warning: data definition has no type or > storage class PCSCLite simulates the Windows SCard API and so uses Windows types. These types are contained in winscard.h and should be included with PCSCLite (otherwise it would have complained some lines above also). I do not get this error with gcc udner Linux. I don't believe this error is caused by the Windows types. It always happens at locations where "const" is used. Try to remove the const keyword in the header file. If this is the problem check your version of gcc. Maybe Sourceforge compile farm will works someday again. There I can test it under MacOS X and collect all necessary changes for MacOS X compatibility. Regards, Karsten > > <snip> > > It seems that the source code references Windows specific types, like > LPBYTE, that gcc can't resolve. Do I need to include something else? > > Thanks again, > > Andrea > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Globalplatform-users mailing list > Glo...@li... > https://lists.sourceforge.net/lists/listinfo/globalplatform-users |
From: Andrea C. <And...@ho...> - 2007-05-16 16:24:42
|
On 5/16/07 2:22 AM, "Karsten Ohme" <wid...@t-...> wrote: > Maybe the configure script is too script. Try the following: <snip> > > As workaround just remove these line so the check is not done anymore. > Usually it should be libpcsclite.lib should be still on the default > library path. If you some headers are not found (the ones where > winscard.h resides) use CFLAGS=<path to winscard.h> Ok, a little step ahead. Removing the lines you suggested, I can now pass configure. I had to install a newer libtools package and had to use the following command to have gcc find pcsclite headers: /configure CPPFLAGS=-I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/PCSC.fr amework/Headers/ Now, when I run make I get lots of errors like this: source='GlobalPlatform.c' object='GlobalPlatform.lo' libtool=yes \ depfile='.deps/GlobalPlatform.Plo' tmpdepfile='.deps/GlobalPlatform.TPlo' \ depmode=gcc3 /bin/sh ./depcomp \ /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"GlobalPlatform\" -DPACKAGE_TARNAME=\"globalplatform\" -DPACKAGE_VERSION=\"4.1.3\" -DPACKAGE_STRING=\"GlobalPlatform\ 4.1.3\" -DPACKAGE_BUGREPORT=\"k_...@us...\" -DPACKAGE=\"globalplatform\" -DVERSION=\"4.1.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_VPRINTF=1 -DHAVE_MEMCPY=1 -DHAVE_VSYSLOG=1 -DHAVE_ZCONF_H=1 -DHAVE_ZLIB_H=1 -DHAVE_LIBZ=1 -DHAVE_OPENSSL_RAND_H=1 -DHAVE_OPENSSL_ERR_H=1 -DHAVE_OPENSSL_EVP_H=1 -DHAVE_OPENSSL_PEM_H=1 -DHAVE_LIBCRYPTO=1 -I. -I. -I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/PCSC.framework/H eaders/ -g -O2 -c -o GlobalPlatform.lo `test -f 'GlobalPlatform.c' || echo './'`GlobalPlatform.c mkdir .libs gcc -DPACKAGE_NAME=\"GlobalPlatform\" -DPACKAGE_TARNAME=\"globalplatform\" -DPACKAGE_VERSION=\"4.1.3\" "-DPACKAGE_STRING=\"GlobalPlatform 4.1.3\"" -DPACKAGE_BUGREPORT=\"k_...@us...\" -DPACKAGE=\"globalplatform\" -DVERSION=\"4.1.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_VPRINTF=1 -DHAVE_MEMCPY=1 -DHAVE_VSYSLOG=1 -DHAVE_ZCONF_H=1 -DHAVE_ZLIB_H=1 -DHAVE_LIBZ=1 -DHAVE_OPENSSL_RAND_H=1 -DHAVE_OPENSSL_ERR_H=1 -DHAVE_OPENSSL_EVP_H=1 -DHAVE_OPENSSL_PEM_H=1 -DHAVE_LIBCRYPTO=1 -I. -I. -I/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/PCSC.framework/H eaders/ -g -O2 -c GlobalPlatform.c -MT GlobalPlatform.lo -MD -MP -MF deps/GlobalPlatform.TPlo -fno-common -DPIC -o .libs/GlobalPlatform.o In file included from GlobalPlatform.c:55: GlobalPlatform/GlobalPlatform.h:86: error: parse error before 'OPGP_VISA_DEFAULT_KEY' GlobalPlatform/GlobalPlatform.h:86: warning: data definition has no type or storage class GlobalPlatform/GlobalPlatform.h:89: error: parse error before 'OPGP_GEMXPRESSO_DEFAULT_KEY' GlobalPlatform/GlobalPlatform.h:89: warning: data definition has no type or storage class GlobalPlatform/GlobalPlatform.h:151: error: parse error before 'GP211_CARD_MANAGER_AID' GlobalPlatform/GlobalPlatform.h:151: warning: data definition has no type or storage class GlobalPlatform/GlobalPlatform.h:196: error: parse error before 'GP211_GET_DATA_ISSUER_IDENTIFICATION_NUMBER' GlobalPlatform/GlobalPlatform.h:196: warning: data definition has no type or storage class <snip> It seems that the source code references Windows specific types, like LPBYTE, that gcc can't resolve. Do I need to include something else? Thanks again, Andrea |
From: Karsten O. <wid...@t-...> - 2007-05-16 00:23:05
|
Andrea Cogliati schrieb: > Guys, > > I'm trying to build GP 4.1.3 under Mac OS X 10.4 Tiger but I've got the > following error when running configure: > > checking for PCSCLITE... configure: WARNING: install pcsc-lite 1.2.9-beta7 > or later > checking for SCardEstablishContext in -lpcsclite... no > configure: error: SCardEstablishContext() not found, install pcsc-lite > 1.2.9-beta7 or later > > Googling around I've found that Tiger ships with an old and Apple customized > pcsc-lite lib so I can't install a different one. Any advise? Maybe the configure script is too script. Try the following: Download the source. There should be a file called reconf, if not check out the sources from CVS. You must have installed automake, autoconf, libtools. Usually you will have. In the file configure.in (maybe also only in CVS) there are should be the lines: <snip> dnl Check for pcsclite PKG_CHECK_MODULES(PCSCLITE, libpcsclite >= 1.2.9-beta7, [], [ if test -f /usr/local/lib/pkgconfig/libpcsclite.pc ; then AC_MSG_ERROR([install pkg-config or set PKG_CONFIG_PATH to pkgconfig directory]) else AC_MSG_WARN([install pcsc-lite 1.2.9-beta7 or later]) fi ]) AC_CHECK_LIB(pcsclite, SCardEstablishContext, [], [AC_MSG_ERROR([SCardEstablishContext() not found, install pcsc-lite 1.2.9-beta7 or later])]) CFLAGS="$CFLAGS $PCSCLITE_CFLAGS" AC_CHECK_HEADER(winscard.h, [], [AC_MSG_ERROR([winscard.h not found, install pcsc-lite 1.2.9-beta7 or later, or use CFLAGS=... ./configure])]) <snip> As workaround just remove these line so the check is not done anymore. Usually it should be libpcsclite.lib should be still on the default library path. If you some headers are not found (the ones where winscard.h resides) use CFLAGS=<path to winscard.h> Now run reconf (Maybe it cannot be executed because it is not marked as executable, under Linux chmod 755 reconf helps). The configure file should be rebuild and you can try again. Does this help or is the explaination too coarse? Regards, Karsten > > TIA, > > Andrea > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Globalplatform-users mailing list > Glo...@li... > https://lists.sourceforge.net/lists/listinfo/globalplatform-users |
From: Andrea C. <And...@ho...> - 2007-05-15 15:26:40
|
Guys, I'm trying to build GP 4.1.3 under Mac OS X 10.4 Tiger but I've got the following error when running configure: checking for PCSCLITE... configure: WARNING: install pcsc-lite 1.2.9-beta7 or later checking for SCardEstablishContext in -lpcsclite... no configure: error: SCardEstablishContext() not found, install pcsc-lite 1.2.9-beta7 or later Googling around I've found that Tiger ships with an old and Apple customized pcsc-lite lib so I can't install a different one. Any advise? TIA, Andrea |
From: Karsten O. <wid...@t-...> - 2007-04-23 15:07:44
|
Murat Yasin Kubilay schrieb: > Hi all, > > I have downloaded your project from sourceforge in order to load applet > to my javacard. I am a bit novice in smartcards. After i ran your > application in the manage connection tab, connect subtab, there are a > lot of parameters to enter to connect to the smart card. With the > default settings when i try to connect to the card i get the error > "cardConnect:The smart card cannot be accessed because of other > connections outstanding". Actually no other applications are > using/connected to the smartcard. My javacard is gemexpresso and using > an omnikey cardman 3x21 card reader... And the card has the pin > "123456"...But i dont know if i have to enter it somewhere... > > can you pls help me how can i overcome this problem ? connect to > smartcard ? load my applet The graphical front end is outdated. Please use the command line tool GPShell. There are example script files which can be used with GPShell. There is a README. If you are lucky you simply have to exchange to filename of the applet to load, e.g. take the helloInstall.txt. If you have of card which uses the GloblaPlatform 2.1.1 standard, look into helloInstallGP211.txt. Be careful! After 10 invalid tries your card is locked, so you must know if you have a OpenPlatform 2.0.1' or GP 2.1.1 card. If you have a GemXPresso card the things are also different (see helloInstallgemXpressoProR3_2E64.txt). Read the README. I'm currently updating the Java version of the GlobalPlatform library and then a current GUI will be released. Regards, Karsten > > Thanks a lot > > > > Murat > > _________________________________________________________________ > MSN is giving away a trip to Vegas to see Elton John. Enter to win > today. http://msnconcertcontest.com?icid-nceltontagline > |
From: Karsten O. <wid...@t-...> - 2007-01-04 15:44:01
|
Ali Utku Selen wrote: > Hi, > > Does GlobalPlatform Library have an Java equivalent? Wrapper generator? http://www.swig.org/ > > Thanks, > -AUS |