You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cross build --target armv7-unknown-linux-gnueabihf --no-default-features --features static-openssl,hsm
Finished dev [unoptimized + debuginfo] target(s) in 2m 25s
Test:
$ scp target/debug/krill [email protected]:
$ ssh [email protected]
$ grep -Ev '^#' krill.conf | sed '/^\s*$/d'
log_level = "trace"
log_type = "stderr"
admin_token = "********"
service_uri = "https://localhost:3000/"
[[signers]]
type = "PKCS#11"
name = "YubiHSM2 Nano via PKCS#11"
lib_path = "/home/pi/yubihsm/yubihsm-shell-2.3.0b/build/pkcs11/yubihsm_pkcs11.so"
slot = 0
user_pin = "********"
$ ./krill -c ./krill.conf
...
2022-01-04 12:12:53 [ERROR] [krill::commons::crypto::signing::signers::pkcs11::signer] [YubiHSM2 Nano via PKCS#11]
Unable to initialize PKCS#11 info for library '/home/pi/yubihsm/yubihsm-shell-2.3.0b/build/pkcs11/yubihsm_pkcs11.so':
PKCS#11 Error: Failed to load PKCS#11 library '"/home/pi/yubihsm/yubihsm-shell-2.3.0b/build/pkcs11/yubihsm_pkcs11.so"':
PKCS#11: unknown (0xb6ab784000000000)
This issue was explored further using the simpler keyls project and found to be seemingly due to a problem with the pkcs11 v0.5.0 Rust crate raising an error when invoking the C_GetFunctionList() PKCS#11 function during its Ctx::new() code. Using the cryptoki Rust crate instead didn't have the same issue. See ximon18/keyls#4.
The text was updated successfully, but these errors were encountered:
Krill version tested:
Prerequisites:
Build:
Test:
This issue was explored further using the simpler keyls project and found to be seemingly due to a problem with the
pkcs11
v0.5.0 Rust crate raising an error when invoking theC_GetFunctionList()
PKCS#11 function during itsCtx::new()
code. Using thecryptoki
Rust crate instead didn't have the same issue. See ximon18/keyls#4.The text was updated successfully, but these errors were encountered: