Ed Schouten
7845988449
Don't include <utmp.h> when using <utmpx.h>.
...
libopie includes both <utmp.h> and <utmpx.h> in this case and uses some
#defines to let the code use struct utmpx and its utility functions.
We'd better not include <utmp.h> here, because maybe it will not be
present in the future.
2010-01-11 16:27:56 +00:00
Andrey A. Chernov
85ca5e684e
Create /etc/opiekeys with 0600, not 0644
...
PR: 84221
2005-07-29 09:59:24 +00:00
Dag-Erling Smørgrav
5da7cece45
When computing a new seed for an existing user, opienewseed() would
...
incorrectly compute the length of the numeric portion of the previous
seed, causing the new seed to be one character shorter than the old
one.
This patch has been submitted to the vendor; I'm committing it right
away since the file is already off the vendor branch.
MFC after: 3 days
2003-01-22 10:55:36 +00:00
Mark Murray
f4083b2413
Resolve conflicts.
2002-03-21 23:42:52 +00:00
Mark Murray
7b0f9607c9
This commit was generated by cvs2svn to compensate for changes in r92906,
...
which included commits to RCS files with non-trunk default branches.
2002-03-21 22:50:02 +00:00
Mark Murray
cfb697297a
Vendor import of OPIE 2.4
2002-03-21 22:50:02 +00:00
Andrey A. Chernov
9df24552a0
Zeroing memset() in opiechallenge() really is not needed because it is the
...
very first thing immediately following opielookup() does being entered, i.e.
look at this:
int opielookup FUNCTION((opie, principal), struct opie *opie AND char
*principal
)
{
int i;
memset(opie, 0, sizeof(struct opie));
...
2002-01-24 22:19:21 +00:00
Andrey A. Chernov
eac68b24dc
Add heuristic to detect SSH connection (in the same style as other
...
heuristics already here which not supposed to be secure, just helpers).
Approved by: security@ silence
2001-08-29 13:17:02 +00:00
Mark Murray
c7ff6083f9
Fix SHA1 hashing.
2001-07-14 08:30:54 +00:00
Kris Kennaway
bf1d0435ca
Allow applications to disable the installation of the atexit() handler
...
which cleans up OPIE lockfiles. This is required for pam_opie.
Submitted by: Jim Bloom <bloom@acm.org>
2000-04-17 00:01:23 +00:00
Kris Kennaway
0d845f9706
Resolve conflicts
2000-04-10 11:18:54 +00:00
Kris Kennaway
dd9cf0235c
Upgrade to OPIE 2.32, from http://www.inner.net/pub/opie/
2000-04-10 11:09:42 +00:00
Kris Kennaway
46c66b6f15
This commit was generated by cvs2svn to compensate for changes in r59118,
...
which included commits to RCS files with non-trunk default branches.
2000-04-10 11:09:42 +00:00
Bruce Evans
9f15c7ece5
Fixed printf format errors.
1998-06-30 18:06:23 +00:00
Andrey A. Chernov
e9fcc517e1
Merge
1997-09-29 10:33:14 +00:00
Andrey A. Chernov
8fd53644f9
Upgrade to 2.31
1997-09-29 08:53:38 +00:00
Andrey A. Chernov
27544d1f2f
This commit was generated by cvs2svn to compensate for changes in r29964,
...
which included commits to RCS files with non-trunk default branches.
1997-09-29 08:53:38 +00:00
Andrey A. Chernov
6d0f9ab962
Detect null secret as error, it is temp. fix until next release
...
Submitted by: Craig Metz <cmetz@inner.net>
1997-08-05 23:15:28 +00:00
Paul Traina
049c277a7b
Disconnect OPIE from internal MD4/5 routines
1997-02-07 03:44:44 +00:00
Paul Traina
3c491303b5
Initial import of OPIE v2.3 from
...
ftp://ftp.nrl.navy.mil/pub/security/opie/
1997-02-06 17:52:29 +00:00