If a user doesn't create the .softhsm2/tokens directory softhsm2-util will report ERROR: Could not initialize the library.. In newer versions of SoftHSM2 this error has been updated to indicate the root cause, the missing directory, but in the default version in the Ubuntu repositories the error message isn't clear enough to help the user.
This PR adds that missing step and calls out the error message so that if someone receives it and searches for it in this context they'll know what happened.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
If a user doesn't create the
.softhsm2/tokens
directory softhsm2-util will reportERROR: Could not initialize the library.
. In newer versions of SoftHSM2 this error has been updated to indicate the root cause, the missing directory, but in the default version in the Ubuntu repositories the error message isn't clear enough to help the user.This PR adds that missing step and calls out the error message so that if someone receives it and searches for it in this context they'll know what happened.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.