Skip to content

feat(creds): extend systemd-creds provisioning to SSH keys, network, firstboot, and TPM2 - #144

Open
castrojo wants to merge 1 commit into
projectbluefin:mainfrom
castrojo:feat/systemd-creds-extensions
Open

feat(creds): extend systemd-creds provisioning to SSH keys, network, firstboot, and TPM2#144
castrojo wants to merge 1 commit into
projectbluefin:mainfrom
castrojo:feat/systemd-creds-extensions

Conversation

@castrojo

Copy link
Copy Markdown
Collaborator

Extend first-boot systemd-creds provisioning to cover SSH keys, network configuration, non-interactive systemd-firstboot, and TPM2 credential sealing.

Changes

  1. SSH keys: Create core operator account via sysusers.d/10-core-user.conf and seed persistent operator home via tmpfiles.d/10-core-home.conf allowing tmpfiles.extra credentials to install authorized_keys.
  2. Network: Wire systemd-network-generator credential drop-in (ImportCredential=network.conf.*) to generate .network / .netdev configs from credentials while retaining default DHCP fallback.
  3. firstboot: Add non-interactive, presence-gated bluefin-firstboot-credentials.service consuming firstboot.{locale,locale-messages,keymap,timezone,hostname} without regressing unattended installation.
  4. TPM2 sealing: Document TPM2 credential sealing patterns and supported credential names.
  5. Tests: Add unit test coverage in tests/unit/test_credentials_provisioning.py.

Fixes #138

— hive: backend=omp

Wire systemd-native credential consumers for core SSH key tmpfiles, generated networkd configuration, and non-interactive firstboot settings. Document TPM2-sealed delivery and keep DHCP as the no-credential fallback.

Assisted-by: GPT-5.5 via GitHub Copilot

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: castrojo <castrojo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(creds): extend systemd-creds provisioning to SSH keys, network, firstboot, and TPM2

1 participant