History log of /freebsd-10.1-release/contrib/opie/opiekey.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 270120 18-Aug-2014 ache

MFC: r269806,r269809,r269811,r269810

r269806:
Fix too long (seed length >12 chars) challenge handling.
1) " ext" length should be included into OPIE_CHALLENGE_MAX (as all places
of opie code expects that).
2) Overflow check in challenge.c is off by 1 even with corrected
OPIE_CHALLENGE_MAX
3) When fallback to randomchallenge() happens and rval is 0 (i.e.
challenge is too long), its value should be set to error state too.

To demonstrate the bug, run opiepasswd with valid seed:
opiepasswd -s 1234567890123456
and notice that it falls back to randomchallenge() (i.e. no
1234567890123456 in the prompt).

r269809:
When sha1 support was added, they forget to increase OPIE_HASHNAME_MAX

r269811:
Last '/' for program name, not first one.

r269810:
Link otp-sha1 to match real challenge prompt, not otp-sha.

PR: 191511
Submitted by: mitsururike@gmail.com (partially, PR 269806)


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 246873 16-Feb-2013 dim

In contrib/opie/opiekey.c, use the correct length to zero the secret.

Found by: clang ToT
Reviewed by: delphij
MFC after: 3 days


# 92914 21-Mar-2002 markm

Resolve conflicts.


# 89135 09-Jan-2002 joerg

Make the -a flag to opiekey(1) actually work as advertised.

Reviewed by: ache, audit, security
MFC after: 1 week


# 81596 13-Aug-2001 ache

Fix uninitialized "force" variable.

PR: 23203
Submitted by: fenner
Approved by: markm


# 59119 10-Apr-2000 kris

This commit was generated by cvs2svn to compensate for changes in r59118,
which included commits to RCS files with non-trunk default branches.


# 59118 10-Apr-2000 kris

Upgrade to OPIE 2.32, from http://www.inner.net/pub/opie/


# 29964 29-Sep-1997 ache

Upgrade to 2.31


# 22347 06-Feb-1997 pst

Initial import of OPIE v2.3 from
ftp://ftp.nrl.navy.mil/pub/security/opie/