Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User dacamejo's Avatar
    Join Date
    Dec 2009
    Posts
    5
    Hi,

    I have some doubts on how to write in the Mifare memory of a Nokia 6212 Classic. I appreciate a lot any help.

    - Do I have to open a secure channel in order to write in the Mifare Memory?

    - I am trying to use a Omnikey 5321 for these, but when I try my script I get SW6986 on the "Load Keys" APDU. Does anybody have a sample script or a more friendly tool?

    - The keys for the Mifare memory are MAD A0A1A2A3A4A5 and NDEF D3F7D3F7D3F7? Any example on how to use them?

    - Does these apply the same for the Nokia 6131?

    Thanks a lot.

    Regards,

    Daniel

  2. #2
    Regular Contributor geri-m's Avatar
    Join Date
    Apr 2004
    Location
    Vienna
    Posts
    321
    Quote Originally Posted by dacamejo View Post
    Hi,

    I have some doubts on how to write in the Mifare memory of a Nokia 6212 Classic. I appreciate a lot any help.

    - Do I have to open a secure channel in order to write in the Mifare Memory?

    - I am trying to use a Omnikey 5321 for these, but when I try my script I get SW6986 on the "Load Keys" APDU. Does anybody have a sample script or a more friendly tool?

    - The keys for the Mifare memory are MAD A0A1A2A3A4A5 and NDEF D3F7D3F7D3F7? Any example on how to use them?

    - Does these apply the same for the Nokia 6131?

    Thanks a lot.

    Regards,

    Daniel
    ad 1) no. the thing is that mifare uses it's own "secure channel" which will be established between the mifare reader and the mifare-IC. All the crypto-stuff is done by the hardware - after the correct authentication you can read/write the blocks.

    ad 2) propably you want to post your script in order to see what you are trying to do and the see if we can help you with that.

    ad 3) As long as the Mobile phone is "locked" the keys are not public. after unlocking the phone (with the unlock midlet) the keys are either A0A1A2A3A4A5, B0B1B2B3B4B5 or FFFFFFFFFF.

    ad 4) yes.

    best, geri-m

  3. #3
    Registered User dacamejo's Avatar
    Join Date
    Dec 2009
    Posts
    5
    Hi geri-m,

    OK, the story is a bit complicated, I already unlocked the 6212 with the Midlet, this was no problem. Then I opened the Secure Channel with the test keys, again no problem... After doing some tests I had an error in one of the scripts, and apparently the SE is now blocked due to a security mechanism that was trigerred...

    So now, I am trying to use the Mifare memory, even though the SE in blocked. I don't know if this is possible at all.

    The Script I am using with the Omnikey 5321 is:

    .POWER_ON

    ;Read UID
    FFCA000000 [XXXXXXXX] (9000)

    ;Load Authentication Keys
    FF82 2000 06 FFFFFFFFFFFF (9000)

    ;Authenticates
    FF86 0000 05 0100006000 (9000)

    But I am getting 6986 in the "Load Authentication Keys" APDU, it doesnt even let me try the authentication, so I don't know if this is caused due to the SE blocked or beacause I am missing something.

    I hope I was clear enough. Thanks a lot for your help.

    Regards,

    Daniel

Similar Threads

  1. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  2. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved