1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-27 06:54:16 +01:00
Scott Sakai f24aed77a6
Fix what looks like a logic error in sync logic.
Only $req_answers sync peers would get polled.  When $req_answers is
less than $nr_servers, some servers (that return replayed counters)
will get ignored, since retrieveURLasync() stops after $req_answers
responses.

The fix requires $nr_servers responses from retrieveURLasync, causing
all sync peers to get polled and processed by sync().

This arrangement also allows a two-server sync pool to operate when
one peer is gone or unreachable, something that cannot be done before
these modifications.  Set the sync_level to 0, which means
"try everyone, but if you get no valid responses, it's okay to proceed".
Prior to the modifications, it means "don't even try syncing".

Also, added ykval-cron, which can be fired off from a cron job to
make sure ykval-queue stays running.  This is example code, as
your enviroment and usernames may differ.
2016-03-02 23:06:15 -08:00
2015-08-12 10:50:08 +02:00
2012-06-12 09:23:32 +02:00
2010-04-23 18:07:10 +00:00
2014-09-24 17:59:31 +02:00
2015-07-20 20:01:16 +00:00
2015-10-05 09:16:54 +02:00
2015-10-05 09:16:54 +02:00
2014-10-29 14:17:50 +01:00
2014-10-29 14:18:58 +01:00
2015-09-08 10:57:26 +02:00
2015-09-10 20:02:07 +02:00
2015-07-20 20:01:16 +00:00
2015-08-18 12:04:30 +02:00
2015-07-20 20:01:16 +00:00
2015-09-08 10:57:26 +02:00
2015-09-08 10:57:26 +02:00
2015-07-20 20:01:16 +00:00
2015-07-20 20:01:16 +00:00
2015-09-08 10:57:26 +02:00
2015-07-20 20:01:16 +00:00
2015-09-08 10:57:26 +02:00
2015-09-08 10:57:26 +02:00
2015-07-20 20:01:16 +00:00
2015-07-20 20:01:16 +00:00
2015-09-10 20:37:24 +02:00
2015-09-09 09:55:21 +02:00
2015-07-20 20:01:16 +00:00
2015-09-08 10:57:26 +02:00
2015-07-20 20:01:16 +00:00
2015-07-20 20:01:16 +00:00
2015-07-20 20:01:16 +00:00
2015-09-10 20:58:04 +02:00
2015-07-20 20:01:16 +00:00
2015-07-20 20:01:16 +00:00

== YubiKey OTP Validation Server ==

The YubiKey Validation Server (YK-VAL) is a server that validates
Yubikey One-Time Passwords (OTPs).  YK-VAL is written in PHP, for use
behind web servers such as Apache.

General
-------

The server implements the Yubico API protocol as defined in
doc/ValidationProtocol* and further documentation is also available in
the doc/ subdirectory.

This server talks to a KSM service for decrypting the OTPs, to avoid
storing any AES keys on the validation server.  One implementation of
this service is the https://developers.yubico.com/yubikey-ksm[YubiKey-KSM],
and another implementation using the YubiHSM hardware is
https://developers.yubico.com/python-pyhsm[PyHSM].

Note that version 1.x is a minimal centralized server. Version 2.x is
a replicated system that uses multiple machines.

License
-------

The project is licensed under a BSD license.  See the file COPYING for
exact wording.  For any copyright year range specified as YYYY-ZZZZ in
this package note that the range specifies every single year in that
closed interval.
Description
YubiKey OTP validation server in PHP
Readme 1.1 MiB
Languages
PHP 78.8%
Roff 12.6%
Makefile 4.2%
Perl 3.1%
Shell 1.3%