Le 31/03/2011 21:28, Martin Paljak a écrit : > Hello, > > On Mar 31, 2011, at 20:36 , Viktor TARASOV wrote: >> Cardmod is promoted by Microsoft and is used (afaik) exclusively by >> Microsoft . > For the sake of terminology - the concept is called a mini(-)driver and most > Miicrosoft originating documentation talks about "a minidriver", not a > cardmod. Sorry, 'cardmod' should be read as 'minidriver'.
>> In the minidriver documentation it's going about GUID, and GUID has its well >> known form in the world of Microsoft . >> As far as I've seen, the minidrivers of the card producers have also adopted >> this serialized form of GUID . >> (From my little experience with CSP I retain also this kind of key container >> identifier.) > The representation of GUID-s is not a must have. Take any random data and you > can format it in a fixed form unique ID (like hashing) or use something else > that does the work. > > One thing I personally dislike is a ultra-verbose XML with a bunch of > meaningless (but things that need to match) GUID-s all over the place, like > Wix config :). I mean if 1, 2 and 3 guarantee uniqueness in a specific > context, GUID-s should not be used. The fact that GUIs that autogenerate such > XML find it easy to toss around GUID-s for simplicity doesn't mean we need to > copy it. > > But that's pure demagogy. The thing is: GUID-s are supposed to be > machine-parsed. Like PKCS#11 URI-s. If a user needs to deal with GUID-s in > real life situations, something else is broken. I don't think that the *user* > should be given a knob to tweak the internal format of some technical machine > parsed field. I mean - who cares if my partition table is big or little > endian if it works ? These debates have little of technical substance, it concerns rather the 'visual effect' for the curious user eager for the details . But, we have made a minidriver, let it behave as minidriver . > I'll re-read the e-mails one more time to make sure that I've not > misunderstood something. We just need to make sure that whatever we > concatenate for the unique ID satisfy the requirements for the uniqueness of > the ID. Everything else is pure formatting. > > Cheers, > > Martin Kind wishes, Viktor. -- Viktor Tarasov <viktor.tara...@opentrust.com> _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel