Bugzilla – Attachment 2994 Details for
Bug 2728
HostKeyAlias not respected for certificate authority host key validation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to respect HostKeyAlias when using host certificates
HostKeyAlias-CA.patch (text/plain), 591 bytes, created by
Antonio Russo
on 2017-06-13 00:42:52 AEST
(
hide
)
Description:
Patch to respect HostKeyAlias when using host certificates
Filename:
MIME Type:
Creator:
Antonio Russo
Created:
2017-06-13 00:42:52 AEST
Size:
591 bytes
patch
obsolete
>--- a/sshconnect.c 2017-06-02 10:37:37.219874734 -0400 >+++ b/sshconnect.c 2017-06-02 10:40:15.208519230 -0400 >@@ -903,7 +903,9 @@ > host, type, want_cert ? "certificate" : "key"); > debug("Found %s in %s:%lu", want_cert ? "CA key" : "key", > host_found->file, host_found->line); >- if (want_cert && !check_host_cert(hostname, host_key)) >+ if (want_cert && !check_host_cert( >+ options.host_key_alias == NULL ? >+ hostname : options.host_key_alias, host_key)) > goto fail; > if (options.check_host_ip && ip_status == HOST_NEW) { > if (readonly || want_cert)
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 2728
:
2994
|
2998