summaryrefslogtreecommitdiffstats
path: root/usr.bin/opiekey
Commit message (Collapse)AuthorAgeFilesLines
* MFC: r269806,r269809,r269811,r269810ache2014-08-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Add opie lib dir to includes listache2002-01-031-1/+2
|
* Remove the WANT_INSECURE_OPIE option - it is now a default. This is notmarkm2001-08-121-3/+0
| | | | | | | | nearly as ominous as it sounds, and it allows OPIE to be used over SSH and on xterms. Requested by: ache Discussed on: -security
* Switch on SHA1 hashing.markm2001-07-141-1/+2
|
* Provide a WANT_INSECURE_OPIE compile-time option, which is useful ifmarkm2001-07-091-0/+4
| | | | | | | 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.
* MAN[1-9] -> MAN.ru2001-03-271-2/+0
|
* Fix minor style nits.obrien2000-05-141-2/+2
|
* Install otp-md{4,5} bits.obrien2000-05-141-0/+5
| | | | | PR: 14911 Submitted-by: Lyndon Nerenberg <lyndon@orthanc.ab.ca>
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Add ${.CURDIR}/ to relative path to contrib.phk1997-02-071-1/+1
|
* Build opiekey from contrip_opie sources.pst1997-02-071-0/+16
OpenPOWER on IntegriCloud