Bug 2215

Summary: Key fingerprint headline slightly broken with ED25519
Product: Portable OpenSSH Reporter: Sören Finster <sf>
Component: sshAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED DUPLICATE    
Severity: trivial CC: djm
Priority: P5    
Version: 6.5p1   
Hardware: All   
OS: All   

Description Sören Finster 2014-03-21 01:28:57 AEDT
The key fingerprint headline has unsymmetrical braces for ED25519 in 6.6p1:

+--[ED25519  256--+
|       ...       |

Seems like in key.c:561, snprintf aborts before being able to put the final ']'. Note, that there's an unnecessary ' ' in there because of ED25519's short key_size. Reducing the minimum field width for key_size(k) in snprintf from 4 to 3 should remove the unnecessary ' ' and make room for the missing ']'.
Comment 1 Damien Miller 2014-07-03 13:31:17 AEST

*** This bug has been marked as a duplicate of bug 2247 ***
Comment 2 Damien Miller 2015-08-11 23:04:44 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1