Up to [local] / src / lib / libskey
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.36 / (download) - annotate - [select for diffs], Wed Mar 8 04:43:05 2023 UTC (15 months ago) by guenther
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,
HEAD
Changes since 1.35: +1 -2 lines
Diff to previous 1.35 (colored)
Delete obsolete /* ARGSUSED */ lint comments. ok miod@ millert@
Revision 1.35 / (download) - annotate - [select for diffs], Fri Jan 25 00:19:26 2019 UTC (5 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: 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
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], Tue Oct 6 15:07:45 2015 UTC (8 years, 8 months ago) by tim
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,
OPENBSD_6_1_BASE,
OPENBSD_6_1,
OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9
Changes since 1.33: +30 -98 lines
Diff to previous 1.33 (colored)
Don't burden keycrunch_{md5,sha1,rmd160}() with identical code to prepare a buffer based on whether they are called by keycrunch() or f(). Instead let keycrunch() and f() take care of this themselves. OK millert@
Revision 1.33 / (download) - annotate - [select for diffs], Tue Mar 25 04:28:28 2014 UTC (10 years, 2 months ago) by lteo
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE,
OPENBSD_5_8,
OPENBSD_5_7_BASE,
OPENBSD_5_7,
OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.32: +7 -7 lines
Diff to previous 1.32 (colored)
Fix two bugs introduced after MD4 removal: Change the default algorithm back to md5 (as documented on the man pages), and do not let skey_set_algorithm() cause a segfault if an unsupported algorithm is specified. earlier version ok tedu@ help/ok millert@, ok naddy@
Revision 1.32 / (download) - annotate - [select for diffs], Thu Mar 20 20:39:13 2014 UTC (10 years, 2 months ago) by naddy
Branch: MAIN
Changes since 1.31: +1 -46 lines
Diff to previous 1.31 (colored)
Remove the (non-default) MD4 hash algorithm from S/Key. ok millert, man pages ok jmc@
Revision 1.31 / (download) - annotate - [select for diffs], Fri Nov 29 19:00:51 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)
fairly simple unsigned char casts for ctype ok krw
Revision 1.30 / (download) - annotate - [select for diffs], Thu May 17 04:34:50 2007 UTC (17 years ago) by ray
Branch: MAIN
CVS Tags: 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,
OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5,
OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2
Changes since 1.29: +5 -3 lines
Diff to previous 1.29 (colored)
Check fgets return value, from Charles Longeau. OK millert@.
Revision 1.29 / (download) - annotate - [select for diffs], Mon Apr 10 08:06:08 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.28: +8 -7 lines
Diff to previous 1.28 (colored)
minimal cleanups lint begs for
Revision 1.28 / (download) - annotate - [select for diffs], Wed Jul 28 19:37:09 2004 UTC (19 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7,
OPENBSD_3_6_BASE,
OPENBSD_3_6
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)
Use SHA1Pad() instead of relying on unspecified behavior.
Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 26 23:19:53 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.26: +2 -2 lines
Diff to previous 1.26 (colored)
simple protos
Revision 1.26 / (download) - annotate - [select for diffs], Thu Apr 3 17:48:50 2003 UTC (21 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.25: +33 -65 lines
Diff to previous 1.25 (colored)
Use snprintf() and strlcpy() throughout.
Revision 1.25 / (download) - annotate - [select for diffs], Wed May 29 18:53:15 2002 UTC (22 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)
strlcat bounds
Revision 1.24 / (download) - annotate - [select for diffs], Fri May 24 21:33:09 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)
replace strcpy with strlcpy
Revision 1.23 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:28 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.22: +10 -10 lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Thu Jan 24 23:01:19 2002 UTC (22 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)
Fix `necesary' typos; Alexander Yurchenko Alas many of these were introduced by yours truly as necessary just doesn't look right to me for some reason ;-)
Revision 1.21 / (download) - annotate - [select for diffs], Wed Nov 14 20:53:03 2001 UTC (22 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)
avoid stdio in a signal handler; millert ok
Revision 1.20 / (download) - annotate - [select for diffs], Sat Jun 23 21:03:47 2001 UTC (22 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0
Changes since 1.19: +104 -151 lines
Diff to previous 1.19 (colored)
Get rid of f_HASH() and fold its functionality into keycrunch_HASH(). This means we now only need to add one new function when adding a new hash type. Somehow missed from last S/Key commit (changes are static to skeysubr.c).
Revision 1.19 / (download) - annotate - [select for diffs], Fri Jan 26 16:06:40 2001 UTC (23 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE,
OPENBSD_2_9
Changes since 1.18: +35 -15 lines
Diff to previous 1.18 (colored)
SHA1 is a big endian algorithm but RFC2289 mandates that results be stored in little endian form (like MD4/MD5). So, instead of having SHA1Final copy the result buffer, we do it ourselves with a loop stolen from RFC2289, Appendix A. Closes PR1650.
Revision 1.18 / (download) - annotate - [select for diffs], Fri Jul 3 01:08:14 1998 UTC (25 years, 11 months ago) by angelos
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE,
OPENBSD_2_8,
OPENBSD_2_7_BASE,
OPENBSD_2_7,
OPENBSD_2_6_BASE,
OPENBSD_2_6,
OPENBSD_2_5_BASE,
OPENBSD_2_5,
OPENBSD_2_4_BASE,
OPENBSD_2_4
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)
Remove user existance disclosure through "s/key" challenges.
Revision 1.17 / (download) - annotate - [select for diffs], Sun Jul 27 21:36:06 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE,
OPENBSD_2_3,
OPENBSD_2_2_BASE,
OPENBSD_2_2
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)
- Do coarse locking on /etc/skeykeys. Fixes a race that could allow a replay attempt to succeed. - OpenBSD tags
Revision 1.16 / (download) - annotate - [select for diffs], Thu Jul 24 23:00:27 1997 UTC (26 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.15: +32 -30 lines
Diff to previous 1.15 (colored)
Fix one instance of bad strncpy() usage and some KNF.
Revision 1.15 / (download) - annotate - [select for diffs], Thu Jul 17 05:48:38 1997 UTC (26 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.14: +61 -3 lines
Diff to previous 1.14 (colored)
Add RIPEMD-160 (rmd160) support to OTP (s/key).
Revision 1.14 / (download) - annotate - [select for diffs], Fri Jul 11 01:32:57 1997 UTC (26 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.13: +1 -11 lines
Diff to previous 1.13 (colored)
Remove #if 0'd code
Revision 1.13 / (download) - annotate - [select for diffs], Thu Jul 10 22:53:37 1997 UTC (26 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.12: +23 -17 lines
Diff to previous 1.12 (colored)
Use new SHA1* functions.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 3 18:57:30 1996 UTC (27 years, 7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE,
OPENBSD_2_1
Changes since 1.11: +24 -21 lines
Diff to previous 1.11 (colored)
Add a bunch of length/size macros and use them.
Revision 1.11 / (download) - annotate - [select for diffs], Tue Oct 22 01:37:54 1996 UTC (27 years, 7 months ago) by millert
Branch: MAIN
Changes since 1.10: +1 -4 lines
Diff to previous 1.10 (colored)
Don't need the extra newline since we never turn off echo for s/key
Revision 1.10 / (download) - annotate - [select for diffs], Mon Oct 14 03:09:13 1996 UTC (27 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)
htoi now takes an int, not char. Only skey_set_algorithm() for the record that matches target user.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Sep 30 23:54:38 1996 UTC (27 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE,
OPENBSD_2_0
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)
Added missing static's.
Revision 1.8 / (download) - annotate - [select for diffs], Mon Sep 30 23:26:28 1996 UTC (27 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.7: +7 -1 lines
Diff to previous 1.7 (colored)
Fix byte order problem with sha1.
Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 30 18:55:56 1996 UTC (27 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.6: +21 -5 lines
Diff to previous 1.6 (colored)
More RFC 1938 compliance--convert seed to lower case internally.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Sep 30 04:10:47 1996 UTC (27 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.5: +11 -11 lines
Diff to previous 1.5 (colored)
__ARGS -> __P (why does everyone have to do this differently?)
Revision 1.5 / (download) - annotate - [select for diffs], Sun Sep 29 23:35:07 1996 UTC (27 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored)
check skey_set_algorithm() ret val + pedantry.
Revision 1.4 / (download) - annotate - [select for diffs], Sun Sep 29 21:27:02 1996 UTC (27 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.3: +105 -49 lines
Diff to previous 1.3 (colored)
Towards RFC 1938 compliance. Also, now supports SHA (secure hash algorithm).
Revision 1.3 / (download) - annotate - [select for diffs], Fri Sep 27 20:40:17 1996 UTC (27 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.2: +35 -23 lines
Diff to previous 1.2 (colored)
Nicer echo on/off in its own function.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Sep 27 15:39:00 1996 UTC (27 years, 8 months ago) by millert
Branch: MAIN
Changes since 1.1: +203 -124 lines
Diff to previous 1.1 (colored)
Deal with both MD4 and MD5 s/key's
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:43:11 1995 UTC (28 years, 8 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:43:11 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN
Initial revision