software/proftpd: fix after openssl3.0
We can't generate key of type dsa anymore. This is a fixup of aae4a7c0.
Showing
-
Owner
it seems openssh in ors-amarisoft needs a similar fix, we have promise failing in the test:
================================================================================ 2024-07-12 04:23:38 slapos[254246] INFO Error with promises for the following partitions: 2024-07-12 04:23:38 slapos[254246] INFO TestUEsim_RUMultiType4-0[ue]: Promise 'sshd.py' failed with output: ConnectionRefusedError: [Errno 111] Connection refused
and in the sshd log
/srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'. /srv/slapgrid/slappart0/t/eoc/i/0/tmp/inst/TestUEsim_RUMultiType4-0/etc/sshd.conf line 9: Bad key types 'ssh-rsa,ssh-dss,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp521'.
-
Owner
mmh not exactly the same, but this seems because of a version up, maybe openssl or openssh where old keys types are no longer allowed.
-
mentioned in merge request !1609 (merged)
-
Owner
I already did the fix (tomo/slapos@df0f2f49) and I launched the test (https://erp5js.nexedi.net/#/test_result_module/20240711-C980FDC6/38) which passes :)
I'll push this in master.
-
Owner
Please register or sign in to comment