]>
err.no Git - yubikey-server-c/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Tollef Fog Heen [Sun, 27 Dec 2009 11:11:34 +0000 (12:11 +0100)]
Bump version number to 0.4
Tollef Fog Heen [Sun, 27 Dec 2009 11:11:23 +0000 (12:11 +0100)]
Get rid of auto* warning
Tollef Fog Heen [Sun, 27 Dec 2009 11:06:20 +0000 (12:06 +0100)]
Anything smaller than the yubikey block size + 1 is not a valid otp either
Tollef Fog Heen [Tue, 27 Oct 2009 20:37:09 +0000 (21:37 +0100)]
Bump version number to 0.3
Tollef Fog Heen [Tue, 27 Oct 2009 20:36:16 +0000 (21:36 +0100)]
Do not log OTPs unless requested
Tollef Fog Heen [Tue, 27 Oct 2009 20:35:57 +0000 (21:35 +0100)]
Pass ykc_config to request handler
Tollef Fog Heen [Tue, 27 Oct 2009 20:35:21 +0000 (21:35 +0100)]
Move struct ykc_config earlier in the source file
Tollef Fog Heen [Tue, 27 Oct 2009 20:03:19 +0000 (21:03 +0100)]
Don't log the OTP publically
The OTP might not be an OTP, but an actual password, so don't log it
publically.
Tollef Fog Heen [Mon, 26 Oct 2009 21:40:11 +0000 (22:40 +0100)]
Bump version to 0.2
Tollef Fog Heen [Mon, 26 Oct 2009 21:35:51 +0000 (22:35 +0100)]
Return value from get_data_for_uid and check it
Previously, we would accept any valid OTP we had data for, stop doing
that and return a useful value telling the caller if we actually
suceeded getting useful data back.
Tollef Fog Heen [Mon, 26 Oct 2009 21:35:31 +0000 (22:35 +0100)]
Don't assert on "user not found"
Tollef Fog Heen [Thu, 22 Oct 2009 20:27:04 +0000 (22:27 +0200)]
Add AUTHORS file
Tollef Fog Heen [Wed, 21 Oct 2009 15:23:50 +0000 (17:23 +0200)]
Add some initialisation that's needed for older libgcrypt
Tollef Fog Heen [Wed, 21 Oct 2009 15:19:43 +0000 (17:19 +0200)]
Move db connection later
Do as little as possible while we are still running as root. This
also makes ident connections work.
Tollef Fog Heen [Mon, 19 Oct 2009 14:28:29 +0000 (16:28 +0200)]
Add some notes
Tollef Fog Heen [Mon, 19 Oct 2009 14:20:24 +0000 (16:20 +0200)]
Make this into a real daemon
Misc fixes to make it setuid/setgid properly, add some rudimentary
help, parsing of a config file and such
Tollef Fog Heen [Mon, 19 Oct 2009 13:22:36 +0000 (15:22 +0200)]
Licence fluff
Add licence to src/util.c, add email address to src/main.c
Tollef Fog Heen [Mon, 19 Oct 2009 13:21:39 +0000 (15:21 +0200)]
Workaround for buggy libykclient
libykclient requires that parameters come in a particular order,
contrary to what the spec says. Reorder parameters in order to not
break it.
Tollef Fog Heen [Mon, 19 Oct 2009 13:21:05 +0000 (15:21 +0200)]
Constify first parameter to ysc_b64_decode
Tollef Fog Heen [Mon, 19 Oct 2009 13:20:16 +0000 (15:20 +0200)]
Don't rely on strings being null-terminated.
Tollef Fog Heen [Mon, 19 Oct 2009 13:18:47 +0000 (15:18 +0200)]
use id, not just i when checking the signature
Tollef Fog Heen [Mon, 12 Oct 2009 10:59:01 +0000 (12:59 +0200)]
use syslog rather than printf for logging
Tollef Fog Heen [Mon, 12 Oct 2009 10:20:28 +0000 (12:20 +0200)]
XXX comment
Tollef Fog Heen [Mon, 12 Oct 2009 10:20:11 +0000 (12:20 +0200)]
Use select(2) to consume as little CPU as possible
Tollef Fog Heen [Mon, 12 Oct 2009 09:19:11 +0000 (11:19 +0200)]
More paranoia
Tollef Fog Heen [Mon, 12 Oct 2009 09:14:18 +0000 (11:14 +0200)]
Initialise more variables to NULL
Tollef Fog Heen [Mon, 12 Oct 2009 09:13:58 +0000 (11:13 +0200)]
Validate h if it exists in the request
Tollef Fog Heen [Mon, 12 Oct 2009 09:01:35 +0000 (11:01 +0200)]
Get rid of error code struct too
Tollef Fog Heen [Mon, 12 Oct 2009 08:52:05 +0000 (10:52 +0200)]
BAD_OTP, not BAD OTP as the status
Tollef Fog Heen [Mon, 12 Oct 2009 08:45:22 +0000 (10:45 +0200)]
Remove return_codes enum, it is not used
Tollef Fog Heen [Mon, 12 Oct 2009 08:34:10 +0000 (10:34 +0200)]
Remove glib dependency from build system too
Tollef Fog Heen [Mon, 12 Oct 2009 08:32:39 +0000 (10:32 +0200)]
Switch to ysc_b64_encode, get rid of glib dependency
Tollef Fog Heen [Mon, 12 Oct 2009 08:30:56 +0000 (10:30 +0200)]
Zero memory first, to quieten valgrind
Tollef Fog Heen [Mon, 12 Oct 2009 08:25:38 +0000 (10:25 +0200)]
Add utility functions
Tollef Fog Heen [Mon, 12 Oct 2009 06:52:44 +0000 (08:52 +0200)]
Better error handling in get_data_for_uid
Tollef Fog Heen [Mon, 12 Oct 2009 06:46:41 +0000 (08:46 +0200)]
Better error handling in split_otp
Tollef Fog Heen [Mon, 12 Oct 2009 06:46:19 +0000 (08:46 +0200)]
Remove unused variable
Tollef Fog Heen [Mon, 12 Oct 2009 06:44:46 +0000 (08:44 +0200)]
Error handling in split_otp
Tollef Fog Heen [Mon, 12 Oct 2009 06:44:21 +0000 (08:44 +0200)]
Error handling in get_shared_secret; free memory on failure
Tollef Fog Heen [Mon, 12 Oct 2009 06:28:44 +0000 (08:28 +0200)]
Plug some memory leaks
Tollef Fog Heen [Mon, 12 Oct 2009 06:17:54 +0000 (08:17 +0200)]
Free alloced memory
Tollef Fog Heen [Mon, 12 Oct 2009 06:08:38 +0000 (08:08 +0200)]
Always set the status pointer, rather than passing a const string to the sign function
Tollef Fog Heen [Mon, 12 Oct 2009 06:05:26 +0000 (08:05 +0200)]
Remove XXX comment, fixed
Tollef Fog Heen [Mon, 12 Oct 2009 06:04:49 +0000 (08:04 +0200)]
Various cleanups
Tollef Fog Heen [Fri, 9 Oct 2009 08:02:16 +0000 (10:02 +0200)]
Initial write-up
Tollef Fog Heen [Wed, 7 Oct 2009 11:52:18 +0000 (13:52 +0200)]
Decude query string a bit, grab shared secret from db
Tollef Fog Heen [Fri, 18 Sep 2009 16:45:12 +0000 (18:45 +0200)]
Hard code port for now
Tollef Fog Heen [Fri, 18 Sep 2009 16:44:57 +0000 (18:44 +0200)]
Must copy the data when creating a response
Tollef Fog Heen [Fri, 18 Sep 2009 16:43:48 +0000 (18:43 +0200)]
0 != "0" when talking about C string
Tollef Fog Heen [Fri, 18 Sep 2009 16:35:50 +0000 (18:35 +0200)]
Add initial postgresql support
Tollef Fog Heen [Fri, 18 Sep 2009 14:58:35 +0000 (16:58 +0200)]
Initial commit