Mercurial > dropbear
comparison svr-runopts.c @ 1902:4a6725ac957c
Revert "Don't include sk keys at all in KEX list"
This reverts git commit f972813ecdc7bb981d25b5a63638bd158f1c8e72.
The sk algorithms need to remain in the sigalgs list so that they
are included in the server-sig-algs ext-info message sent by
the server. RFC8308 for server-sig-algs requires that all algorithms are
listed (though OpenSSH client 8.4p1 tested doesn't require that)
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 24 Mar 2022 13:42:08 +0800 |
parents | 2b3a8026a6ce |
children | be236878efcf |
comparison
equal
deleted
inserted
replaced
1901:4e36e3a95084 | 1902:4a6725ac957c |
---|---|
685 disablekey(DROPBEAR_SIGNKEY_ED25519); | 685 disablekey(DROPBEAR_SIGNKEY_ED25519); |
686 } else { | 686 } else { |
687 any_keys = 1; | 687 any_keys = 1; |
688 } | 688 } |
689 #endif | 689 #endif |
690 #if DROPBEAR_SK_ECDSA | |
691 disablekey(DROPBEAR_SIGNKEY_SK_ECDSA_NISTP256); | |
692 #endif | |
693 #if DROPBEAR_SK_ED25519 | |
694 disablekey(DROPBEAR_SIGNKEY_SK_ED25519); | |
695 #endif | |
690 | 696 |
691 if (!any_keys) { | 697 if (!any_keys) { |
692 dropbear_exit("No hostkeys available. 'dropbear -R' may be useful or run dropbearkey."); | 698 dropbear_exit("No hostkeys available. 'dropbear -R' may be useful or run dropbearkey."); |
693 } | 699 } |
694 } | 700 } |