Hi,

You're right, you have to change these two lines that it works properly.

The standard file size for the 0x0000 file (CHV) is 39 (0x27).
We forgot to add the header while creating the file, so it is 16 bytes too
short.
It is strange that it worked for our cards.

Thanks for your hint!
Martin Sägesser


>Hi,
>
>I got 67 00 (wrong length) while running `makecard',
>when the program tried to do an Update Binary of the
>EF 0x0000 (CHV1).
>
>The message returned by the program was "error writing
>PIN"
>
>I edited the file cat/makecard.c, line 250, activated
>the line:
>
>check = createFile(0x0000, 0x0027, BINARYFILE, acl);
>
>and deactivated the line:
>
>check = createFile(0x0000, 0x0017, BINARYFILE, acl);
>
>to create a larger PIN file, and the program run
>successfully.
>
>I'm ussing Cyberflex Access (ATR: 3B169481100601812F).
>
>Is this a problem of my card?
>
>Thanks,
>Carlos.
>
>--- Mario Strasser <[EMAIL PROTECTED]> wrote:
>>  Hi,
>> 
>>  in the context of a project work at the University
>> of Applied Sciences
>> Winterthur in Switzerland we built a package, which
>> alows you to use a RSA
>> smartcard for login. The package contains
>> a pam-modul, the necessary tools to administrate the
>> smartcards and a
>> installation HOWTO.
>> You can download it from
>> http://www.strongsec.com/smartcards/ .
>> 
>> The package was built for the Schlumberger Cyberflex
>> and Cryptoflex cards
>> and tested under SuSE Linux
>> 7.1 with a Schlumberger Reflex 62 and a Towitoko
>> Carddrive reader. But it
>> may work with other
>> ISO-7816 compatible smartcards, too.
>> Let us know what you think about, because we intend
>> to upgrade it as part of
>> our diploma work.
>> (Make it usable in a network environment, for
>> example by storing the public
>> keys on a LDAP-Server.)
>> 
>> We look forward to hearing from you soon.
>> 
>> Best regards.
>> 
>>  Mario Strasser <[EMAIL PROTECTED]> & Martin Saegesser
>> <[EMAIL PROTECTED]>
>> 
>> 
>> 
>>
>***************************************************************
>> Linux Smart Card Developers - M.U.S.C.L.E.
>> (Movement for the Use of Smart Cards in a Linux
>> Environment)
>> http://www.linuxnet.com/smartcard/index.html
>> ***************************************************************
>
>__________________________________________________
>Do You Yahoo!?
>Get personalized email addresses from Yahoo! Mail - only $35 
>a year!  http://personal.mail.yahoo.com/
>***************************************************************
>Linux Smart Card Developers - M.U.S.C.L.E.
>(Movement for the Use of Smart Cards in a Linux Environment)
>http://www.linuxnet.com/smartcard/index.html
>***************************************************************
>




________________________________________
E-Mail for everyone! http://www.bluemail.ch/ powered by Bluewin!

***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************

Reply via email to