]>
err.no Git - yubikey-server-c/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
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