Subject: bin/5870: Skey sequence# obtained by skeyinit is burned
To: None <gnats-bugs@gnats.netbsd.org>
From: Heiko W.Rupp <hwr@pilhuhn.de>
List: netbsd-bugs
Date: 07/29/1998 19:06:57
>Number:         5870
>Category:       bin
>Synopsis:       Skey sequence# obtained by skeyinit is burned
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 29 10:20:00 1998
>Last-Modified:
>Originator:     Heiko W.Rupp
>Organization:
>Release:        NetBSD-1.3.2
>Environment:
	
System: NetBSD quaak 1.3.2 NetBSD 1.3.2 (GENERIC) #0: Sun May 24 19:45:48 EDT 1998 perry@frankenstein.piermont.com:/usr/src/sys/arch/i386/compile/GENERIC i386


>Description:

When initiating the skey process by using skeyinit, the password
string that is obtained with the comment "Next login password:"
can't be used for login, as login wants sequence number 98 and not 99
as given back.

>How-To-Repeat:

dr# rm /etc/skeykeys
dr!30> skeyinit
Password:
[Adding hwr]
Enter secret password: 
Again secret password: 
ID hwr s/key is 99 dr.z02210
              ^^^^^^
Next login password: WIFE SOY IRON SIDE DINE ROOF
dr!31> !tel
telnet 0
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.

NetBSD/i386 (dr.zook) (ttyp1)

login: hwr
Password [s/key 98 dr.z02210]:
             ^^^^^^^^
Login incorrect

>Fix:

>Audit-Trail:
>Unformatted: