History log of /freebsd-10.1-release/usr.bin/opiekey/
Revision Date Author Comments
272461 03-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


201386 02-Jan-2010 ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.


88857 03-Jan-2002 ache

Add opie lib dir to includes list


81557 12-Aug-2001 markm

Remove the WANT_INSECURE_OPIE option - it is now a default. This is not
nearly as ominous as it sounds, and it allows OPIE to be used over SSH
and on xterms.

Requested by: ache
Discussed on: -security


79712 14-Jul-2001 markm

Switch on SHA1 hashing.


79467 09-Jul-2001 markm

Provide a WANT_INSECURE_OPIE compile-time option, which is useful if
you encrypt all traffic routinely, and is also useful for debugging.

Also, (properly) set SUID bit on relevant apps - opieinfo and
opiepasswd, which need it to mess with /etc/opiekeys.


74848 27-Mar-2001 ru

MAN[1-9] -> MAN.


60567 14-May-2000 obrien

Fix minor style nits.


60566 14-May-2000 obrien

Install otp-md{4,5} bits.

PR: 14911
Submitted-by: Lyndon Nerenberg <lyndon@orthanc.ab.ca>


50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


22401 07-Feb-1997 phk

Add ${.CURDIR}/ to relative path to contrib.


22380 07-Feb-1997 pst

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