summaryrefslogtreecommitdiff
path: root/usr.bin/skeyinit/skeyinit.c
AgeCommit message (Expand)Author
2016-05-17Refactor the handling of pledge and the optional user string: The threeTheo Buehler
2016-05-17Move the code block that builds up a default seed further down in orderTheo Buehler
2016-05-17Fix "skeyinit username" run as root. Also reduce the pledgeTodd C. Miller
2016-02-21Fix skeyinit -E by hoisting argument parsing and the call to enable_db()tb
2015-11-29wrap long lineTheo de Raadt
2015-11-29Drop pledge proc exec getpw after authenticating.Todd C. Miller
2015-11-29Remove useless getpwnam() call after getpwuid(). Noticed by deraadt@Todd C. Miller
2015-11-29skeyinit needs pledge proc and exec to use BSD auth.Todd C. Miller
2015-11-29Allow the -n flag to work in -s mode.Todd C. Miller
2015-11-29Add missing rip() before the call to strtonum(). Otherwise, strtonumTodd C. Miller
2015-11-20pledge "stdio rpath wpath cpath fattr flock tty"Theo de Raadt
2015-10-09Remove telnet warnings. Civilization has reached a point where they are noTim van der Molen
2015-10-06Remove the -C option that converts an S/Key database to the new format. It hasTim van der Molen
2015-10-03- Simplify use of ctype functions.Tim van der Molen
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopeTheo de Raadt
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-05-20Use errc/warnc to simplify code.Philip Guenther
2014-04-23Remove more Kerberos cruft.Antoine Jacoutot
2014-03-20Remove the (non-default) MD4 hash algorithm from S/Key.Christian Weisgerber
2013-11-28unsigned char for ctypeTheo de Raadt
2005-07-06- tidy up SYNOPSISJason McIntyre
2004-12-27spacingTheo de Raadt
2004-09-14delete unused functionTheo de Raadt
2004-06-07Allow -a to specify an alternative auth method, even if secure modeOtto Moerbeek
2004-06-06First sequence number should be 100, as promised by man page.Otto Moerbeek
2004-06-04Consistently use "secret passphrase" for the passphrase made up by the userOtto Moerbeek
2003-11-26multi-line literals are not ANSI C. And gcc3 complains about them.Marc Espie
2003-05-07bounds were sizeof(pointer) rather than size of the object; found withTheo de Raadt
2003-04-07replace strcpy calls that got inlined by gcc; Hans-Joerg.Hoexer@yerbouti.fran...Theo de Raadt
2003-04-06strlcpy; ok millertTheo de Raadt
2002-11-16Give a sensible error message when a user who has no entry in /etc/skeyTodd C. Miller
2002-06-23uid_t and gid_t are unsignedTheo de Raadt
2002-06-07The code to append the last 5 digits of the time in Unix format toTodd C. Miller
2002-06-07Instead of passing seed and defaultseed to normal_mode() andTodd C. Miller
2002-06-06Zero out memory filled in by readpassphrase(3). Also fix a spelling error;Aaron Campbell
2002-05-19 o Fix some fallout from argv handling changes.Todd C. Miller
2002-05-17Replace -z option (zero) with -r option (remove).Todd C. Miller
2002-05-17Call enable_db() from convert_db() so the dir creation as well asTodd C. Miller
2002-05-16Add missing chown(2) call.Todd 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-11-01printf() format string fix.Miod Vallat
2001-06-23skeyzero() now takes 1 argTodd C. Miller
2001-06-20o When converting from a different hash type, if there is room on the lineTodd C. Miller
2001-01-26It is pronounced S/KeyTodd C. Miller
2001-01-26Fix stupid bug in last commit that caused the hostname not toTodd C. Miller
2000-11-16When building default seed from the hostname, only use alphanumericTodd C. Miller
1999-09-10Don't unlock the skeykeys file before the fclose since stdio may still have s...Todd C. Miller
1999-03-02do not crash if -n has no arg; spotted by weingartTheo de Raadt