V8.13.440.2025.11.19
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m0s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m0s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -21,7 +21,7 @@ _SAVED_SET_OPTS="$(set +o)"
|
|||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
printf "\e[95m[INFO] Starting : [/usr/lib/live/boot/0042-ciss-post-decrypt-attest] \n\e[0m"
|
printf "\e[95m[INFO] Starting : [/etc/initramfs-tools/scripts/live-bottom/0042-ciss-post-decrypt-attest] \n\e[0m"
|
||||||
|
|
||||||
### Declare variables ----------------------------------------------------------------------------------------------------------
|
### Declare variables ----------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -178,6 +178,6 @@ fi
|
|||||||
|
|
||||||
eval "${_SAVED_SET_OPTS}"
|
eval "${_SAVED_SET_OPTS}"
|
||||||
|
|
||||||
printf "\e[92m[INFO] Successfully applied : [/usr/lib/live/boot/0042-ciss-post-decrypt-attest]\n\e[0m"
|
printf "\e[92m[INFO] Successfully applied : [/etc/initramfs-tools/scripts/live-bottom/0042-ciss-post-decrypt-attest] \n\e[0m"
|
||||||
|
|
||||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||||
|
|||||||
@@ -34,15 +34,15 @@ ciss_signatures() {
|
|||||||
|
|
||||||
declare -ar _ary_target=(
|
declare -ar _ary_target=(
|
||||||
"/etc/initramfs-tools/files/unlock_wrapper.sh"
|
"/etc/initramfs-tools/files/unlock_wrapper.sh"
|
||||||
|
"/etc/initramfs-tools/scripts/live-bottom/0042-ciss-post-decrypt-attest"
|
||||||
"/usr/lib/live/boot/0030-ciss-verify-checksums"
|
"/usr/lib/live/boot/0030-ciss-verify-checksums"
|
||||||
"/usr/lib/live/boot/0042-ciss-post-decrypt-attest"
|
)
|
||||||
)
|
|
||||||
|
|
||||||
declare _target="" target=""
|
declare _target="" target=""
|
||||||
|
|
||||||
for _target in "${_ary_target[@]}"; do
|
for _target in "${_ary_target[@]}"; do
|
||||||
|
|
||||||
declare target="${VAR_HANDLER_BUILD_DIR}/config/includes.chroot/${_target}"
|
declare target="${VAR_HANDLER_BUILD_DIR}/config/includes.chroot${_target}"
|
||||||
|
|
||||||
sed -i -e "s|@EXP_FPR@|${VAR_SIGNING_KEY_FPR}|g" "${target}"
|
sed -i -e "s|@EXP_FPR@|${VAR_SIGNING_KEY_FPR}|g" "${target}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user