Bug 2215 - Key fingerprint headline slightly broken with ED25519
Summary: Key fingerprint headline slightly broken with ED25519
Status: CLOSED DUPLICATE of bug 2247
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh (show other bugs)
Version: 6.5p1
Hardware: All All
: P5 trivial
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-21 01:28 AEDT by Sören Finster
Modified: 2015-08-11 23:04 AEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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