Mercurial > dropbear
comparison svr-runopts.c @ 1856:8f28519e34b0
Don't include sk keys at all in KEX list
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 23 Jan 2022 17:29:39 +0800 |
parents | 35d504d59c05 |
children | 2b3a8026a6ce |
comparison
equal
deleted
inserted
replaced
1855:35d504d59c05 | 1856:8f28519e34b0 |
---|---|
666 disablekey(DROPBEAR_SIGNKEY_ED25519); | 666 disablekey(DROPBEAR_SIGNKEY_ED25519); |
667 } else { | 667 } else { |
668 any_keys = 1; | 668 any_keys = 1; |
669 } | 669 } |
670 #endif | 670 #endif |
671 #if DROPBEAR_SK_ECDSA | |
672 disablekey(DROPBEAR_SIGNKEY_SK_ECDSA_NISTP256); | |
673 #endif | |
674 #if DROPBEAR_SK_ED25519 | |
675 disablekey(DROPBEAR_SIGNKEY_SK_ED25519); | |
676 #endif | |
677 | 671 |
678 if (!any_keys) { | 672 if (!any_keys) { |
679 dropbear_exit("No hostkeys available. 'dropbear -R' may be useful or run dropbearkey."); | 673 dropbear_exit("No hostkeys available. 'dropbear -R' may be useful or run dropbearkey."); |
680 } | 674 } |
681 } | 675 } |