OpenBSD CVS

CVS log for src/usr.bin/passwd/Attic/pwd_gensalt.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.30, Sat Oct 24 15:59:51 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.29: +1 -1 lines
FILE REMOVED

the last user of gensalt has been removed. remove the file.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Nov 1 17:48:00 2014 UTC (9 years, 6 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.28: +7 -55 lines
Diff to previous 1.28 (colored)

remove support for creating any password style that's not blowfish.
this also effectively retires the ypcipher cap. it's time for DES crypt
to die (especially over network traffic!) and a multi stage rollout of
upgrading login.conf first would take too long. one cipher standard is
good enough. this doesn't prevent auth yet, just new passwords.
ok deraadt millert

Revision 1.28 / (download) - annotate - [select for diffs], Wed Sep 17 17:58:41 2014 UTC (9 years, 8 months ago) by kspillner
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Increase number of blowfish rounds to 8 by default when not specified in
login.conf.

ok deraadt@ doug@ millert@
"please commit" tedu@

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jul 11 15:53:12 2010 UTC (13 years, 10 months ago) by dhill
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, 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.26: +1 -2 lines
Diff to previous 1.26 (colored)

bcrypt_gensalt is already declared in pwd.h

"sure" deraadt@

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jul 6 13:09:36 2007 UTC (16 years, 10 months ago) by thib
Branch: MAIN
CVS Tags: 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.25: +1 -2 lines
Diff to previous 1.25 (colored)

dont inlucde <sys/syslimits.h> directly.
no binary change
ok millert@

Revision 1.25 / (download) - annotate - [select for diffs], Sun Apr 2 04:13:08 2006 UTC (18 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.24: +5 -5 lines
Diff to previous 1.24 (colored)

oops, to64() is shared.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Apr 2 01:00:18 2006 UTC (18 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.23: +7 -7 lines
Diff to previous 1.23 (colored)

avoid lvalue cast by making local function be unsigned to begin with

Revision 1.23 / (download) - annotate - [select for diffs], Thu Mar 30 21:06:29 2006 UTC (18 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

minimal lint happiness, round 1

Revision 1.22 / (download) - annotate - [select for diffs], Mon Dec 20 15:05:59 2004 UTC (19 years, 5 months ago) by moritz
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
Changes since 1.21: +11 -4 lines
Diff to previous 1.21 (colored)

o some missing free()'s in error paths
o use FD_CLOEXEC instead of 1
o fix a crash when the round number of
  localcipher in the default section
  in login.conf was ommitted. noted by
  mpech@

ok mpech@, otto@, millert@, henning@

Revision 1.21 / (download) - annotate - [select for diffs], Tue Nov 2 08:03:55 2004 UTC (19 years, 6 months ago) by otto
Branch: MAIN
Changes since 1.20: +23 -9 lines
Diff to previous 1.20 (colored)

Do not modify ro mem and plug a mem leak. Happens when no cipher
spec is found in login.conf.  Found by Jerome Loyet. ok henning@
hshoexer@ and millert@ on an earlier version.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Jul 15 17:23:44 2004 UTC (19 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.19: +9 -11 lines
Diff to previous 1.19 (colored)

Minor simplification.  Pass values in to login_getcapstr for "default" and
"error".  No longer need check for NULL and set a default value manually.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jul 13 21:29:12 2004 UTC (19 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.18: +6 -16 lines
Diff to previous 1.18 (colored)

Simplify some things now that we only have login.conf to worry about
and fix two bugs introduced in the last commit (a duplicate free
and reversed logic for the default cipher types).

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jul 13 21:09:48 2004 UTC (19 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.17: +11 -28 lines
Diff to previous 1.17 (colored)

passwd.conf has been deprecated since login.conf was imported.
Today it finally dies.  Based on a diff from Gabriel Kihlman.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 2 21:04:10 2003 UTC (20 years, 10 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.16: +3 -1 lines
Diff to previous 1.16 (colored)

protos

Revision 1.16 / (download) - annotate - [select for diffs], Sat Apr 5 15:56:27 2003 UTC (21 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

strlcpy; ok matthieu henning miod

Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 21 15:02:03 2002 UTC (21 years, 6 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

typo in error message; Tor Houghton

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 28 22:28:17 2002 UTC (21 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.13: +22 -31 lines
Diff to previous 1.13 (colored)

various cleanups; ok millert

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 27 21:12:54 2002 UTC (21 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.12: +8 -1 lines
Diff to previous 1.12 (colored)

support ":" prefix as group name, as username can contain ".".
(still support "." as welll).  passwd.conf support will go away in a
couple of months anyways... ok by millert

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:50 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Mon Nov 19 19:02:15 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

kill more registers

millert@ ok

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 18 21:09:24 2001 UTC (22 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.9: +28 -16 lines
Diff to previous 1.9 (colored)

o move passwd.conf variables into login.conf
o no longer install passwd.conf (but it is used if it exists and the
  needed info is not in login.conf)
o added passwordtime and minpasswordlen login.conf variables

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jul 5 21:08:32 1998 UTC (25 years, 10 months ago) by provos
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, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.8: +6 -3 lines
Diff to previous 1.8 (colored)

newsalt uses 24-bit count, and not 32-bit

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jul 4 18:27:04 1998 UTC (25 years, 10 months ago) by provos
Branch: MAIN
Changes since 1.7: +5 -2 lines
Diff to previous 1.7 (colored)

enable variable number of rounds for extended crypt, this is the crypt
variant used by BSDI, reminded of this fact by Solar Designer.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Apr 10 20:04:54 1997 UTC (27 years, 1 month ago) by provos
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.6: +23 -2 lines
Diff to previous 1.6 (colored)

enable .group entries in /etc/passwd.conf

Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 27 23:02:58 1997 UTC (27 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.5: +16 -15 lines
Diff to previous 1.5 (colored)

pretty and one 64bit thingy

Revision 1.5 / (download) - annotate - [select for diffs], Thu Mar 27 00:36:32 1997 UTC (27 years, 1 month ago) by provos
Branch: MAIN
Changes since 1.4: +4 -7 lines
Diff to previous 1.4 (colored)

use arc4random instead of random

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 27 00:30:54 1997 UTC (27 years, 1 month ago) by weingart
Branch: MAIN
Changes since 1.3: +2 -0 lines
Diff to previous 1.3 (colored)

Slight cleanup, more needed

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 27 00:05:41 1997 UTC (27 years, 1 month ago) by provos
Branch: MAIN
Changes since 1.2: +26 -20 lines
Diff to previous 1.2 (colored)

support for md5 passwords

Revision 1.2 / (download) - annotate - [select for diffs], Sun Feb 16 20:08:59 1997 UTC (27 years, 3 months ago) by provos
Branch: MAIN
Changes since 1.1: +28 -124 lines
Diff to previous 1.1 (colored)

cleaned up, moved pw_getconf to libutil, removed _'s in option names

Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 14 23:27:29 1997 UTC (27 years, 3 months ago) by provos
Branch: MAIN

include blowfish cipher - free config of which cipher to use

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.