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_firewall
|
||||
# dropbear_port
|
||||
# dropbear_pub_key
|
||||
# dropbear_sha_file
|
||||
# dropbear_sig_file
|
||||
# network_static_ipv4nameserver_0
|
||||
# network_static_ipv4nameserver_1
|
||||
# ssh_allow_ipv4_0
|
||||
|
||||
@@ -347,9 +347,7 @@ trap_on_term() {
|
||||
stty echo
|
||||
printf "%b" "${NL}"
|
||||
color_echo "${RED}" "✘ Received termination signal. System Power Off in 3 seconds." >&2
|
||||
# TODO: REMOVE DEBUGGER FOR PRODUCTION
|
||||
drop_bash
|
||||
#power_off 3
|
||||
power_off 3
|
||||
}
|
||||
|
||||
#######################################
|
||||
@@ -379,9 +377,8 @@ verify_script() {
|
||||
|
||||
if ! gpgv --keyring /etc/keys/unlock_wrapper_pubring.gpg "${sigfile}" "${hashfile}"; then
|
||||
color_echo "${RED}" "✘ Signature verification failed for: [${hashfile}]"
|
||||
color_echo "${RED}" "✘ System Power Off in 3 seconds ...."
|
||||
drop_bash
|
||||
#power_off 3
|
||||
color_echo "${RED}" "✘ System Power Off in 3 seconds."
|
||||
power_off 3
|
||||
else
|
||||
color_echo "${GRE}" "🔏 Verifying signature of: [${hashfile}] successful."
|
||||
fi
|
||||
@@ -394,9 +391,8 @@ verify_script() {
|
||||
|
||||
if [[ "${computed}" != "${expected}" ]]; then
|
||||
color_echo "${RED}" "✘ Recomputed hash mismatch for : [${item}]" >&2
|
||||
color_echo "${RED}" "✘ System Power Off in 3 seconds ...." >&2
|
||||
drop_bash
|
||||
#power_off 3
|
||||
color_echo "${RED}" "✘ System Power Off in 3 seconds." >&2
|
||||
power_off 3
|
||||
fi
|
||||
color_echo "${GRE}" "🔢 Recomputing Hash: [${item}] successful."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user