iclass icon indicating copy to clipboard operation
iclass copied to clipboard

Error: Authentication Failed

Open hidnoob opened this issue 7 years ago • 7 comments

When I run iclass read using OMNIKEY 5321 V2 CLi and Windows XP in a Virtualbox, the error is shown Error: Authentication failed

In the original iclassified, running main shows some data, followed by the same error Error: Authentication failed.

What will you suggest?

hidnoob avatar Oct 10 '16 13:10 hidnoob

Hi Hidnoob,

I also got the same error as you on the same Omnikey device, both in a XP vm, and also on win7. I suspect that HID has patched up their latest drivers available on their hidglobal.com site, and the latest drivers actually updated the firmware of the Omnikey device, which then subsequently disabled this vulnerability from occurring.

Can you help confirm:

  • if you know how to check the firmware of the card reader (which is different from the drivers version on windows)
  • if you have loaded a recent drivers directly from hid's website

Thanks.

demsona avatar Nov 15 '16 10:11 demsona

Sorry this must've slipped by.

So if authentication fails you might have a high security iClass card. This code will not work for those readers and you really won't be able to find a completely packaged solution to read every high security iClass card.

When you put the card near the reader (without running the code), does the reader blink?

ColdHeat avatar Nov 15 '16 18:11 ColdHeat

Absolutely, ContactlessDemoVC.exe reports it as an iclass 2ks card.

demsona avatar Nov 17 '16 10:11 demsona

anyone fixed it ??!

jnam10 avatar Mar 25 '17 06:03 jnam10

Hello, I just used this a few days ago, on a standard card and it worked fine. I was able to read, and close a card. I am running WinXPsp3 in a VM. I assume you have the correct older drivers, and API? What firmware does your OMNIKEY 5321 V2 CLi have? Mine is 5.0, and I am using the OMNIKEY 6321 Cli, although that shouldn't matter.

rapidnetrick avatar Apr 06 '17 20:04 rapidnetrick

Does anyone know if this will work with the HID iclass DL cards?

MacGyver1rjq104 avatar Apr 03 '18 21:04 MacGyver1rjq104

@MacGyver1rjq104 Yes, I have the code working with HID iCLASS DL cards.

I've also tried it with some HID Elite keys, and verified it gives Error: Authentication failed, but this is expected.

guberti avatar Oct 04 '20 04:10 guberti