Simon Josefsson
5b187bc77c
Simplify SQL.
2010-01-11 14:15:26 +00:00
Olov Danielson
76f35dd580
ops, ykval-log file needed as well.
2010-01-11 12:07:28 +00:00
Olov Danielson
a839954882
Unified logging to use Log class defined in ykval-log.php which in turn uses syslog.
...
NOTE: ykval common debug function is still available but uses Log class aswell to actually
log message.
2010-01-11 12:06:00 +00:00
Olov Danielson
e66dc86f5b
Spelling error corrected
2010-01-11 10:31:39 +00:00
Olov Danielson
94c8e17ef6
Only allowed sync requests from specified IP addresses
2010-01-11 10:25:25 +00:00
Olov Danielson
199296c91f
Added help description to sync daemon
2010-01-10 17:31:06 +00:00
Olov Danielson
10d6f5e4ec
corrected. Rowcount acts on last statement result rather on db
2010-01-10 17:24:17 +00:00
Olov Danielson
d896a8c2d9
Added rowcount function to db
2010-01-10 17:14:32 +00:00
Olov Danielson
9ede835f5e
Rewritten sync daemon to work in a sequential way. Now called ykval-queue.php
2010-01-10 16:46:11 +00:00
Olov Danielson
851aa21c66
Changed to using PDO database connection
2010-01-08 16:35:25 +00:00
Olov Danielson
b9701c16ea
Changed DB-names to be more consistent (WARNING current revision might be broken but needs to be submitted for multiserver test purposes)
2010-01-08 13:54:33 +00:00
Simon Josefsson
897ef6e6b3
Move.
2009-12-15 21:34:16 +00:00
Simon Josefsson
eff489989b
Remove.
2009-12-15 21:33:40 +00:00
Simon Josefsson
c088f09ac4
Improve.
2009-12-15 21:33:15 +00:00
Simon Josefsson
3d9f507903
Simplify.
2009-12-15 21:22:48 +00:00
Simon Josefsson
9a646efd5d
fix
2009-12-15 16:14:21 +00:00
Simon Josefsson
dd5c5a2219
fix
2009-12-15 16:11:10 +00:00
Simon Josefsson
b5ac2e0bf8
rm.
2009-12-15 15:56:06 +00:00
Simon Josefsson
970cd3f27c
Add symlink rule.
2009-12-15 15:55:09 +00:00
Simon Josefsson
a59a3e0a75
Fix filename.
2009-12-15 15:39:47 +00:00
Simon Josefsson
e19192dcfe
Add install target.
2009-12-15 15:38:46 +00:00
Simon Josefsson
8fd22d6c2e
Remove getapikey service.
2009-12-15 14:59:24 +00:00
Simon Josefsson
a2b0649681
Add comments.
2009-12-15 14:56:01 +00:00
Olov Danielson
b6a44f4faa
change nonce to allow alphanumeric characters
2009-12-15 11:32:28 +00:00
Olov Danielson
b8ee9550be
nonce introduced
2009-12-15 10:21:46 +00:00
Olov Danielson
6788e5effa
1. Nonce introduced in protocol. This required changes in the chain from client->verify->sync.
...
2. ykval-verify is modified a bit. It now acts more as a flow controller and relies on ykval-synclib
to do details on DB-calls and counterlogic. The "system" decision making is still located in ykval-verify.
2009-12-15 10:17:51 +00:00
Olov Danielson
7be831db12
Corrected calculation of hmac with extra parameters (protocol v. 2). Corrected calculation of sl return value (use float inside)
2009-12-08 16:07:08 +00:00
Olov Danielson
8a22c88648
Added sync daemon
2009-12-08 12:53:25 +00:00
Olov Danielson
03366efa60
sl parameter returned on "NOT_ENOUGH_ANSWERS"
2009-12-08 10:26:27 +00:00
Olov Danielson
f7cf1e1a5d
Taking care of sl and timeout parameters in new protocol
2009-12-07 19:13:20 +00:00
Olov Danielson
530498ef71
changed updateDbParams function to only update counters if they are newer than before
2009-12-07 17:21:38 +00:00
Olov Danielson
3aa91fa557
.
2009-12-07 16:10:07 +00:00
Olov Danielson
72ecd16581
.
2009-12-07 15:39:04 +00:00
Olov Danielson
a4b3dbc364
Moved config to ykval-config
2009-12-07 15:31:33 +00:00
Olov Danielson
93ca2d9536
.
2009-12-07 13:42:09 +00:00
Olov Danielson
0eb9edf549
iremoved echos
2009-12-07 13:40:57 +00:00
Olov Danielson
ad0c152319
Added first version of queue daemon
2009-12-07 13:33:24 +00:00
Olov Danielson
e526936ce3
fixed bug. When only partial answer were received, the queue delete functionality didn't work
2009-12-04 16:11:00 +00:00
Olov Danielson
a26c8a70cc
.
2009-12-04 12:22:07 +00:00
Olov Danielson
55aeffc066
Storing local param info at the time when verify request arrived.
...
Used to give correct warnings of wether local/remote is out of sync or not
2009-12-04 11:57:49 +00:00
Olov Danielson
362b40056d
changed structure of info in db
2009-12-04 10:58:37 +00:00
Olov Danielson
1a620a1d1b
Added modified and otp parameter to sync requests from synclib
2009-12-03 11:58:55 +00:00
Olov Danielson
f04dcbc0e7
Committed first trial version for replication protocol.
2009-12-02 17:32:20 +00:00
Simon Josefsson
682c1d94cd
Fix.
2009-11-25 14:15:13 +00:00
Simon Josefsson
02eb647a3e
Add queue table.
2009-11-25 10:37:37 +00:00
Simon Josefsson
122a4e9304
Add.
2009-11-20 07:22:11 +00:00
Simon Josefsson
944df14617
Pull in docs from wiki.
2009-11-20 07:19:42 +00:00
Simon Josefsson
572f47e5a2
Drop 'info' field.
2009-10-14 07:43:45 +00:00
Olov Danielson
b963f3c3f4
added description of request and response for retrieving timestamp and session counter information from the validation server
2009-10-12 11:39:46 +00:00
Simon Josefsson
95ee2b3017
Add, from yubico.com web page.
2009-10-08 06:38:52 +00:00