Subject: Re: login and skey
To: None <current-users@NetBSD.ORG>
From: der Mouse <mouse@Holo.Rodents.Montreal.QC.CA>
List: current-users
Date: 09/07/1996 17:49:19
> One of the changes I made was to modify getpass() to handle a decent
> size buffer so that login can include the s/key challenge in the
> normal Passwd prompt and accept either response - passwd or skey via
> getpass.

What changes were needed?  The only compile-time buffer size I see in
getpass() is

	static char buf[_PASSWORD_LEN + 1];

which should be plenty big enough for an s/key response; <pwd.h>
defines _PASSWORD_LEN as 128.  And the prompt argument is a "char *",
allocated by getpass's caller...

...what am I missing?

					der Mouse

		     01 EE 31 F6 BB 0C 34 36  00 F3 7C 5A C1 A0 67 1D