mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 21:59:59 -04:00
Fix clean.sh removal omissions
- Ensure keyfromlabel token is cleaned up
This commit is contained in:
parent
b66fb31dcb
commit
7dde34afac
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
OPENSSL_CONF= softhsm2-util --delete-token --token "softhsm2-keyfromlabel" >/dev/null 2>&1 || true
|
||||
OPENSSL_CONF= softhsm2-util --init-token --free --pin 1234 --so-pin 1234 --label "softhsm2-keyfromlabel" | awk '/^The token has been initialized and is reassigned to slot/ { print $NF }'
|
||||
|
||||
printf '%s' "${HSMPIN:-1234}" >pin
|
||||
|
|
|
|||
Loading…
Reference in a new issue