Omnikey 5022 CL and authentication Ultralight C

Sjaak Paridaens <[email protected]> Fri, 27 Oct 2017 13:58:17 +0200
Newsgroups gmane.comp.lib.muscle
Message-ID <CAFrOpK-6h=+gHBR9z6UYq90O=m_0V1uJa6HoK6pzEQzriJF5oQ@mail.gmail.com>
--===============0526991599809299771==
Content-Type: multipart/alternative; boundary="001a1140c35a1a8a9d055c8601b4"

--001a1140c35a1a8a9d055c8601b4
Content-Type: text/plain; charset="UTF-8"

The Omnikey AG 5022 CL has a Software developer guide with specific example
code to authenticate to a Mifare Ultralight-C card (section 5.4.3 in the
guide). The guide suggests to split the 16 bytes 3DES key for the
authentication into two parts, load the keys via SCardControl() into key
position 0 and 1 of the reader and gives the reader the instruction to
authenticate. Problem is that the reader has only 6 bytes of memory
available, so I got an 0x6989 key length error back. The example code in
the developer guide is meant for Mifare Classic authentication, is my
impression. Not for authentication with an Ultralight-C.

Wich leaves the question open how to authenticate to an Ultralight-C card
with the Omnikey 5022. Anybody who knows the trick? Or has a pointer into
the right direction?

Sjaak

--001a1140c35a1a8a9d055c8601b4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><br></div><div>The Omnikey AG 5022 CL has a Software =
developer guide with specific example code to authenticate to a Mifare Ultr=
alight-C card (section 5.4.3 in the guide). The guide suggests to split the=
 16 bytes 3DES key for the authentication into two parts, load the keys via=
 SCardControl() into key position 0 and 1 of the reader and gives the reade=
r the instruction to authenticate. Problem is that the reader has only 6 by=
tes of memory available, so I got an 0x6989 key length error back. The exam=
ple code in the developer guide is meant for Mifare Classic authentication,=
 is my impression. Not for authentication with an Ultralight-C.</div><div><=
br></div><div>Wich leaves the question open how to authenticate to an Ultra=
light-C card with the Omnikey 5022. Anybody who knows the trick? Or has a p=
ointer into the right direction?</div><div><br></div><div>Sjaak</div></div>

--001a1140c35a1a8a9d055c8601b4--


--===============0526991599809299771==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Pcsclite-muscle mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle
--===============0526991599809299771==--