Replies: 1 comment
-
I agree that the The PKCS#11 specs does not go into detail what specific values should be in this field:
https://docs.oasis-open.org/pkcs11/pkcs11-base/v3.0/pkcs11-base-v3.0.html So I would say that as long as it can provide some useful information to the user, I think it would be good to have. I am not sure though if it should be another I think the card driver is the part that has the most information about the card (usually based on ATR) so it should be the one setting the model. So my take would be to go ahead and open a PR. The rest can be discussed during reviews. |
Beta Was this translation helpful? Give feedback.
-
Currently PKCS#11 token model is either read from the conf file or set to generic
PKCS#15
orPKCS#15 emulated
values ifaplication.model
is not present in conf file.I think it would be nice if the card driver could set the model via the
sc_card_ctl(...)
call with a fallback to legacy approach?This way new models can be introduced without touching the conf file and/or be changed on the fly (or as needed)?
I have already made necessary changes and can provide a PR if you think this could be usable?
Beta Was this translation helpful? Give feedback.
All reactions