summaryrefslogtreecommitdiffstats
path: root/contrib/opie/opiekey.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC: r269806,r269809,r269811,r269810ache2014-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* In contrib/opie/opiekey.c, use the correct length to zero the secret.dim2013-02-161-3/+3
| | | | | | Found by: clang ToT Reviewed by: delphij MFC after: 3 days
* Resolve conflicts.markm2002-03-211-15/+16
|
* Make the -a flag to opiekey(1) actually work as advertised.joerg2002-01-091-1/+1
| | | | | Reviewed by: ache, audit, security MFC after: 1 week
* Fix uninitialized "force" variable.ache2001-08-131-1/+4
| | | | | | PR: 23203 Submitted by: fenner Approved by: markm
* Upgrade to OPIE 2.32, from http://www.inner.net/pub/opie/kris2000-04-101-2/+2
|
* Upgrade to 2.31ache1997-09-291-43/+10
|
* Initial import of OPIE v2.3 frompst1997-02-061-0/+375
ftp://ftp.nrl.navy.mil/pub/security/opie/
OpenPOWER on IntegriCloud