Hi there,
I'm trying to use my YubiKey to protect a VeraCrypt volume. The program requires a PKCS#11 library, and I found it on the official YubiKey website:
🔗 https://developers.yubico.com/yubico-piv-tool/Releases/

I installed yubico-piv-tool-2.7.0-win64.msi,
then located the library file libykcs11.dll in the installation folder and pointed VeraCrypt to it.

Right after that, I got a library error (screenshot).
All software versions are 64-bit (yubico-piv-tool and VeraCrypt).

I’ve tried multiple combinations:
VeraCrypt version 1.26.2 and 1.25.9
yubico-piv-tool version 2.7.0 and 2.6.1

Nothing worked — VeraCrypt fails to load the library.

Any suggestions or working setups?