6131 Applet upload in Eclipse via Pegoda results in 'Authentication failed'
I have written a very simple applet which receives a apdu command and sends a fixed response. Within the JCOP debugger in Eclipse it is working. Now i have attached a pegoda external reader and try it with a real 6131 nfc phone. I use the default Eclipse settings and get the response below. Does anyone has experience with uploading applet into phone via external reader? Which keys do i need?
On the page [url]http://wiki.forum.nokia.com/index.php/Nokia_6131_NFC_-_FAQs[/url] is a statement that 'There will be a service which will allow you to unlock your SE for development work.' what does this mean??
> /term "tcl:10"
--Opening terminal
> /card -a a000000003000000 -c com.ibm.jc.CardManager
resetCard with timeout: 0 (ms)
--Waiting for card...
ATS=0D 78 80 84 02 00 73 C8 40 13 00 90 00 .x....s.@....
ATS: FSC=256, DS=1/DR=1 (symmetrical), FWI=8 (FWT=0.077 sec), SFGI=4, NAD=1/CID=0, Hist=0073C84013009000
=> 00 A4 04 00 08 A0 00 00 00 03 00 00 00 00 ..............
(34692 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 255/1/DES-ECB/404142434445464748494a4b4c4d4e4f 255/2/DES-ECB/404142434445464748494a4b4c4d4e4f 255/3/DES-ECB/404142434445464748494a4b4c4d4e4f
cm> init-update 255
=> 80 50 00 00 08 B6 AF 64 D2 0E F7 5D 13 00 .P.....d...]..
(104937 usec)
<= 00 00 63 42 90 FF F5 A8 01 09 01 02 00 00 6C 11 ..cB..........l.
A3 7C 09 A0 D8 1B 00 2C 11 A7 9D 98 90 00 .|.....,......
Status: No Error
jcshell: Error code: -5 (Authentication failed)
jcshell: Wrong response APDU: 0000634290FFF5A80109010200006C11A37C09A0D81B002C11A79D989000
Unexpected error; aborting execution
Re: 6131 Applet upload in Eclipse via Pegoda results in 'Authentication failed'
Hello RFID User,
Here is what I understand from this.
1. At this moment you can't login the cardmanagers, in other
words it is not possible to upload your applet.
2. Each 6131 has different 3DES keys. And those keys are
managed by other partys.
3. There is a way of unlocking it, but by doing that, the phone
becomes 'untrusted' and will not be accepted for example for
mastercard or other brands.
Now Nokia promised to deliver a midlet that can 'reset' the
cardmanager DESkeys. As far as I know that is not yet available...
You can read about this in document:
[URL="http://wiki.forum.nokia.com/images/d/d0/WIMA_2007_04_Mikko_Saarisalo.pdf"]http://wiki.forum.nokia.com/images/d/d0/WIMA_2007_04_Mikko_Saarisalo.pdf[/URL]
Greetz,
Marc van Dam
Re: 6131 Applet upload in Eclipse via Pegoda results in 'Authentication failed'
Hi,
Thanks for the answers!
I was aware of the Monaco presentation but was expecting that the unlockmidlet was already somewhere available.
Conclusion:
At this moment it is not possible to upload an applet. And what i have already noticed/tested (and read in some posts) the mifare 4k part is not working also with the current software version (V03.12) of the phone.
There is nothing working or accesable of the smartcard part of the 6131?
Questions:
1) How about the examples within the SDK Nokia_6131_NFC_SDK_1_0 like ticketing they can't be used from the SDK directly on the phone also?
2) For development we need then the UnlockMidlet?
3) In the real world it is not possible to add an applet to the secure element. It is only the operator or issuer of the SIM that has the Nokia tools and keys to upload an applet?
4) There is no unsecure part that can be used for all kind of fun applications? Which do not affect any paypass applications on the secure element?
Greetz
Re: 6131 Applet upload in Eclipse via Pegoda results in 'Authentication failed'
Hi
I had the same problem few times ago.
to fix it, I do an other eclipse with :
- jdk 1.4
- jcop
and nothing else.
Re: 6131 Applet upload in Eclipse via Pegoda results in 'Authentication failed'
If i understand you correctly you can upload an applet build in Eclipse with JCOP tools through a Pegoda reader to the 6131 NFC phone without security problems??
What i understand is that the phones (produktion version not development) must be unlocked before an applet can be uploaded for development.
But if it is working what version of Eclipse are you using? And which version of software is in your phone?
Re: 6131 Applet upload in Eclipse via Pegoda results in 'Authentication failed'
Yes I succeed to upload an applet through a pedoga.
I used Eclipe 3.1
But for the phone I used one send for the NFC awards, so I can't give you an answer because I don't have it now.