summaryrefslogtreecommitdiff
path: root/lib/libskey/skeylogin.c
AgeCommit message (Collapse)Author
2001-01-04grammarTodd T. Fries
2000-11-20Move fake prompt generation from skey_authenticate() to skeychallenge()Todd C. Miller
and getskeyprompt(). This means that when you get a challenge the result parameter is always filled in, even if the use is not in the skeykeys file.
2000-06-23set mp->keyfile = NULL if stat failsMarkus Friedl
1999-12-06fd leakTheo de Raadt
1999-11-26fix descriptor leaks and double fclose(); markus and I; ok from millertTheo de Raadt
1999-08-16don't need sys/file.h now that we include fcntl.hTodd C. Miller
1999-08-16missing fcntl.hTodd C. Miller
1998-07-05replace open + fstat with statTodd C. Miller
1998-07-05if there is no /etc/host.random, hash on the ctime of /dev/mem or /. This ↵Todd C. Miller
is much better than the old fake challenge.
1998-07-03Change the random file path, add a sanity check on file size.Angelos D. Keromytis
1998-07-03Fix my fix to return sane values.Angelos D. Keromytis
1998-07-03produce credible seeds for non-existent users.Todd C. Miller
1998-07-03Fix some of my indentation badness.Angelos D. Keromytis
1998-07-03Remove user existance disclosure through "s/key" challenges.Angelos D. Keromytis
1998-02-24Allow superuser to disable skey by unlnking /etc/skeykeys.Todd C. Miller
1997-09-12Don't let strncpy() get a negative length. Noted by Theo.Todd C. Miller
1997-09-04Don't unlock skeys file before closing it. The lock is releasedTodd C. Miller
when the file is closed anyway and explicately unlocking before the file gets flushed defeats the purpose of locking in the first place.
1997-07-27Remove debugging info, whoops.Todd C. Miller
1997-07-27- Do coarse locking on /etc/skeykeys. Fixes a race that could allowTodd C. Miller
a replay attempt to succeed. - OpenBSD tags
1997-07-27Fix search and replace error introduced in version 1.16.Todd C. Miller
1997-07-26Convert upper -> lower case in seed for fake s/key propt.Todd C. Miller
1997-07-26 - int -> long fixesTodd C. Miller
- restore priority correctly after setpriority (assumed start pri was 0) - rfc-compliant challenge when faking it for those w/o a keyfile entry on machines with short hostnames or non-alphanum hostnames.
1997-07-23Fix skeygetnext()Todd C. Miller
1997-07-23_PATH_SKEYKEYS now lives in <paths.h>Todd C. Miller
Add skeygetnext() for iterating over the key file.
1997-07-23Mode 0600 /etc/skeykeysTodd C. Miller
1997-07-10Need err.h for warnx proto.Todd C. Miller
1996-11-03Add a bunch of length/size macros and use them.Todd C. Miller
1996-10-22Fake an s/key challenge if user doesn't have an entry. Stops infoTodd C. Miller
gathering attack.
1996-10-14htoi now takes an int, not char.Todd C. Miller
Only skey_set_algorithm() for the record that matches target user.
1996-10-02Fix a bug wrt handling of old md4 entries. Now don't save a type with md4Todd C. Miller
so we don't go over the record size and munge other entries. Don't export symbols we don't need to in put.c.
1996-09-30__ARGS -> __P (why does everyone have to do this differently?)Todd C. Miller
1996-09-29check skey_set_algorithm() ret val + pedantry.Todd C. Miller
1996-09-29Towards RFC 1938 compliance. Also, now supports SHA (secure hash algorithm).Todd C. Miller
1996-09-29You can now cut and paste skey prompt in an xterm to get the key.Todd C. Miller
Also removed broken code.
1996-09-27Deal with both MD4 and MD5 s/key'sTodd C. Miller
1995-12-20add ability to zero out entry; from millert@cs.colorado.edu; netbsd pr#1851Theo de Raadt
also add a prototype for skeyzero()
1995-10-18initial import of NetBSD treeTheo de Raadt