mifare auth error

Jorid joridporeci at gmail.com
Sun Jul 22 03:36:39 UTC 2007


In my previous threat
<http://lists.openpcd.org/pipermail/openpcd-devel/2007-July/000101.html>
i asked how I can transfer data to the card. Milosch suggested to use
"mifare-tool" commands to read and write on the layers. i tried to read the
OpenPCD card using mifare-tool commands, below i posted the outputs:

-----------------------------------------------------------------(OpenPCD -
card)--------------------------

$ sudo mifare-tool -r 1
mifare-tool - (C) 2006 by Harald Welte
This program is Free Software and has ABSOLUTELY NO WARRANTY

initializing librfid
opening reader handle
No Omnikey Cardman 5121 found
read(key=' ff ff ff ff ff ff',page=1):opening layer2 handle
running layer2 anticol
ISO14443-3A anticollision succeeded
running layer3 (ats)
we now have layer3 up and running
Mifare card available
mifare auth succeeded!
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
access b0:0 b1:0 b2:0 b3:0
0: READ: A|B, WRITE: A|B, INC: A|B, DEC: A|B
1: READ: A|B, WRITE: A|B, INC: A|B, DEC: A|B
2: READ: A|B, WRITE: A|B, INC: A|B, DEC: A|B
3: KEY_A_RD: NEVER, KEY_A_WR: A, ACC_RD: A, ACC_WR: NEVER, KEY_B_RD: A,
KEY_B_WR: A

 sudo mifare-tool -r !
mifare-tool - (C) 2006 by Harald Welte
This program is Free Software and has ABSOLUTELY NO WARRANTY

initializing librfid
opening reader handle
No Omnikey Cardman 5121 found
read(key=' ff ff ff ff ff ff',page=0):opening layer2 handle
running layer2 anticol
ISO14443-3A anticollision succeeded
running layer3 (ats)
we now have layer3 up and running
Mifare card available
mifare auth succeeded!
 34 fd f5 d7 eb 88 04 00 47 c1 24 59 d1 00 08 06

The mifare-tool commands work fine when i wnat to write on the OpenPCD-card,
with no errors.


Now when i try to read a generic ISO14443-3A contact-less card i get an auth
error. what can cause this error? how can i solve it. the same error appears
when i want to write on the card.

------------------------------------(generic ISO14443-3A contact-less
card)--------------------------------

sudo mifare-tool -r 1
mifare-tool - (C) 2006 by Harald Welte
This program is Free Software and has ABSOLUTELY NO WARRANTY

initializing librfid
opening reader handle
No Omnikey Cardman 5121 found
read(key=' ff ff ff ff ff ff',page=3):opening layer2 handle
running layer2 anticol
ISO14443-3A anticollision succeeded
running layer3 (ats)
we now have layer3 up and running
Mifare card available
mifare auth error
$
sudo librfid-tool -S
librfid-tool - (C) 2006 by Harald Welte
This program is Free Software and has ABSOLUTELY NO WARRANTY

initializing librfid
opening reader handle
No Omnikey Cardman 5121 found
scanning for RFID token...
Layer 2 success (ISO 14443-3 A):  1a 66 16 08
Protocol success (Mifare Classic)
Size: 1024 bytes
scanning for RFID token...
scanning for RFID token...
Layer 2 success (ISO 14443-3 A):  1a 66 16 08
sudo mifare-tool -r !
mifare-tool - (C) 2006 by Harald Welte
This program is Free Software and has ABSOLUTELY NO WARRANTY

initializing librfid
opening reader handle
No Omnikey Cardman 5121 found
read(key=' ff ff ff ff ff ff',page=0):opening layer2 handle
running layer2 anticol
ISO14443-3A anticollision succeeded
running layer3 (ats)
we now have layer3 up and running
Mifare card available
mifare auth error

i really need to be able to read and write on this kind of rfid-tags.

thanks again for any reply or help.

ps. is this problem anyway related to this old
tread<https://lists.gnumonks.org/pipermail/librfid-devel/2006-June/000041.html>,
where this user has an auth-error as well?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openpcd.org/pipermail/openpcd-devel/attachments/20070721/b75ee300/attachment.html


More information about the openpcd-devel mailing list