Closed kristian1108 closed 9 months ago
Pkcs11 works perfectly fine when not used as a lazy static.
But when wrapped in a Lazy static, the program seg faults on exit.
Reproduction: https://github.com/kristian1108/boring-reproduce
Note this only appears to be an issue on OSX Sonoma
Build the SoftHSM tools from source and that appears to have solved the issue. Instructions here: https://github.com/opendnssec/SoftHSMv2/tree/develop
Pkcs11 works perfectly fine when not used as a lazy static.
But when wrapped in a Lazy static, the program seg faults on exit.
Reproduction: https://github.com/kristian1108/boring-reproduce
Note this only appears to be an issue on OSX Sonoma