Skip to content

Conversation

@rborosak
Copy link

The path of pcsk11 has changed on macOS in the new version

The path of pcsk11 has changed on macOS in the new version
@rborosak rborosak changed the title Update Pkcs11ElectronicID.cpp Updated MacOS croatian path to pkcs11 for new version Mar 30, 2025
@mrts
Copy link
Member

mrts commented Jul 15, 2025

As mentioned in #124, testers installed the Certilia Middleware v3.7.2 driver on two different macOS machines and the directory /Library/AKD/eID Middleware specified in the PR did not appear. The driver is installed in the directory /usr/local/lib/pkcs11/ and the library filename is libEidPkcs11.dylib.

The following workaround should still work:


In macOS, the driver provider installs the library to /usr/local/lib/pkcs11, but sandboxed applications cannot access /usr/local/ due to macOS restrictions. To make Web eID work, the library libEidPkcs11.dylib and License.bin must be copied to /Library/AKD/pkcs11, which is accessible in sandboxed environments:

sudo mkdir -p /Library/AKD/pkcs11
sudo cp -a /usr/local/lib/pkcs11/{libEidPkcs11.dylib,License.bin} /Library/AKD/pkcs11/

This workaround is required until the driver provider addresses the issue.


@rborosak, it would be much appreciated if you could report this issue to the driver provider.

@mrts mrts marked this pull request as draft July 15, 2025 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants