×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    1

    Nokia 6131 NFC - Install CAP file on secure element with GPShell-1.4.2

    Hi,
    i have some problems to install java applet on secure element of Nokia 6131 NFC.
    I use TopTunniste Reader (FEIG) with PC/SC driver and GPShell-1.4.2.
    When i try to execute the following script i have no problem:

    Code:
    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
    get_status -element 20
    card_disconnect
    release_context
    This is the result:

    Code:
    C:\GPShell-1.4.2\Test>gpshell < Applet_List.txt
    mode_211
    enable_trace
    establish_context
    card_connect -readerNumber 2
    * reader name FEIG ID CPR.M02.VP/AB-C 0
    open_sc -security 3 -keyver 42 -mac_key 404142434445464748494a4b4c4d4e4f -enc_ke
    y 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494a4b4c4d4e4f
    Command --> 80CA006600
    Wrapped command --> 80CA006600
    Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864
    886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012
    A026E01029000
    Command --> 80502A0008B71766FA7FDC534F00
    Wrapped command --> 80502A0008B71766FA7FDC534F00
    Response <-- 000071842075CEF234212A02008208CF892704770486CAA6F69C587F9000
    Command --> 8482030010997E3D8D20C02E2C5B4E9DFD6409B8F4
    Wrapped command --> 8482030010997E3D8D20C02E2C5B4E9DFD6409B8F4
    Response <-- 9000
    get_status -element 20
    Command --> 80F22000024F0000
    Wrapped command --> 84F2200010569E815CFE4D555AA7FBB9667DB5A31300
    Response <-- 07A000000003535001000CD276000005AA04036001041001000BD276000005AA050
    3E0040101009000
    GP211_get_status() returned 3 items
    
    List of elements (AID state privileges)
    a0000000035350  1       0
    d276000005aa040360010410        1       0
    d276000005aa0503e00401  1       0
    card_disconnect
    release_context
    But when i try to install a cap file (for example HelloWorld.cap in the folder of GPShell-1.4.2) i obtain the following error message:

    Code:
    C:\GPShell-1.4.2>gpshell < helloInstallNokia6131NFC.txt
    mode_211
    enable_trace
    establish_context
    card_connect
    * reader name FEIG ID CPR.M02.VP/AB-C 0
    select -AID a000000003000000
    Command --> 00A4040008A000000003000000
    Wrapped command --> 00A4040008A000000003000000
    Response <-- 6F108408A000000003000000A5049F6501FF9000
    open_sc -security 3 -keyver 42 -mac_key 404142434445464748494A4B4C4D4E4F -enc_ke
    y 404142434445464748494A4B4C4D4E4F -kek_key 404142434445464748494A4B4C4D4E4F
    Command --> 80CA006600
    Wrapped command --> 80CA006600
    Response <-- 664C734A06072A864886FC6B01600C060A2A864886FC6B02020101630906072A864
    886FC6B03640B06092A864886FC6B040255650B06092B8510864864020103660C060A2B060104012
    A026E01029000
    Command --> 80502A00082510C86EBC82168100
    Wrapped command --> 80502A00082510C86EBC82168100
    Response <-- 000071842075CEF234212A020084A3A740D138FB5BA98F825C03D8F39000
    Command --> 8482030010FA01FD060AE78C34CB01634B2893AE03
    Wrapped command --> 8482030010FA01FD060AE78C34CB01634B2893AE03
    Response <-- 9000
    install -file HelloWorld.cap -priv 2
    file name HelloWorld.cap
    Command --> 80E602001C09A00000006203010C0108A0000000030000000006EF04C60201A80000
    
    Wrapped command --> 84E6020028C7DECEFBDF48A854A448BEE5A897A1BE8C12211E6E38F7C503
    AF30FEDC0418433E7E74B384BF0E4200
    Response <-- 009000
    Command --> 80E80000EFC482019B010013DECAFFED010204000109A00000006203010C0102001F
    0013001F000E000B0036000C0067000A00130000006C00000000000001010004000B01000107A000
    000062010103000E010AA00000006203010C0101001406000C00800301000107010000001F070067
    000210188C000118110100900B8700188B00027A02308F00033D8C00043B7A0523198B00052D198B
    00063203290470191A08AD0016041F8D000B3B16041F41290419088B000C321F64E8198B00073B19
    160408418B00081903088B000919AD000316048B000A7A08000A0000000000000000000005003600
    0D020000000680030003
    Wrapped command --> 84E80000F81E84D0082E432D5D53CEFB420869762F6B00704632BBF67F07
    80809AC4BA18C1B3046C4E3FB6D226327B02847A0F5678D416EA971A78F11B159EB535F1AC083B48
    6E1F721DD21D0381E7F547B6E279B50198BB6A774AB2E42A801FF5D0334E79F3F051047C95518695
    5D833437AE7966D70DC8D1581F603C11DC1F17D7C794E58C5196B58DC01668375BF946CDCF867D4B
    5B7479AA83C871C8E63177F74B381466DC4516D22A296F2323BB42B0E94A5B262248F1E669464786
    4032EE1313C26AC7B231068E38C28317560CDD99D5D912752C3813F953BE4C8315B53CB4881AA9B0
    05822F875F1C94FDABBF96261D281B9CA7F66D75300B16
    load_applet() returns 0x8010002F (Errore di comunicazione con la smart card. Rip
    rovare.
    )
    This is the script that i use for to install cap file on secure element of Nokia 6131 NFC:

    Code:
    mode_211
    enable_trace
    establish_context
    card_connect
    card_connect -readerNumber 2
    select -AID a000000003000000
    open_sc -security 3 -keyver 42 -mac_key 404142434445464748494A4B4C4D4E4F -enc_key 404142434445464748494A4B4C4D4E4F -kek_key 404142434445464748494A4B4C4D4E4F
    install -file HelloWorld.cap -priv 2
    card_disconnect
    release_context
    I hope that someone has solved the same problem.
    Thank you.

  2. #2
    Registered User
    Join Date
    Aug 2009
    Posts
    8

    Re: Nokia 6131 NFC - Install CAP file on secure element with GPShell-1.4.2

    Io ho il kit SDK TopTunniste, Nokia 6212.
    I have the SDK TopTunniste, Nokia 6212.

    With GPshell:
    mode_211
    enable_trace
    establish_context
    card_connect -readerNumber 0
    * reader nme FEIG ID CPR.M02.VP/AB-C 0
    open_sc -security 3 -keyver 42 -mac_key 404142434445464748494a4b4c4d4e4f -enc_key 404142434445464748494a4b4c4d4e4f -kek_key 404142434445464748494a4b4c4d4e4f
    Command --> 80CA006600
    Wrapped commnd --> 80CA006600
    Response <-- 66C7.....................
    Command --> 80502A00081BD51ACF2DB09D0900
    Wrapped command --> 80502A00081BD51ACF2DB09D0900
    Responde <- 6A88
    mutual_authentication() return 0x80206A88 (6A88: Referenced Data not found.)


    Does anyone know help me?

    ( ErCifa... I know you? Are you Italian? )
    Last edited by zamby.ing; 2009-11-02 at 16:55.

Similar Threads

  1. Can we access MiFare part of secure element in Nokia 6131 without unlocking
    By prasad.nokia in forum Near Field Communication
    Replies: 0
    Last Post: 2009-09-04, 07:53
  2. Changing CardManager keyset on 6131 NFC Secure Element
    By tdelazzari in forum Near Field Communication
    Replies: 5
    Last Post: 2008-10-16, 14:15
  3. Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug?
    By kauppi in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2003-04-07, 09:05
  4. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46
  5. Http connection problem in 6310i
    By teahola in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-03, 18:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×