Hi,
I think that the limitation of SC_PKCS15_MAX_PINS=8 in
src/libopensc/pkcs15.h is not enough for Aventra MyEID smart card.
According to the wiki (OpenSC/wiki/Aventra-MyEID-PKI-card), MyEID smart
card supports up to 14 PINs. But, because of this limitation,
"pkcs11-tool -L" command shows only first 7 slots.
Please consider to increase SC_PKCS15_MAX_PINS value to at least 14.
Thanks,
Hiroshi KIHIRA
---
src/libopensc/pkcs15.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/libopensc/pkcs15.h b/src/libopensc/pkcs15.h
index f46a9b7..9ac48f7 100644
--- a/src/libopensc/pkcs15.h
+++ b/src/libopensc/pkcs15.h
@@ -30,7 +30,7 @@ extern "C" {
#define SC_PKCS15_CACHE_DIR ".eid"
#define SC_PKCS15_PIN_MAGIC 0x31415926
-#define SC_PKCS15_MAX_PINS 8
+#define SC_PKCS15_MAX_PINS 14
#define SC_PKCS15_MAX_LABEL_SIZE 255
#define SC_PKCS15_MAX_ID_SIZE 255
--
Hiroshi KIHIRA <hi...@du...>
|