Bug 1978

Summary: ECDSA & SHA256 support in SSHFP DNS records
Product: Portable OpenSSH Reporter: martian67 <bugzilla-m67>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: aleksey.morarash, djm, julien.decharne
Priority: P2 Keywords: low-hanging-fruit
Version: 5.9p1   
Hardware: All   
OS: All   
URL: https://tools.ietf.org/html/draft-os-ietf-sshfp-ecdsa-sha2-07
Bug Depends on:    
Bug Blocks: 1986    
Attachments:
Description Flags
Patch to add support to ssh-keygen -r and ssh for ECDSA/SHA-256 SSHPF records
none
patch to add ECDSA key records to host keys records printed by ssh-keygen -r <hostname> none

Description martian67 2012-02-07 19:25:29 AEDT
As per the RFC draft, support for ECDSA and SHA256 in sshfp records. This is pretty necessary, because ssh now defaults to ECDSA keys, and setting VerifyHostKeyDNS results in errors, as SSHFP only supports RSA keys.
Comment 1 martian67 2012-04-11 12:37:53 AEST
Created attachment 2144 [details]
Patch to add support to ssh-keygen -r and ssh for ECDSA/SHA-256 SSHPF records
Comment 2 martian67 2012-04-11 12:38:53 AEST
oops, meant to say patch applies cleanly to 5.8 and 5.9, patch obtained from https://git.nic.cz/redmine/projects/ietf/repository/revisions/master/entry/ssh-sshfp-ecdsa.patch
Comment 3 Damien Miller 2012-05-23 13:29:03 AEST
patch applied - this will be in openssh-6.1. Thanks!
Comment 4 Julien DÉCHARNE 2012-06-02 02:07:25 AEST
Created attachment 2161 [details]
patch to add ECDSA key records to host keys records printed by ssh-keygen -r <hostname>

when called without filename (option -f), ssh-keygen -r <hostname> print SSHFP records for 'host' key files (e.g. in /etc/ssh/ on most system). This patch add ECDSA public key file to these host key files.
Comment 5 Julien DÉCHARNE 2012-06-02 02:13:58 AEST
just forget to say that previous patch in this bug report (attachment 2144 [details]) need obviously to be applied before ...
Comment 6 Damien Miller 2012-06-04 17:11:18 AEST
yes, the patch as committed included this fix
Comment 7 Damien Miller 2012-07-17 16:54:36 AEST
*** Bug 1972 has been marked as a duplicate of this bug. ***
Comment 8 Damien Miller 2015-08-11 23:05:25 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1