Bugzilla – Attachment 3507 Details for
Bug 3279
UpdateHostKeys triggers "client_global_hostkeys_private_confirm: server gave bad signature for RSA key 0" error message
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
use old-style RSA signature algorithm for SSH_BUG_SIGTYPE servers
bz3279.diff (text/plain), 587 bytes, created by
Damien Miller
on 2021-05-03 12:03:47 AEST
(
hide
)
Description:
use old-style RSA signature algorithm for SSH_BUG_SIGTYPE servers
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2021-05-03 12:03:47 AEST
Size:
587 bytes
patch
obsolete
>diff --git a/clientloop.c b/clientloop.c >index ec60a62..4d7e93b 100644 >--- a/clientloop.c >+++ b/clientloop.c >@@ -2139,7 +2139,8 @@ client_global_hostkeys_private_confirm(struct ssh *ssh, int type, > * during KEX to the default (SHA1). > */ > use_kexsigtype = kexsigtype == KEY_RSA && >- sshkey_type_plain(ctx->keys[i]->type) == KEY_RSA; >+ sshkey_type_plain(ctx->keys[i]->type) == KEY_RSA && >+ !(ssh->compat & SSH_BUG_SIGTYPE); > debug3_f("verify %s key %zu using %s sigalg", > sshkey_type(ctx->keys[i]), i, > use_kexsigtype ? ssh->kex->hostkey_alg : NULL);
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 3279
:
3505
|
3506
| 3507 |
3513
|
3514
|
3521
|
3522
|
3535
|
3536
|
3537
|
3538