V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 56s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 56s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -1 +1 @@
|
|||||||
be5dfdaf07abdea07b6e683951fac60047ace3a01070918bf5d73f72ded156e17898b18ef28391752d4985338af7e2bb566fd9fa842bfe5fdce2defa11ce632e
|
77b9e24b9ab370f7eba5a30505d1909149d250a2b3f4f2a4753204597075738f568f8070bd3c78b7d85c47935c29e4b8587d1f3bea3aa28be7a17468aae48fc7
|
||||||
|
|||||||
Binary file not shown.
@@ -25,6 +25,9 @@ guard_sourcing
|
|||||||
# dropbear_dhcp
|
# dropbear_dhcp
|
||||||
# dropbear_firewall
|
# dropbear_firewall
|
||||||
# dropbear_port
|
# dropbear_port
|
||||||
|
# dropbear_pub_key
|
||||||
|
# dropbear_sha_file
|
||||||
|
# dropbear_sig_file
|
||||||
# network_static_ipv4nameserver_0
|
# network_static_ipv4nameserver_0
|
||||||
# network_static_ipv4nameserver_1
|
# network_static_ipv4nameserver_1
|
||||||
# ssh_allow_ipv4_0
|
# ssh_allow_ipv4_0
|
||||||
|
|||||||
@@ -347,9 +347,7 @@ trap_on_term() {
|
|||||||
stty echo
|
stty echo
|
||||||
printf "%b" "${NL}"
|
printf "%b" "${NL}"
|
||||||
color_echo "${RED}" "✘ Received termination signal. System Power Off in 3 seconds." >&2
|
color_echo "${RED}" "✘ Received termination signal. System Power Off in 3 seconds." >&2
|
||||||
# TODO: REMOVE DEBUGGER FOR PRODUCTION
|
power_off 3
|
||||||
drop_bash
|
|
||||||
#power_off 3
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
@@ -379,9 +377,8 @@ verify_script() {
|
|||||||
|
|
||||||
if ! gpgv --keyring /etc/keys/unlock_wrapper_pubring.gpg "${sigfile}" "${hashfile}"; then
|
if ! gpgv --keyring /etc/keys/unlock_wrapper_pubring.gpg "${sigfile}" "${hashfile}"; then
|
||||||
color_echo "${RED}" "✘ Signature verification failed for: [${hashfile}]"
|
color_echo "${RED}" "✘ Signature verification failed for: [${hashfile}]"
|
||||||
color_echo "${RED}" "✘ System Power Off in 3 seconds ...."
|
color_echo "${RED}" "✘ System Power Off in 3 seconds."
|
||||||
drop_bash
|
power_off 3
|
||||||
#power_off 3
|
|
||||||
else
|
else
|
||||||
color_echo "${GRE}" "🔏 Verifying signature of: [${hashfile}] successful."
|
color_echo "${GRE}" "🔏 Verifying signature of: [${hashfile}] successful."
|
||||||
fi
|
fi
|
||||||
@@ -394,9 +391,8 @@ verify_script() {
|
|||||||
|
|
||||||
if [[ "${computed}" != "${expected}" ]]; then
|
if [[ "${computed}" != "${expected}" ]]; then
|
||||||
color_echo "${RED}" "✘ Recomputed hash mismatch for : [${item}]" >&2
|
color_echo "${RED}" "✘ Recomputed hash mismatch for : [${item}]" >&2
|
||||||
color_echo "${RED}" "✘ System Power Off in 3 seconds ...." >&2
|
color_echo "${RED}" "✘ System Power Off in 3 seconds." >&2
|
||||||
drop_bash
|
power_off 3
|
||||||
#power_off 3
|
|
||||||
fi
|
fi
|
||||||
color_echo "${GRE}" "🔢 Recomputing Hash: [${item}] successful."
|
color_echo "${GRE}" "🔢 Recomputing Hash: [${item}] successful."
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user