dsl
ef795ed430
Add (unsigned char) cast to ctype functions
...
Although I can't imagine why the 'seed' must be alphanumeric, nor why
it is later converted to lower case!
2004-11-01 21:52:07 +00:00
jmmv
b635f565e7
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
...
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
lukem
9879aab17d
allow passwords less than SKEY_MIN_PW_LEN to work (with a warning),
...
per PR 11417 and subsequent discussion with Robert Elz & others.
the length check is still enforced in skeyinit(1), but at least this
change allows older skeykeys to be used. -f is now a no-op.
2001-07-24 23:53:25 +00:00
itojun
7d061a2000
consistency for usage()
2001-01-08 14:12:06 +00:00
mjl
32f69fdac5
Add a -f option to turn off the strict length checking for passphrases.
...
Also discourage its use in the manpage (and fix a couple of formatting nits).
2000-09-14 19:18:24 +00:00
mjl
64d7bd0b8c
Use optarg instead of reaching beyond argv array. Fixes PR/11004
...
by TheMan <atatat@atatdot.net>.
2000-09-14 15:26:42 +00:00
mjl
9493ab0864
Add some validity checks for seed and password.
2000-07-07 15:45:00 +00:00
mjl
cd5004ad3d
Adapt to RFC2289 S/Keys by pulling in changes from OpenBSD. Also
...
ANSIfied and fixed a bug in hex dump mode.
2000-07-07 15:18:14 +00:00
simonb
d88dfea295
Don't declare 'extern opt*' getopt variables.
2000-04-14 06:11:07 +00:00
christos
de40255ddb
Don't include <sgtty.h>! Nothing uses it.
1999-02-02 12:34:56 +00:00
perry
db49a9331a
change includes to fix compiler warning
1998-02-03 04:08:01 +00:00
lukem
ce6d3fb19c
WARNSify, getopt returns -1 not EOF, clarify S/Key vs skey(1) in man page
1997-10-19 23:20:15 +00:00
christos
0dd9a66363
Don't need "md4.h" and "skey.h" -> <skey.h>
1997-06-22 18:51:47 +00:00
thorpej
a500813c14
RCS id police.
1996-09-19 19:39:36 +00:00
pk
7db04aedc8
Prototype of readpass() is unnecessary.
1995-06-05 19:55:40 +00:00
cgd
6e77815dff
send error messages & password prompt to stderr, as proposed by Simon Gerraty.
...
Note that this is not necessarily correct for the password prompt: ideally,
libc/gen/getpass.c should be cloned into the password reading routine in
libskey, and it should be extended to take a prompt string, so that the prompt
and input are taken from /dev/tty, a la passwd(1).
Also, make usage() exit as is standard style, and delete the redundant exits.
1994-12-28 23:17:52 +00:00
deraadt
8b02aa3939
add skey & friends
1994-05-24 06:47:42 +00:00