Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177467681
D61433.1794495018.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
982 B
Referenced Files
None
Subscribers
None
D61433.1794495018.diff
View Options
diff --git a/libexec/rc/rc.d/sshd b/libexec/rc/rc.d/sshd
--- a/libexec/rc/rc.d/sshd
+++ b/libexec/rc/rc.d/sshd
@@ -23,6 +23,7 @@
: ${sshd_rsa_enable:="yes"}
: ${sshd_ecdsa_enable:="yes"}
: ${sshd_ed25519_enable:="yes"}
+: ${sshd_mldsa44_ed25519_enable:="yes"}
# sshd in a jail would not see other jails. As such exclude it from
# svcj_all_enable="YES" by setting sshd_svcj to NO. This allows to
@@ -34,15 +35,16 @@
{
local alg=$1
local ALG="$(echo $alg | tr a-z A-Z)"
+ local rcalg="$(echo "$alg" | tr - _)"
local keyfile
- if ! checkyesno "sshd_${alg}_enable" ; then
+ if ! checkyesno "sshd_${rcalg}_enable" ; then
return 0
fi
case $alg in
- rsa|ecdsa|ed25519)
- keyfile="/etc/ssh/ssh_host_${alg}_key"
+ rsa|ecdsa|ed25519|mldsa44-ed25519)
+ keyfile="/etc/ssh/ssh_host_${rcalg}_key"
;;
*)
return 1
@@ -69,6 +71,7 @@
sshd_keygen_alg rsa
sshd_keygen_alg ecdsa
sshd_keygen_alg ed25519
+ sshd_keygen_alg mldsa44-ed25519
}
sshd_configtest()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 12, 2:50 PM (15 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41677448
Default Alt Text
D61433.1794495018.diff (982 B)
Attached To
Mode
D61433: rc: Generate ML-DSA44/Ed25519 host keys by default
Attached
Detach File
Event Timeline