build-ca: Deliberately remove manual password in temp-file

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2023-02-11 23:11:43 +00:00
parent 41f23444c6
commit 2dd2767922
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246

View File

@ -1518,6 +1518,10 @@ Unable to create necessary PKI files (permissions?)"
|| die "Failed to build the CA certificate"
# Remove passphrase temp-file
if [ -f "$in_key_pass_tmp" ]; then
rm "$in_key_pass_tmp" || die "\
Failed to remove the CA passphrase temp-file!"
fi
if [ -f "$out_key_pass_tmp" ]; then
rm "$out_key_pass_tmp" || die "\
Failed to remove the CA passphrase temp-file!"