OpenBSD CVS

CVS log for src/usr.bin/skey/skey.c


[BACK] Up to [local] / src / usr.bin / skey

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.35 / (download) - annotate - [select for diffs], Fri Jan 25 00:19:26 2019 UTC (5 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, HEAD
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

I am retiring my old email address;  replace it with my OpenBSD one.

Revision 1.34 / (download) - annotate - [select for diffs], Wed May 3 09:51:39 2017 UTC (7 years ago) by mestre
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.33: +6 -2 lines
Diff to previous 1.33 (colored)

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@

Revision 1.33 / (download) - annotate - [select for diffs], Tue Dec 1 00:00:19 2015 UTC (8 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

We no longer need pledge "wpath" since "tty" allows read-write on
/dev/tty.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Oct 12 14:33:13 2015 UTC (8 years, 7 months ago) by tim
Branch: MAIN
Changes since 1.31: +4 -1 lines
Diff to previous 1.31 (colored)

Pledge "stdio wpath tty"; "awesome" deraadt@

Revision 1.31 / (download) - annotate - [select for diffs], Fri Oct 9 21:59:34 2015 UTC (8 years, 7 months ago) by tim
Branch: MAIN
Changes since 1.30: +4 -8 lines
Diff to previous 1.30 (colored)

Remove telnet warnings. Civilization has reached a point where they are no
longer relevant.

OK millert@

Revision 1.30 / (download) - annotate - [select for diffs], Fri Oct 9 20:24:37 2015 UTC (8 years, 7 months ago) by tim
Branch: MAIN
Changes since 1.29: +21 -23 lines
Diff to previous 1.29 (colored)

Use __progname rather than argv[0]; OK millert@

Revision 1.29 / (download) - annotate - [select for diffs], Fri Oct 9 20:14:35 2015 UTC (8 years, 7 months ago) by tim
Branch: MAIN
Changes since 1.28: +6 -6 lines
Diff to previous 1.28 (colored)

Replace readpass(3) with readpassphrase(3). This was the only use of
readpass(3) in base...

OK millert@

Revision 1.28 / (download) - annotate - [select for diffs], Sat Apr 18 18:28:38 2015 UTC (9 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.27: +12 -12 lines
Diff to previous 1.27 (colored)

Convert many atoi() calls to strtonum(), adding range checks and failure
handling along the way.
Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert

Revision 1.27 / (download) - annotate - [select for diffs], Thu Mar 20 20:39:13 2014 UTC (10 years, 2 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Remove the (non-default) MD4 hash algorithm from S/Key.
ok millert, man pages ok jmc@

Revision 1.26 / (download) - annotate - [select for diffs], Sun Apr 11 20:20:29 2010 UTC (14 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Fix typo in line ending; from Antti Harri

Revision 1.25 / (download) - annotate - [select for diffs], Sun Feb 28 13:07:26 2010 UTC (14 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 (colored)

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@

Revision 1.24 / (download) - annotate - [select for diffs], Wed Nov 12 16:13:46 2008 UTC (15 years, 6 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Usage -> usage.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jul 6 21:45:44 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

alter spacing of usage() so we don;t get a line break if skey is
invoked as otp-rmd160;

Revision 1.22 / (download) - annotate - [select for diffs], Wed Jul 6 21:39:31 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

- tidy up SYNOPSIS
- sort options
- sync usage()
- other small tweaks

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 27 23:37:48 2004 UTC (19 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

spacing

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jun 4 18:18:20 2004 UTC (19 years, 11 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.19: +5 -5 lines
Diff to previous 1.19 (colored)

Consistently use "secret passphrase" for the passphrase made up by the user
and "one-time password" for the generated passwords.
ok jmc@ millert@

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jun 10 18:24:40 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.18: +8 -8 lines
Diff to previous 1.18 (colored)

knf

Revision 1.18 / (download) - annotate - [select for diffs], Mon May 6 23:34:33 2002 UTC (22 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Kill/adjust r(login|exec)d? references now that those are no longer in
the tree.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:52 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

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.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Dec 28 17:32:04 2001 UTC (22 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.15: +4 -5 lines
Diff to previous 1.15 (colored)

Fix hex mode (-x), based on patch from David Gullasch

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jun 20 17:12:30 2001 UTC (22 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.14: +10 -9 lines
Diff to previous 1.14 (colored)

cosmetic changes and mention RFC2289 which supercedes RFC1938

Revision 1.14 / (download) - annotate - [select for diffs], Sat Dec 4 21:27:18 1999 UTC (24 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

oops

Revision 1.13 / (download) - annotate - [select for diffs], Sat Dec 4 21:20:20 1999 UTC (24 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +4 -2 lines
Diff to previous 1.12 (colored)

oflow

Revision 1.12 / (download) - annotate - [select for diffs], Sat Mar 6 20:27:41 1999 UTC (25 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

back out changes that should not have escaped my local tree

Revision 1.11 / (download) - annotate - [select for diffs], Sat Mar 6 20:19:20 1999 UTC (25 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

add missing reference to infocmp

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 17 05:48:40 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Add RIPEMD-160 (rmd160) support to OTP (s/key).

Revision 1.9 / (download) - annotate - [select for diffs], Fri Nov 22 03:24:36 1996 UTC (27 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.8: +10 -5 lines
Diff to previous 1.8 (colored)

fix thinko wrt otp-* handling

Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 3 18:57:14 1996 UTC (27 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.7: +10 -3 lines
Diff to previous 1.7 (colored)

Use new length/size macros.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 30 01:09:23 1996 UTC (27 years, 6 months ago) by millert
Branch: MAIN
Changes since 1.6: +4 -1 lines
Diff to previous 1.6 (colored)

Give usage and exit if user gave us too many args.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Oct 14 20:45:23 1996 UTC (27 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

Exit on empty "secret password" like skeyinit does.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 29 21:28:38 1996 UTC (27 years, 7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.4: +43 -38 lines
Diff to previous 1.4 (colored)

Towards RFC 1938 compliance.  Works with new libskey and supports SHA.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 29 04:33:58 1996 UTC (27 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.3: +13 -3 lines
Diff to previous 1.3 (colored)

Added support for MD4/MD5 as an argument.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 27 15:41:36 1996 UTC (27 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.2: +29 -32 lines
Diff to previous 1.2 (colored)

Now can both MD4 and MD5 skey's.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:39:20 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:46:07 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:46:07 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.