Skip to content

Offer PQ host keys with Ed25519 fallback - #62

Open
tycho-agent-bot[bot] wants to merge 1 commit into
mainfrom
feat/pq-ssh-host-keys
Open

tycho-agent-bot[bot] wants to merge 1 commit into
mainfrom
feat/pq-ssh-host-keys

Conversation

@tycho-agent-bot

Copy link
Copy Markdown

Type of change

  • Feature (adds a new rune, mold or CLI capability)
  • Security (security-related fix or hardening)

Description

Why is this change needed?

sshd should offer the standardized post-quantum hybrid host key ssh-mldsa44-ed25519 (OpenSSH 10.6+) ahead of classical Ed25519, while staying deployable on older OpenSSH hosts that only get the Ed25519 fallback.

Related Issues

None.

Testing

  • Unit tests added or updated (uv run poe tests)
  • Deployed to a real host
  • No testing required (documentation changes only)

655 tests pass, uv run poe check (ruff, ty, lint-imports, deptry) and the style gate are clean. Per-host behaviour verified against mocked ssh -Q key/ssh -Q kex output: PQ-only-unsupported hosts get Ed25519 only, hosts supporting both get HostKeyAlgorithms ssh-mldsa44-ed25519,ssh-ed25519 in that order, a host configured with only mldsa44-ed25519 on OpenSSH 9.9 falls back to Ed25519, and missing key files are generated idempotently.

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Linter and type checker pass (uv run poe check)
  • Documentation updated (if applicable)

@tycho-agent-bot
tycho-agent-bot Bot requested a review from wlix13 as a code owner December 3, 2026 12:34
@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ffe33cd9-5b18-4867-b4c0-50daa074a537

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@wlix13 wlix13 changed the title Offer PQ host keys (mldsa44-ed25519) with Ed25519 fallback in netsec deploy Offer PQ host keys with Ed25519 fallback in netsec Dec 5, 2026
@wlix13 wlix13 changed the title Offer PQ host keys with Ed25519 fallback in netsec Offer PQ host keys with Ed25519 fallback Dec 5, 2026
@github-actions github-actions Bot added feature New feature or request docs Documentation updates molds Configuration molds and domain models runes Provisioning runes security Security-related changes tests Testing labels Dec 5, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation updates feature New feature or request molds Configuration molds and domain models runes Provisioning runes security Security-related changes tests Testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants