Bug 2041

Summary: Check for SSHFP when certificate is offered.
Product: Portable OpenSSH Reporter: Ondrej Caletka <ondrej>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: NEW ---    
Severity: enhancement    
Priority: P5    
Version: 6.1p1   
Hardware: All   
OS: All   
Attachments:
Description Flags
Check for SSHFP when certificate is offered.
none
Check for SSHFP when certificate is offered none

Description Ondrej Caletka 2012-08-31 19:48:08 AEST
Created attachment 2185 [details]
Check for SSHFP when certificate is offered.

When the sshd offers a certificate to client (which is default, when such a certificate is configured), the client refuses to do a SSHFP validation for the key embedded in the certificate.

This patch fixes this by dropping certificate for the purpose of checking SSHFP records, yet retaining certificate for other checks if SSHFP authentication fails. It is therefore possible to fall back to certificate authentication when for instance client does not have a DNSSEC-enabled connectivity.
Comment 1 Ondrej Caletka 2014-01-28 23:10:09 AEDT
Created attachment 2404 [details]
Check for SSHFP when certificate is offered

This is the same patch, only rebased to OpenSSH 6.4p1 codebase.