Oops,

Additionally you will have to initialize all CHV parameter field (including
the unblock CHV, if you want to use it). More like:

{
                 0x01,                   /* CHV valid */
                 0x02,                   /* Method of presentation */
                 0x00,                   /* Key number in the relevant
EFKey; N/A */
                 "jojo",                 /* Actual BCD(4) CHV */
                 0x00000000,         /* 0-padded filler */
                 0x05,                   /* Initial retry attempt counter */
                 0x05,                   /* Remaining attempt counter */
                 0x0123456789012345,     /* Unblock CHV */
                 0x0A,                   /* Unblock CHV initial retry
attempt counter */
                 0x0A,                   /* Unblock CHV remaining attempt
counter */
                 0x00                    /* Reserved */
}

Regards,

Emiel Spoor
Consultant
CMG Advanced Technology Projects Division
Parnell House
25 Wilton Road
LONDON
SW1V 1EJ

Tel: +44 171 592 4827
Fax: +44 171 592 4401
e-mail: [EMAIL PROTECTED]

        -----Original Message-----
        From:   Emiel Spoor [SMTP:[EMAIL PROTECTED]]
        Sent:   02 September 1999 09:28
        To:     '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
        Subject:        RE: [OCF] CHV key

        The CHV space is 8 bytes. You will have to initialize 8 bytes and
present 8
        bytes in a VerifyCHV.

        Regards,

        Emiel Spoor
        Consultant
        CMG Advanced Technology Projects Division

        e-mail: [EMAIL PROTECTED]

        > -----Original Message-----
        > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
        > Sent: 02 September 1999 08:03
        > To:   [EMAIL PROTECTED]
        > Subject:      [OCF] CHV key
        > 
        > Hi,
        > 
        >   I am trying to initialise and personalise IBM MFC 4.1 card using
        > following
        > initialise layout (fragment):
        > 
        >      File (
        >        EF_CHV1
        >        id (0x0000)
        >        organization ( transparent )
        >        size (24)
        >        access status(
        >          change not allowed
        >        )
        >        initial data (
        >          "jojo"
        >        )
        >      )
        >    File
        >    (
        >       EF_PRI
        >       Id (0xA000)
        >       Organization ( transparent )
        >       Size(1024)
        >       Access
        >       (
        >          read (chv1)
        >          update(chv1)
        >       )
        >    )
        > 
        > but during reading EF_PRI file password "jojo" dos't work. Why?
        > 
        > 
        > thanks for any help,
        > 
        > Jakub
        > Visit the OpenCard Framework's WWW site at
http://www.opencard.org/ for
        > access to documentation, code, presentations, and OCF
announcements.
        >
--------------------------------------------------------------------------
        > ---
        > To unsubscribe from the OCF Mailing list, send a mail to
        > "[EMAIL PROTECTED]" with the word "unsubscribe" in the
BODY of
        > the
        > message.
        Visit the OpenCard Framework's WWW site at http://www.opencard.org/
for
        access to documentation, code, presentations, and OCF announcements.
        
----------------------------------------------------------------------------
-
        To unsubscribe from the OCF Mailing list, send a mail to
        "[EMAIL PROTECTED]" with the word "unsubscribe" in the
BODY of the
        message.
Visit the OpenCard Framework's WWW site at http://www.opencard.org/ for
access to documentation, code, presentations, and OCF announcements.
-----------------------------------------------------------------------------
To unsubscribe from the OCF Mailing list, send a mail to
"[EMAIL PROTECTED]" with the word "unsubscribe" in the BODY of the
message.

Reply via email to