[Bug 2247] New: [visual host key] fix upper border display

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jun 19 06:13:01 EST 2014


https://bugzilla.mindrot.org/show_bug.cgi?id=2247

            Bug ID: 2247
           Summary: [visual host key] fix upper border display
           Product: Portable OpenSSH
           Version: 6.6p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: mail at eworm.de

Created attachment 2442
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2442&action=edit
rework printing for visual host key upper border

I've sent this patch to mailing list twice, without getting any
feedback.

Key types are getting longer and the current implementation of visual
host key breaks with ED25519, resulting in (note the missing bracket):

+--[ED25519  256--+

This reworks the calculation of visual host key upper border. Please be
aware that this slightly modifies the output for other key types as
well:

+--[ DSA 1024]----+
+---[DSA 1024]----+

+--[ RSA 2048]----+
+---[RSA 2048]----+

+--[ECDSA  256]---+
+---[ECDSA 256]---+

+--[ED25519  256--+
+--[ED25519 256]--+

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list