Hello, On Apr 19, 2011, at 18:08 , Juan Antonio Martinez wrote: > Studing eidenv code and how I did it in opendnie, I suggest a change to > make eidenv.c card independent, and rely in each card driver the work of > get (when available) proper results: > > 1- Create a new generic cardctl call SC_CARDCTL_GET_EXTRADATA
A great idea in general, that would make eidenv a more generic utility, as the need is universal but the current implementation a patchwork. > Pros > - unifies access to extra -non-pkcs15-related card data > - Doesn't need to modify existing drivers that provides no extra info > > Contras > - Needs a consensus on variable list,names and so I guess there's some kind of (international/EU) standard for travel documents (ICAO MRTD?) that define names for common fields of such documents. That could be used as a reference, probably there's even a standardized translation available somewhere under *.eu > - Needs to be written (easy, but someone has to do the job) True :) Cheers, -- @MartinPaljak.net +3725156495 _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel