V8.13.032.2025.10.03
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -10,6 +10,6 @@
|
|||||||
# SPDX-Security-Contact: security@coresecret.eu
|
# SPDX-Security-Contact: security@coresecret.eu
|
||||||
|
|
||||||
build:
|
build:
|
||||||
counter: 1023
|
counter: 1024
|
||||||
version: V8.13.032.2025.10.03
|
version: V8.13.032.2025.10.03
|
||||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml
|
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml
|
||||||
|
|||||||
@@ -108,17 +108,22 @@ jobs:
|
|||||||
|
|
||||||
REPO_ROOT="$(git rev-parse --show-toplevel 2>/dev/null || pwd -P)"
|
REPO_ROOT="$(git rev-parse --show-toplevel 2>/dev/null || pwd -P)"
|
||||||
|
|
||||||
TPL="${REPO_ROOT}/config/hooks/live/9935_hardening_ssh.chroot.tmpl"
|
TPL="$REPO_ROOT/config/hooks/live/9935_hardening_ssh.chroot.tmpl"
|
||||||
OUT="${REPO_ROOT}/config/hooks/live/9935_hardening_ssh.chroot"
|
OUT="$REPO_ROOT/config/hooks/live/9935_hardening_ssh.chroot"
|
||||||
|
|
||||||
if [[ ! -f "${TPL}" ]]; then
|
if [[ ! -f "$TPL" ]]; then
|
||||||
echo "Template not found: ${TPL}"
|
echo "Template not found: $TPL"
|
||||||
echo "::group::Tree of config/hooks/live"
|
echo "::group::Tree of config/hooks/live"
|
||||||
ls -la "${REPO_ROOT}/config/hooks/live" || true
|
ls -la "$REPO_ROOT/config/hooks/live" || true
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export ED25519_PRIV="${ED25519_PRIV//$'\r'/}"
|
||||||
|
export ED25519_PUB="${ED25519_PUB//$'\r'/}"
|
||||||
|
export RSA_PRIV="${RSA_PRIV//$'\r'/}"
|
||||||
|
export RSA_PUB="${RSA_PUB//$'\r'/}"
|
||||||
|
|
||||||
perl -0777 -pe '
|
perl -0777 -pe '
|
||||||
BEGIN{
|
BEGIN{
|
||||||
$ed=$ENV{ED25519_PRIV}; $edpub=$ENV{ED25519_PUB};
|
$ed=$ENV{ED25519_PRIV}; $edpub=$ENV{ED25519_PUB};
|
||||||
@@ -128,7 +133,7 @@ jobs:
|
|||||||
s/\{\{\s*secrets\.CISS_DLB_SSH_HOST_ED25519_KEY_PUB\s*\}\}/$edpub/g;
|
s/\{\{\s*secrets\.CISS_DLB_SSH_HOST_ED25519_KEY_PUB\s*\}\}/$edpub/g;
|
||||||
s/\{\{\s*secrets\.CISS_DLB_SSH_HOST_RSA_KEY\s*\}\}/$rsa/g;
|
s/\{\{\s*secrets\.CISS_DLB_SSH_HOST_RSA_KEY\s*\}\}/$rsa/g;
|
||||||
s/\{\{\s*secrets\.CISS_DLB_SSH_HOST_RSA_KEY_PUB\s*\}\}/$rsapub/g;
|
s/\{\{\s*secrets\.CISS_DLB_SSH_HOST_RSA_KEY_PUB\s*\}\}/$rsapub/g;
|
||||||
' "${TPL}" >| "{$OUT}"
|
' "$TPL" > "$OUT"
|
||||||
|
|
||||||
chmod 0755 "${OUT}"
|
chmod 0755 "${OUT}"
|
||||||
echo "Hook rendered: ${OUT}"
|
echo "Hook rendered: ${OUT}"
|
||||||
@@ -178,6 +183,7 @@ jobs:
|
|||||||
|
|
||||||
- name: 🛠️ Starting CISS.debian.live.builder. This may take a while ...
|
- name: 🛠️ Starting CISS.debian.live.builder. This may take a while ...
|
||||||
shell: bash
|
shell: bash
|
||||||
|
working-directory: ${{ github.workspace }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
chmod 0755 ciss_live_builder.sh
|
chmod 0755 ciss_live_builder.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user