Hi,

Old API in pkcs15init has a little infirmity: when storing new object 
data, an invalid index can be supplied to the card specific 'new_file'.

The value of this index is the number of existing objects of a given 
type. So, when there is a 'hole' in the sequence of the object file-ids 
(for ex. after the object of the same type, not the last one, has been 
deleted)
the supplied index is invalid.

Four card still use Old API: 'oberthur', 'setcos', 'myeid' and 'miocos'.

Two of them ('setcos' and 'myeid') compensate this infirmity in the 
card-specific part -- the first non existing file-id, starting from the 
given index, is looked for.

For 'oberthur' and 'miocos' it's the bug.

I would like to migrate these cards to the New API.

I have 'oberthur' and currently waiting for the 'setcos';
'myeid' is a copy&past of 'setcos';
'miocos' is the same case as 'oberthur';
 so, there should be no big problems with the tests.


Any objections?

Kind wishes,
Viktor.




Viktor TARASOV wrote:
> Hi,
>
> can I find somewhere OpenSC compatible cards 'myeid', 'miocos' and 
> 'setcos' (to buy, hire, or else), please?
>
> Or, maybe, someone, who have these cards, can make some tests?
>
> Kind wishes,
> Viktor.
>
>   


-- 
Viktor Tarasov  <[email protected]>

_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to