Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490804 - =net-misc/openssh-6.3_p1-r1 has bad handling of UTF-8 in banners
Summary: =net-misc/openssh-6.3_p1-r1 has bad handling of UTF-8 in banners
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-11-09 06:29 UTC by Blu3
Modified: 2013-11-09 09:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to correctly display utf-8 banners in ssh client (openssh-6.3-stringprep-unicode.patch,25.31 KB, patch)
2013-11-09 06:30 UTC, Blu3
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Blu3 2013-11-09 06:29:40 UTC
from openssh-5.1 on, banner messages have been constrained to plain text ascii. Damian Miller of mindrot.org wrote a patch to permit standard utf-8 messages using unicode 6.2 assigned code points.

reference message: http://www.mail-archive.com/openssh-bugs@mindrot.org/msg04065.html

Reproducible: Always

Steps to Reproduce:
ssh target.server.com

Actual Results:  
<banner presented with non-ascii displayed as octal>

Expected Results:  
<banner presented with non-ascii displayed as as intended utf-8 codepoints>

this permits non-english languages to be displayed correctly
Comment 1 Blu3 2013-11-09 06:30:43 UTC
Created attachment 362834 [details, diff]
patch to correctly display utf-8 banners in ssh client
Comment 2 Tim Harder gentoo-dev 2013-11-09 09:30:08 UTC
Sorry, but we carry too many external patches in openssh already and don't want to handle more.

Use epatch_user or convince upstream to accept the patch.