2009/12/14  <webmas...@opensc-project.org>:
> +So far no place has been found where we could mark new tokens
> +differently, to see if a token has been initialized with an old
> +copy of opensc or a recent one. One place that could be used
> +would be TokenInfo manufacturerID which is currently set by
> +pkcs15init/profile.c as
> +        p15card->manufacturer_id = strdup("OpenSC Project");
> +for new cards. It could contain the version number...

I think that is a good idea.
The manufacturer_id[] array is 32 bytes long so we have some space and
could store:
"OpenSC Project v0.11.12" (23 bytes)

That information will not be easy to parse computationally but at
least it should appear in the logs.

Bye

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

Reply via email to