I installed the latest open-eid version using the script install-open-eid.sh from https://installer.id.ee/media/ubuntu/. When I tried to get the certificates I received driver_error message. Enabling logging I got the this:
atrList() [PKCS11Path.cpp:69] found reader: AKS ifdh [Main Interface] 00 00
atrList() [PKCS11Path.cpp:82] Set ATR = 3BD518008131FE7D8073C82110F4 for reader AKS ifdh [Main Interface] 00 00
[2840] PKCS11CardManager() [PKCS11CardManager.h:124] Function List not loaded /usr/local/lib/libeTPkcs11.dylib: /usr/local/lib/libeTPkcs11.dylib: não é possível abrir arquivo compartilhado: Arquivo ou diretório inexistente
2019-04-11 17:25:44 [2840] write() [chrome-host.cpp:132] Response(66) {
"nonce": "dh0asknzlvfj9gvm",
"result": "driver_error"
}
As far as I know the dylib extension is only for Mac OS. Investigating further I found in PKCS11Path.cpp at line 127 the constant definition:
I think the right path would be /usr/lib/libeTPkcs11.so. At least on my machine I created a symbolic link from /usr/local/lib/libeTPkcs11.dylib to /usr/lib/libeTPkcs11.so and solved the problem.
I installed the latest open-eid version using the script install-open-eid.sh from https://installer.id.ee/media/ubuntu/. When I tried to get the certificates I received driver_error message. Enabling logging I got the this:
As far as I know the dylib extension is only for Mac OS. Investigating further I found in PKCS11Path.cpp at line 127 the constant definition:
I think the right path would be /usr/lib/libeTPkcs11.so. At least on my machine I created a symbolic link from /usr/local/lib/libeTPkcs11.dylib to /usr/lib/libeTPkcs11.so and solved the problem.