1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 07:27:59 -08:00
Commit Graph

86 Commits

Author SHA1 Message Date
millert
8e0d42cd57 The maximum count is SKEY_MAX_SEQ + 1 not SKEY_MAX_SEQ - 1.
Sequence numbers are in the range [0, SKEY_MAX_SEQ] inclusive.
This means the maximum value for the -n option (count) should be
SKEY_MAX_SEQ + 1.  From Denis Bodor.
2024-08-03 22:00:31 +00:00
naddy
41ce3b17e7 man pages: add missing commas between subordinate and main clauses
jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@
2022-03-31 17:27:13 +00:00
millert
bf198cc6eb I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
mestre
3a7efd9375 Use the safe idiom of cleaning sensitive data from memory with explicit_bzero,
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@
2017-05-03 09:51:39 +00:00
natano
72c8009a2e Set the usual owner for /usr/bin/skeyprune. ok deraadt 2016-09-11 13:51:30 +00:00
jmc
faa33665ab for some time now mandoc has not required MLINKS to function
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
2016-03-30 06:38:40 +00:00
millert
83e024e681 We no longer need pledge "wpath" since "tty" allows read-write on
/dev/tty.
2015-12-01 00:00:19 +00:00
tim
06cfee9933 Pledge "stdio wpath tty"; "awesome" deraadt@ 2015-10-12 14:33:13 +00:00
tim
fc112ddb7e Remove telnet warnings. Civilization has reached a point where they are no
longer relevant.

OK millert@
2015-10-09 21:59:34 +00:00
tim
afa620cf6b Use __progname rather than argv[0]; OK millert@ 2015-10-09 20:24:37 +00:00
tim
069759da9f Replace readpass(3) with readpassphrase(3). This was the only use of
readpass(3) in base...

OK millert@
2015-10-09 20:14:35 +00:00
tim
ad8f8252d7 Update path in comment; OK millert@ 2015-10-06 15:06:29 +00:00
deraadt
a47b6461a1 Convert many atoi() calls to strtonum(), adding range checks and failure
handling along the way.
Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
2015-04-18 18:28:36 +00:00
schwarze
6b51388d7e add missing .An macros 2015-01-16 16:16:36 +00:00
naddy
1862619eee Remove the (non-default) MD4 hash algorithm from S/Key.
ok millert, man pages ok jmc@
2014-03-20 20:39:13 +00:00
schwarze
59b771b29a .Sh ERRORS is only used in sections 2, 3, and 9, so use DIAGNOSTICS instead;
from Jan Stary <hans at stare dot cz>;
jmc@ doesn't know of any upstream, so just commit it locally
2014-02-12 16:58:44 +00:00
jmc
6b2bc0ed3b last stage of rfc changes, using consistent Rs/Re blocks, and moving the
references into a STANDARDS section;
2012-09-26 16:12:13 +00:00
millert
3bed9b5424 Fix typo in line ending; from Antti Harri 2010-04-11 20:20:29 +00:00
millert
64c120293b In -x mode, if count was > 1 we would print both the hex and ascii versions
of the response (for count == 1 only the hex version was printed).  Make
things consistent and match the docs by only printing the hex mode even
if count > 1.  OK otto@
2010-02-28 13:07:26 +00:00
sobrado
a9050c90c4 Usage -> usage. 2008-11-12 16:13:46 +00:00
jmc
9490d37cb6 convert to new .Dd format; 2007-05-31 19:19:00 +00:00
sobrado
85c281b94d the options list must be alphabetically sorted
ok by jmc@
2007-04-28 15:54:54 +00:00
jmc
e855a99c44 use a full reference for RFC 2289; from Igor Sobrado 2007-03-16 16:06:38 +00:00
jmc
a45abb7144 add skey(5) to SEE ALSO; 2005-07-14 19:27:18 +00:00
jmc
76077a42bf arrange list of hash algorithms as previously done for skeyinit(1); 2005-07-07 08:12:22 +00:00
jmc
9e49c7e506 alter spacing of usage() so we don;t get a line break if skey is
invoked as otp-rmd160;
2005-07-06 21:45:44 +00:00
jmc
a79f83fd82 - tidy up SYNOPSIS
- sort options
- sync usage()
- other small tweaks
2005-07-06 21:39:30 +00:00
deraadt
bd7e917f5f spacing 2004-12-27 23:37:48 +00:00
jmc
1de73f8bf3 - skeyprune is section 8, not 1
- use -offset for display
2004-06-06 21:23:20 +00:00
otto
009fae213a Format example using -literal, add .Xr's. From millert@ 2004-06-06 11:19:16 +00:00
otto
b411b0a84d Consistently use "secret passphrase" for the passphrase made up by the user
and "one-time password" for the generated passwords.
ok jmc@ millert@
2004-06-04 18:18:20 +00:00
jmc
e805701b66 typos from Jared Yanovich, slightly ammended; 2003-10-20 21:10:19 +00:00
jmc
89f4369686 refer to RFCs consistently (RFC XXXX); 2003-08-08 10:13:33 +00:00
millert
328f1f0724 Sync with share/misc/license.template and add missing DARPA credit
where applicable.
2003-06-17 21:56:23 +00:00
millert
5ff48ff53e add missing copyright notice 2003-06-10 18:25:33 +00:00
deraadt
c44111a89b knf 2003-06-10 18:24:40 +00:00
jmc
2aeff9fb4d - section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line

ssh pages ok markus@
2003-06-10 09:12:09 +00:00
millert
06f016962e Use an ISC-tyle license for all my code; it is simpler and more permissive. 2003-06-03 01:52:39 +00:00
millert
a4187b9167 Update for new S/Key file format 2002-05-16 18:27:34 +00:00
millert
06885c0777 Kill/adjust r(login|exec)d? references now that those are no longer in
the tree.
2002-05-06 23:33:46 +00:00
millert
c72b5b24e1 Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. 2002-02-16 21:27:05 +00:00
millert
b7c03006a3 Fix hex mode (-x), based on patch from David Gullasch 2001-12-28 17:32:04 +00:00
millert
feac1c08c8 o perl5'ified
o We now lock the skeys database as we ought to avoid problems.
o Safe temp file handling
o Weed out bogus records instead of ignoring them
o Add a hash type to old md4 entries w/o a hash type listed
2001-06-20 22:19:58 +00:00
millert
4ee771179b cosmetic changes and mention RFC2289 which supercedes RFC1938 2001-06-20 17:12:29 +00:00
aaron
f1ba34738e Change all option list specifications to ".Bl -tag -width Ds". Most man
pages just needed their -width parameter tweaked to "Ds", which provides
a nice width of 6 constant characters. For consistency more than anything.
2000-11-09 17:51:53 +00:00
aaron
4aac73a429 More pedantic man page formatting insanity, lalala 2000-03-23 21:39:53 +00:00
aaron
bf9a4e5f3b Fix some formatting problems I missed before. 2000-03-23 21:10:09 +00:00
aaron
ad32b772cb Various cleanups and standardization. 2000-03-10 20:17:48 +00:00
deraadt
41e7c42502 oops 1999-12-04 21:27:18 +00:00
deraadt
8c2345295d oflow 1999-12-04 21:16:05 +00:00