Subject: lib/17250: prompt from libskey non RFC compliant
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kd@panix.com>
List: netbsd-bugs
Date: 06/13/2002 15:55:49
>Number:         17250
>Category:       lib
>Synopsis:       RFC 1760 specifies that skey seed is followed by space or newline
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 13 12:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ken Dunlap
>Release:        NetBSD 1.5.2
>Organization:
Panix Public Access Internet & Unix
>Environment:
System: NetBSD panix3.panix.com 1.5.2 NetBSD 1.5.2 (PANIX-USER) #0: Wed Jan 16 21:45:14 EST 2002 marcotte@byzantium.nyc.access.net:/devel/netbsd/1.5.2/src/sys/arch/i386/compile/PANIX-USER i386


>Description:
	RFC 1760 specifies that the 3 tokens of an skey prompt be separated by
a single space, followed by a space or a newline.  libskey on NetBSD 1.5.2 
and 1.6 produce prompts which look like this:  [s/key #### seed]  .
>How-To-Repeat:
	telnet or ftp to an skey enabled account on a NetBSD host.
>Fix:
	completely untested patch:
skeylogin.c
556c556
<       fprintf(stderr, "[%s]\n", skeyprompt);
---
>       fprintf(stderr, "[ %s ]\n", skeyprompt);

>Release-Note:
>Audit-Trail:
>Unformatted: