Bugzilla – Attachment 3446 Details for
Bug 3213
openssh 8.3p1 will not use any type of RSA key for legacy servers if ssh-rsa is not in PubkeyAcceptedKeyTypes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
return correct key type name when connected to openssh server < 7.8
openssh-bug-sigtype-rsa.patch (text/plain), 638 bytes, created by
Gordon Messmer
on 2020-09-27 01:14:12 AEST
(
hide
)
Description:
return correct key type name when connected to openssh server < 7.8
Filename:
MIME Type:
Creator:
Gordon Messmer
Created:
2020-09-27 01:14:12 AEST
Size:
638 bytes
patch
obsolete
>--- sshconnect2.c.orig 2020-09-26 07:26:37.618010545 -0700 >+++ sshconnect2.c 2020-09-26 07:25:35.665009029 -0700 >@@ -1281,10 +1284,9 @@ > */ > if (ssh == NULL || ssh->kex->server_sig_algs == NULL || > (key->type != KEY_RSA && key->type != KEY_RSA_CERT) || >- (key->type == KEY_RSA_CERT && (datafellows & SSH_BUG_SIGTYPE))) { >- /* Filter base key signature alg against our configuration */ >- return match_list(sshkey_ssh_name(key), >- options.pubkey_key_types, NULL); >+ ((key->type == KEY_RSA || key->type == KEY_RSA_CERT) >+ && (datafellows & SSH_BUG_SIGTYPE))) { >+ return xstrdup(sshkey_ssh_name(key)); > } > > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3213
:
3446
|
3448
|
3476
|
3527