1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2024-12-01 15:24:16 +01:00
Commit Graph

38 Commits

Author SHA1 Message Date
Simon Josefsson
f33e6413fe Fix undefined warnings. Solves Issue #8. 2010-04-23 17:36:23 +00:00
Simon Josefsson
eb736f7ac4 Whitespace. 2010-02-22 13:01:49 +00:00
Simon Josefsson
201a89bc5e Drop internalname. Fix nonce. 2010-01-25 15:09:15 +00:00
Simon Josefsson
03bcd4b2e8 Fix modified/nonce. 2010-01-25 14:49:49 +00:00
Simon Josefsson
c6e7ce2ae4 Use -1 for non-existing YubiKey. 2010-01-25 14:28:46 +00:00
Olov Danielson
4d33f44909 When new OTP is discovered, local DB is set to yk_counter=-1 and yk_use=-1 . 2010-01-25 13:43:13 +00:00
Olov Danielson
a91be40d4a Refactored. Db log gets name after synclib + db now. 2010-01-14 13:45:44 +00:00
Olov Danielson
e5b6a9d5bb refactoring. removed unneccessary SQL query 2010-01-14 12:15:26 +00:00
Olov Danielson
12bd456dca . 2010-01-14 11:58:19 +00:00
Olov Danielson
433c82cce7 Added a few checks for input parameters and corrected warnings according to new docuemnt 2010-01-14 09:39:48 +00:00
Olov Danielson
bfee638917 Corrected a few log entries 2010-01-13 12:32:38 +00:00
Olov Danielson
0e41f1cb53 . 2010-01-12 18:16:27 +00:00
Olov Danielson
1fbe73dbf8 . 2010-01-12 18:13:07 +00:00
Olov Danielson
78de5a978e when creatin yubikey entries all values better be filled in 2010-01-12 17:37:00 +00:00
Olov Danielson
38edb79866 . 2010-01-12 17:14:58 +00:00
Olov Danielson
6cc547f791 Remove ID column from yubikeys and queue table. Renamed and changed random_key to server_nonce 2010-01-12 13:00:28 +00:00
Simon Josefsson
f27fa7b8bd Cleanup. 2010-01-11 14:44:13 +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
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
a59a3e0a75 Fix filename. 2009-12-15 15:39:47 +00:00
Olov Danielson
b6a44f4faa change nonce to allow alphanumeric characters 2009-12-15 11:32:28 +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
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
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
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