green
67c40ef892
Add working and easy crypt(3)-switching. Yes, we need a whole new API
...
for crypt(3) by now. In any case:
Add crypt_set_format(3) + documentation to -lcrypt.
Add login_setcryptfmt(3) + documentation to -lutil.
Support for switching crypt formats in passwd(8).
Support for switching crypt formats in pw(8).
The simple synopsis is:
edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :)
Reviewed by: peter
2000-08-22 02:15:54 +00:00
kris
fb49122cc2
Add NODESCRYPTLINKS knob to prevent spamming of libcrypt -> libscrypt
...
symlinks. The name is against my better judgement, but I defer to ancient
tradition here because I'm a nice guy.
Reviewed by: -current
2000-02-29 05:47:52 +00:00
kris
07fe4126ec
Really really remove SHA-1 support.
2000-01-09 21:22:48 +00:00
jkh
5c1350ecfe
Remove the SHA stuff properly.
2000-01-08 03:01:13 +00:00
peter
d82c29ef6e
I missed the LDADD/DPADD for -lmd in the secure cases. :-(
...
Pointed out by: marcel
1999-12-19 16:50:33 +00:00
markm
227027e997
Colour me stupid. This is a better way of using the macros.
1999-09-21 22:13:07 +00:00
markm
6274ea174b
Do this the same way as Internat to reduce diffs.
1999-09-21 17:57:09 +00:00
dt
ef28ba9c14
Someone changed major numbers of the libraries from 2 to 3 for 0 (zero) reasons.
...
Revert the major number back to 2.
libcrypt only export one function, before the recent changes and now:
char *crypt(const char *key, const char *salt);
The prototype didn't changed. Internal representation of `char' and `char *'
didn't changed. Therefore, there is no reason to change the version number.
1999-09-21 17:52:05 +00:00
peter
ba51272c69
Restore SONAME setting, otherwise libdescrypt.so.3 doesn't end up with
...
a special SONAME of libcrypt.so.3 and the runtime symlink doesn't work.
1999-09-21 14:47:36 +00:00
markm
351e996436
Make this completely dependant on the exportable libcrypt, to avoid
...
duplication of effort. Also a large cleanup of the code, inspired
by Brandon Gillespie.
1999-09-20 12:40:06 +00:00
peter
c81dbb3c98
$Header$ -> $FreeBSD$
1999-08-28 05:11:36 +00:00
peter
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
mpp
88125b8f60
Various man page cleanup:
...
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.
1999-08-15 10:01:15 +00:00
markm
b8535c2b1b
Fix symlinking. Without the -f "force" option, the wrong version
...
can be found.
Submitted by: Bruce
1999-01-24 07:51:33 +00:00
markm
41b93516e8
The new crypt code breaks "make world". Back it out.
1999-01-23 08:26:11 +00:00
brandon
b4d96f03d3
Removed from the secure/lib/libcrypt area, because of the rewrite to how
...
the Makefile handles des support by just including the single .c file.
Reviewed by: Mark Murray
1999-01-21 13:51:49 +00:00
jb
fb46650fbf
BINFORMAT -> OBJFORMAT ready for E-day. Untested 'cause I'm outside
...
the US and not allowed to see this. I kept my eyes closed. 8-)
1998-08-31 00:35:10 +00:00
peter
088ca8113e
Teach libdescrypt about elf builds.
1997-09-05 12:21:22 +00:00
peter
4968036f61
Revert $FreeBSD$ to $Id$
1997-02-22 14:40:44 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
jkh
8eb37231d4
Bring in my changes for removing the pestilent obj links (unless you
...
really want them) from /usr/src. This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
markm
71735d6644
Split libcrypt and libcipher man pages.
1996-04-13 08:18:24 +00:00
jkh
10255f12e4
Add back missing crypt.3 man page.
1996-02-21 08:15:08 +00:00
markm
923a80ce6b
Dual personality crypt(3). This crypt will choose its encryption algorithm
...
(DES or MD5) based on the type of salt used. Salt beginning with "$1$"
indicates MD5.
1995-12-16 09:14:12 +00:00
rgrimes
f3a2b348da
Remove trailing whitespace.
1995-05-30 06:12:45 +00:00
csgr
20327548ff
More elegant fix for short settings.
...
(Our existing fixes already plugged the security holes involved.)
Submitted by: Geoff Rehmet after consultation with David Burren
1994-09-19 19:26:39 +00:00
pst
5787daa8ba
Back out static hacks & build of usr.bin until Geoff informs the
...
world of his master plan.
Submitted by: pst
1994-09-07 07:47:08 +00:00
pst
6239100975
Remove static in front of declarations for des_setkey and des_cipher
...
so that linking against -lcrypt (-ldescrypt) will give us the good
versions instead of the stubs in libc. (These changes need to be
made to the non-US version of libdescrypt too!)
Allow building and support for bdes program.
A bit more work still needs to be done on secure telnet.
Submitted by: pst
1994-09-07 07:16:52 +00:00
wollman
ad7993daba
Hopefully fix bogus permissions.
1994-08-26 23:31:11 +00:00
wollman
e682e5ecfb
Install libdescrypt.so immutable.
1994-08-26 19:03:23 +00:00
csgr
ec3eb0ab36
Fix afterinstall rule for generating links to the real libcrypt
...
Submitted by: Geoff
1994-08-20 18:16:57 +00:00
csgr
e69ff52b97
when making test programs, look for libdescrypt, not libcrypt
...
Submitted by: Geoff Rehmet
1994-08-12 21:55:04 +00:00
csgr
968abb74bc
1) don't make bdes yet
...
2) fix .include in secure/lib/Makefile.inc
3) fix afterinstall rule in libcrypt/Makefile
Submitted by: Geoff Rehmet
1994-08-12 21:02:31 +00:00
csgr
6c62f898dd
Install secure/lib/libcrypt as libdescrypt, and symlink it to
...
libcrypt. There may be a little modification neede to this makefile once
we start working on tidy make world's.
Submitted by: geoff.
1994-08-09 18:52:52 +00:00
csgr
1f61f296f8
Modify libcrypt so that the only exported symbol is _crypt().
...
Submitted by: Geoff Rehmet
1994-08-08 17:29:04 +00:00
csgr
a0c8b1611c
This commit was generated by cvs2svn to compensate for changes in r1956,
...
which included commits to RCS files with non-trunk default branches.
1994-08-08 17:18:09 +00:00
csgr
aef4677b09
Unecumbered securedist from FreeBSD 1.1.5.1 - sources for libcrypt.
...
The next commit will remove all symbols except _crypt()
Reviewed by: Geoff Rehmet
Submitted by: David Burren
1994-08-08 17:18:09 +00:00
csgr
1f373cc480
Unecumbered securedist from FreeBSD 1.1.5.1 - sources for libcrypt.
...
The next commit will remove all symbols except _crypt()
Reviewed by: Geoff Rehmet
Submitted by: David Burren
1994-08-08 17:18:09 +00:00