On Tue, 26 Mar 2002, andi wrote:

> Hi everybody,
>
> I have problems with my cyberflex access 32K Cards. They don't give
> any correct answers to my APDUS. The only answer I get is 6D00. Does
> anybody have an idea why this cards don't work ? Other cards (SICRYPT,
> my ATM-Card) work without problems.

Hi!

I had the same problem, newer slb cyberflex cards come with app class F0
while older with 00. I've managed to overcome this using somethig like
that:

type = 1

send-> 00a4 00 00 02 3f 00
receive -> buf

if buf[0] != 0x61
 send-> f0a4 00 00 02 3f 00
 receive -> buf
 if buf[0] != 0x61
  error
 fi
 type = 2
fi

send something else -> if type == 1 00xx xx xx xx ... else f0xx xx xx xx
...

Radosław Chyra

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Radosław Chyra [Chyras/Negative IQ][http://chyras.teww.tv] <- Linux ->
[mailto:[EMAIL PROTECTED]]            <- It's a C++ world we live in ->
Take a glance at: http://www.upr.org.pl/                     <- UPR ->
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


***************************************************************
Unix Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/
To unsubscribe send an email to [EMAIL PROTECTED] with
unsubscribe sclinux
***************************************************************

Reply via email to