Commit 3db81ef4 by Mohammad Izzat Johari

fix slot id

parent 5206dd19
......@@ -4,5 +4,6 @@ return [
'pkcs11_tool' => env('HSM_PKCS11_TOOL', ''),
'module' => env('HSM_MODULE', ''),
'pin' => env('HSM_USER_PIN', ''),
'key_label' => "key_master_".date("Y")
'key_label' => "key_master_".date("Y"),
'slot_id' => env('HSM_SLOT_ID', '0'),
];
......@@ -22,7 +22,7 @@ class Pkcs11Command
$this->module = config('hsm.module');
$this->pin = config('hsm.pin');
$this->keyLabel = config('hsm.key_label');
$this->slotId = "1";
$this->slotId = config('hsm.slot_id');
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment