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.

Don't be fooled from cardmod.h or some other technical short names that start 
with cm or CM, even if MS has internal technical stuff that refers to it (like 
CMCK or minidriver certification kit)

So there is a "OpenSC PKCS#11 module", "OpenSC Tokend driver" and "OpenSC 
minidriver".

The naming in OpenSC should eventually be fixed as well.

It is a Microsoft-only thing, yes. They own the platform after all ;)


> 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 ?

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

_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to