You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by ar...@apache.org on 2026/04/10 14:25:20 UTC
(tooling-trusted-releases) 02/04: #984 - update SSH host key to ED25519
This is an automated email from the ASF dual-hosted git repository.
arm pushed a commit to branch arm
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
commit ab46fd0e7030e749e3bf680a74b24151743328ea
Author: Alastair McFarlane <ar...@apache.org>
AuthorDate: Thu Apr 9 16:46:33 2026 +0100
#984 - update SSH host key to ED25519
---
atr/ssh.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/atr/ssh.py b/atr/ssh.py
index 948fa6b4..0c054358 100644
--- a/atr/ssh.py
+++ b/atr/ssh.py
@@ -202,7 +202,7 @@ async def server_start() -> asyncssh.SSHAcceptor:
# Generate temporary host key if it doesn't exist
key_path = os.path.join(_CONFIG.STATE_DIR, "secrets", "generated", "ssh_host_key")
if not await aiofiles.os.path.exists(key_path):
- private_key = asyncssh.generate_private_key("ssh-rsa")
+ private_key = asyncssh.generate_private_key("ssh-ed25519")
private_key.write_private_key(key_path)
log.info(f"Generated SSH host key at {key_path}")
permissions = stat.S_IMODE(os.stat(key_path).st_mode)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org