You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, it seems that CK_VERSION.ToString method is returning incorrect value.
I'm currently using Pkcs11Interop 5.1.2 library and it is returning FirmwareVersion = 7.2 instead of FirmwareVersion = 7.02.
According to PKCS#11 v2.40 section 3.1, minor version number is the hundredth portion of the version. Provided example in PKCS#11 specification shows that CK_VERSION { major = 2, minor = 1 } is 2.01 version
So, in order to correctly display version string, CK_VERSION.ToString method implementation should be something like this:
Hi, it seems that
CK_VERSION.ToString
method is returning incorrect value.I'm currently using Pkcs11Interop 5.1.2 library and it is returning
FirmwareVersion = 7.2
instead ofFirmwareVersion = 7.02
.According to PKCS#11 v2.40 section 3.1, minor version number is the hundredth portion of the version. Provided example in PKCS#11 specification shows that
CK_VERSION { major = 2, minor = 1 }
is 2.01 versionSo, in order to correctly display version string,
CK_VERSION.ToString
method implementation should be something like this:The text was updated successfully, but these errors were encountered: