comparison common-algo.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 d7247462fa0d
comparison
equal deleted inserted replaced
1855:35d504d59c05 1856:8f28519e34b0
237 }; 237 };
238 238
239 algo_type sigalgs[] = { 239 algo_type sigalgs[] = {
240 #if DROPBEAR_ED25519 240 #if DROPBEAR_ED25519
241 {"ssh-ed25519", DROPBEAR_SIGNATURE_ED25519, NULL, 1, NULL}, 241 {"ssh-ed25519", DROPBEAR_SIGNATURE_ED25519, NULL, 1, NULL},
242 #if DROPBEAR_SK_ED25519
243 {"[email protected]", DROPBEAR_SIGNATURE_SK_ED25519, NULL, 1, NULL},
244 #endif
245 #endif 242 #endif
246 #if DROPBEAR_ECDSA 243 #if DROPBEAR_ECDSA
247 #if DROPBEAR_ECC_256 244 #if DROPBEAR_ECC_256
248 {"ecdsa-sha2-nistp256", DROPBEAR_SIGNATURE_ECDSA_NISTP256, NULL, 1, NULL}, 245 {"ecdsa-sha2-nistp256", DROPBEAR_SIGNATURE_ECDSA_NISTP256, NULL, 1, NULL},
249 #endif 246 #endif
250 #if DROPBEAR_ECC_384 247 #if DROPBEAR_ECC_384
251 {"ecdsa-sha2-nistp384", DROPBEAR_SIGNATURE_ECDSA_NISTP384, NULL, 1, NULL}, 248 {"ecdsa-sha2-nistp384", DROPBEAR_SIGNATURE_ECDSA_NISTP384, NULL, 1, NULL},
252 #endif 249 #endif
253 #if DROPBEAR_ECC_521 250 #if DROPBEAR_ECC_521
254 {"ecdsa-sha2-nistp521", DROPBEAR_SIGNATURE_ECDSA_NISTP521, NULL, 1, NULL}, 251 {"ecdsa-sha2-nistp521", DROPBEAR_SIGNATURE_ECDSA_NISTP521, NULL, 1, NULL},
255 #endif
256 #if DROPBEAR_SK_ECDSA
257 {"[email protected]", DROPBEAR_SIGNATURE_SK_ECDSA_NISTP256, NULL, 1, NULL},
258 #endif 252 #endif
259 #endif 253 #endif
260 #if DROPBEAR_RSA 254 #if DROPBEAR_RSA
261 #if DROPBEAR_RSA_SHA256 255 #if DROPBEAR_RSA_SHA256
262 {"rsa-sha2-256", DROPBEAR_SIGNATURE_RSA_SHA256, NULL, 1, NULL}, 256 {"rsa-sha2-256", DROPBEAR_SIGNATURE_RSA_SHA256, NULL, 1, NULL},