Community maintained Docker config for the knot server

Fix keygen command to use the algorithm indicated by filename #16

merged opened by sullen.net targeting main
Labels

None yet.

Participants 2
AT URI
at://did:plc:caispohjzhstrfdsused6ip3/sh.tangled.repo.pull/3mdihv2opte22
+2 -2
Diff #0
+2 -2
rootfs/etc/s6-overlay/scripts/create-sshd-host-keys
··· 12 12 13 13 foreground { 14 14 if -n { test -f /etc/ssh/keys/ssh_host_ecdsa_key } 15 - ssh-keygen -t rsa -f /etc/ssh/keys/ssh_host_ecdsa_key -q -N "" 15 + ssh-keygen -t ecdsa -f /etc/ssh/keys/ssh_host_ecdsa_key -q -N "" 16 16 } 17 17 18 18 foreground { 19 19 if -n { test -f /etc/ssh/keys/ssh_host_ed25519_key } 20 - ssh-keygen -t rsa -f /etc/ssh/keys/ssh_host_ed25519_key -q -N "" 20 + ssh-keygen -t ed25519 -f /etc/ssh/keys/ssh_host_ed25519_key -q -N "" 21 21 }

History

1 round 1 comment
sign up or login to add to the discussion
sullen.net submitted #0
1 commit
expand
ca5ce016
Fix keygen command to use the algorithm indicated by filename
expand 1 comment

thanks for this!

pull request successfully merged