the old mechanism for selecting IDs was maybe too simple, so implementing a better mechanism would be a good idea. I guess the card driver should have some control over it, as different cards have different requirements.
for example: * with some cards, file index must be uniq (e.g. you can't have foo/A and bar/A) * some cards might want to set short ids (one byte global values for direct reference) * some cards might be limited - at least some special objects need to have a "right" file ID. no idea how to actually implement it. if it breaks some or all cards, now is a good time to make big changes, as we break ABI anyway. opensc reads all DF files on startup, so if a new ID is needed, a card driver could (worst case) go through all DF entries and see which ones are already in use to avoid conflicts? Regards, Andreas _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel