We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5a0c74 commit 9dacbdcCopy full SHA for 9dacbdc
host-support/config
@@ -1,4 +1,5 @@
1
CUSTOMER_KEY_FILE_PEM=
2
+CUSTOMER_KEY_PKCS11_NAME=
3
GOLD_MASTER_OS_FILE=
4
RPI_DEVICE_STORAGE_TYPE=
5
RPI_DEVICE_FAMILY=
host-support/terminal-functions.sh
@@ -137,7 +137,7 @@ get_signing_directives() {
137
echo "${CUSTOMER_KEY_PKCS11_NAME} -engine pkcs11 -keyform engine"
138
else
139
if [ -n "${CUSTOMER_KEY_FILE_PEM}" ]; then
140
- if [ -f "${CUSTOMER_KEY_FILE_PEM}" ]; then
+ if [ ! -f "${CUSTOMER_KEY_FILE_PEM}" ]; then
141
echo "RSA private key \"${CUSTOMER_KEY_FILE_PEM}\" not a file. Aborting." >&2
142
exit 1
143
fi
0 commit comments