mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-03 23:22:23 -08:00
Go 1.27 (crypto/mldsa, crypto/x509) and golang.org/x/crypto v0.59.0 already implement pure ML-DSA SSH host keys (ssh-mldsa-44, per draft-sfluhrer-ssh-mldsa-08) and PKCS#8 private key serialization. Filter host key specs against ssh.SupportedAlgorithms().HostKeys so builds without ML-DSA support (such as GOFIPS140=v1.0.0) continue to skip unsupported key types cleanly, and add mldsa44 host key generation, system key lookup, and handshake/integration test coverage. Updates #22864 Updates #22807 Change-Id: I191e62a9a3d439db0c999172b283d00d501e1bcc Signed-off-by: James Tucker <[email protected]>