Thank you, I understand the process better now.
So now, my problem is related to the external authentication process. In
order to authenticate to the card (so that I can select the applet that I
wish to run), I need to encrypt a nonce with a DES key. I am thinking of
using the OpenSSL DES library for this. However, in Eclipse the key list is
printed with 32-bit keys, something like:
set-key ${CURRKEYS}
print-key
1/1/DES-ECB/0123456789ABCDEF0123456789ABCDEF
1/2/DES-ECB/0123456789ABCDEF0123456789ABCDEF
1/3/DES-ECB/0123456789ABCDEF0123456789ABCDEF
However, the normal DES ECB standard uses either an 8-bit key (single DES)
or a triple 8-bit (24-bit) key in the case of 3DES. So how can I perform
the DES encryption with 32-bit keys?
Regards,
Mladen
----- Original Message -----
From: "Peter Williams" <[EMAIL PROTECTED]>
To: "MUSCLE" <[EMAIL PROTECTED]>
Sent: Wednesday, November 24, 2004 5:56 PM
Subject: Re: [Muscle] Setting up connection to JCOP 21 card
> The JCOP 21 is expecting you to poll for the 1B bytes of available result.
> i.e. issue: 0x00 0xC0 0x00 0x00 0x1B
>
> Eclipse did this for you, presumably, whereas your library is not
> performing APDU emulation: its giving you the actual TPDU returned by the
> card, for your handling, according to your buffering requirements.
>
> It could be necessary to perform between 1 and 1B rounds of polling,
> depending on the card's buffer resources, and the state of the garbage
> collector.
>
> Following the subsequent GP domain selection and device authentication,
and
> status checking for the association, it is necessary to (re)select the
> file/applet over the secure channel, which THEN returns a 90 00
indication.
_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.drizzle.com/mailman/listinfo/muscle