summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tokeninit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use the safe idiom of cleaning sensitive data from memory with explicit_bzero,mestre2017-05-031-2/+2
| | | | | | | | | instead of relying on other methods, after readpassphrase. Some programs on this diff won't benefit that much since it happens near the terminal path, but someone might copy the unsafe idiom to another program and place it where it may leak sensitive data. Discussed aeons ago with tb@, OK deraadt@ and beck@
* for some time now mandoc has not required MLINKS to functionjmc2016-03-301-5/+1
| | | | | | | | | | | | correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
* tokenadm(8) is already pledged, do the same for tokeninit(8).bluhm2016-03-221-2/+10
| | | | | | | | - bring comment in both programms in line - tokeninit(8) needs "tty" for readpassphrase(3) - call token_init() after pledge(2) - fix whitespace OK millert@
* hexidecimal -> hexadecimalmmcc2016-02-121-2/+2
|
* assign pointers to NULL rather than 0mmcc2015-12-221-2/+2
|
* clean up flags++ instances around getopt()deraadt2015-02-091-3/+3
| | | | ok florian
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-2/+3
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* no longer any need to quote macro lines with >9 args;jmc2013-08-141-3/+3
| | | | From: Jan Stary
* use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze2013-07-161-3/+3
|
* Switch the remaining users of libdes in src to libcrypto,jsg2010-10-151-3/+3
| | | | | | telnet portion partially from the latest heimdal. ok mikeb@
* replace strftime(3) by ".Xr strftime 3" and syslog(3) by ".Xr syslog 3".sobrado2009-10-221-3/+5
| | | | ok jmc@
* an ellipsis is not an optional argument.sobrado2008-07-092-6/+5
|
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* simplify synopsis/usage() and sort options;jmc2007-03-152-9/+6
| | | | from Igor Sobrado
* remove reference to defunct Digital Pathways, and note that SNK-004 tokensjmc2003-11-261-15/+2
| | | | | | | are no longer available; kill some .Pp's before displays; diff from Alex Holst;
* remove the extra / in pathdavid2003-07-181-2/+2
| | | | ok deraadt@ millert@
* - section reorderjmc2003-06-121-36/+20
| | | | | | - macro fixes - kill whitespace at EOL - new sentence, new line
* typos;jmc2003-02-141-2/+2
| | | | | tftpd(8): tweak and ok millert@ tokenadm(8): tweak and ok millert@
* unsigned to unsigned intderaadt2002-05-271-3/+3
|
* Remove \n from err/errx/warn/warnx().mpech2002-03-141-3/+3
| | | | millert@ ok
* getopt(3) returns -1 when out of args, not EOF.mpech2001-10-241-2/+2
| | | | millert@ ok
* Initial idea from aaron@: Last char of .Xr group in SEE ALSO section shouldmpech2001-09-061-2/+2
| | | | | | be a single digit. Powered by mantoya@. millert@ ok.
* Remove tokenctl and tokenls from SEE ALSO -- they don't existmillert2001-08-011-2/+1
|
* Standard OpenBSD'ifications that happen when new man pages are imported.aaron2000-12-211-45/+51
|
* use arc4random, clear secrets, use readpassphrase in tokeninit; ok millert@markus2000-12-201-34/+16
|
* Commands for manipulating the token database (ActivCard, CRYPTOCard, or SNK-004)millert2000-12-203-0/+484
from BSDi. Will be enabled when BSD authentication is turned on (login_token).