summaryrefslogtreecommitdiff
path: root/lib/libskey/skeylogin.c
AgeCommit message (Expand)Author
2024-03-23readdir_r(3) was never necessary and has been deprecated by POSIX.Philip Guenther
2023-03-15Fix the length check when computing a fake challenge for users notTodd C. Miller
2022-12-27spelling fixes; from paul tagliamonteJason McIntyre
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.Todd C. Miller
2017-04-17use freezero()Theo de Raadt
2017-03-20Generate the bogus challenge using arc4random_buf(3) instead of readingTheo Buehler
2017-03-20use explicit_bzero. one from Ricardo Mestre plus two more.Ted Unangst
2016-03-17'miliseconds' -> 'milliseconds' in comments.Kenneth R Westerback
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-01-16Move to the <limits.h> universe.Theo de Raadt
2013-11-29fairly simple unsigned char casts for ctypeTheo de Raadt
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
2006-04-10minimal cleanups lint begs forTheo de Raadt
2004-08-05Add skeychallenge2() which is like skeychallenge() but takes anTodd C. Miller
2003-09-21convert tgetline() from select(2) -> poll(2)Todd C. Miller
2003-04-28fix skeygetnext()Todd C. Miller
2003-04-03Use snprintf() and strlcpy() throughout.Todd C. Miller
2002-11-16Zero out struct skey early in skeylookup() so callers can reliably checkTodd C. Miller
2002-11-16Add a missing check for NULL keyfile in skeychallenge() thatTodd C. Miller
2002-06-22use strtok_r() instead of strtok(); millert okTheo de Raadt
2002-05-24enforce SKEY_MAX_CHALLENGE using snprintf()Theo de Raadt
2002-05-17Remove skeyzero(), it is no longer needed.Todd C. Miller
2002-05-16Check for disabled /etc/skey directory (mode 0000). This is neededTodd C. Miller
2002-05-16Change S/Key stuff from using a flat file (/etc/skeykeys) to a directoryTodd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-12-07Check for keyfile == NULL in skey_unlock()Todd C. Miller
2001-06-23skeyzero() never uses its 2nd arg so remove it. Since the only thingTodd C. Miller
2001-06-20o Do per-record locking instead of whole file lockingTodd C. Miller
2001-01-04grammarTodd T. Fries
2000-11-20Move fake prompt generation from skey_authenticate() to skeychallenge()Todd C. Miller
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 is...Todd C. Miller
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
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
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