Files
qbit-printing/dev/native-auth/copy-root.sh
james.maesandCodex 1a0964ef23 chore: enforce owned source copyright notices (#25)
* chore(standards): preserve owned-source copyright notices

Add accurate repository copyright and license comments to 50 owned source/build/configuration files. Preserve existing holders, upstream wrappers, legal payloads and schema/data exemptions. Exact inverse-byte reconstruction and applicable parser/token/AST checks prove comment-only changes; existing relevant regressions pass.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Signed-off-by: James Maes <james@kof22.com>

* chore: enforce owned source copyright notices

Check real leading comments against explicit repository provenance and retain existing native style gates.

Co-Authored-By: Codex GPT-6 <noreply@openai.com>
Signed-off-by: James Maes <james@kof22.com>

---------

Signed-off-by: James Maes <james@kof22.com>
Co-authored-by: Codex (GPT-6) <noreply@openai.com>
2026-11-01 12:41:00 -06:00

18 lines
494 B
Bash

#!/bin/sh
# Copyright 2026 Kingsrook, LLC
# SPDX-License-Identifier: Apache-2.0
set -eu
attempt=0
while [ ! -s /data/caddy/pki/authorities/local/root.crt ]; do
attempt=$((attempt + 1))
if [ "$attempt" -ge 60 ]; then
echo 'The fixture public CA certificate did not become ready.' >&2
exit 1
fi
sleep 1
done
# Never copy the key or mount the private CA volume into a client/server.
cp /data/caddy/pki/authorities/local/root.crt /trust/root.crt
chmod 0644 /trust/root.crt