]> err.no Git - yubikey-server-c/log
yubikey-server-c
12 years agoWrite a bit of documentation master
Tollef Fog Heen [Sun, 16 Oct 2011 18:25:24 +0000 (20:25 +0200)]
Write a bit of documentation

14 years agoRelease 0.5
Tollef Fog Heen [Wed, 27 Jan 2010 21:11:41 +0000 (22:11 +0100)]
Release 0.5

14 years agoComplain earlier if we can't open the configuration file
Tollef Fog Heen [Wed, 27 Jan 2010 21:06:27 +0000 (22:06 +0100)]
Complain earlier if we can't open the configuration file

14 years agoMake sure to link with libgcrypt too
Tollef Fog Heen [Wed, 27 Jan 2010 21:01:57 +0000 (22:01 +0100)]
Make sure to link with libgcrypt too

14 years agoBump version number to 0.4
Tollef Fog Heen [Sun, 27 Dec 2009 11:11:34 +0000 (12:11 +0100)]
Bump version number to 0.4

14 years agoGet rid of auto* warning
Tollef Fog Heen [Sun, 27 Dec 2009 11:11:23 +0000 (12:11 +0100)]
Get rid of auto* warning

14 years agoAnything smaller than the yubikey block size + 1 is not a valid otp either
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

14 years agoBump version number to 0.3
Tollef Fog Heen [Tue, 27 Oct 2009 20:37:09 +0000 (21:37 +0100)]
Bump version number to 0.3

14 years agoDo not log OTPs unless requested
Tollef Fog Heen [Tue, 27 Oct 2009 20:36:16 +0000 (21:36 +0100)]
Do not log OTPs unless requested

14 years agoPass ykc_config to request handler
Tollef Fog Heen [Tue, 27 Oct 2009 20:35:57 +0000 (21:35 +0100)]
Pass ykc_config to request handler

14 years agoMove struct ykc_config earlier in the source file
Tollef Fog Heen [Tue, 27 Oct 2009 20:35:21 +0000 (21:35 +0100)]
Move struct ykc_config earlier in the source file

14 years agoDon't log the OTP publically
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.

14 years agoBump version to 0.2
Tollef Fog Heen [Mon, 26 Oct 2009 21:40:11 +0000 (22:40 +0100)]
Bump version to 0.2

14 years agoReturn value from get_data_for_uid and check it
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.

14 years agoDon't assert on "user not found"
Tollef Fog Heen [Mon, 26 Oct 2009 21:35:31 +0000 (22:35 +0100)]
Don't assert on "user not found"

14 years agoAdd AUTHORS file
Tollef Fog Heen [Thu, 22 Oct 2009 20:27:04 +0000 (22:27 +0200)]
Add AUTHORS file

14 years agoAdd some initialisation that's needed for older libgcrypt
Tollef Fog Heen [Wed, 21 Oct 2009 15:23:50 +0000 (17:23 +0200)]
Add some initialisation that's needed for older libgcrypt

14 years agoMove db connection later
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.

14 years agoAdd some notes
Tollef Fog Heen [Mon, 19 Oct 2009 14:28:29 +0000 (16:28 +0200)]
Add some notes

14 years agoMake this into a real daemon
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

14 years agoLicence fluff
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

14 years agoWorkaround for buggy libykclient
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.

14 years agoConstify first parameter to ysc_b64_decode
Tollef Fog Heen [Mon, 19 Oct 2009 13:21:05 +0000 (15:21 +0200)]
Constify first parameter to ysc_b64_decode

14 years agoDon't rely on strings being null-terminated.
Tollef Fog Heen [Mon, 19 Oct 2009 13:20:16 +0000 (15:20 +0200)]
Don't rely on strings being null-terminated.

14 years agouse id, not just i when checking the signature
Tollef Fog Heen [Mon, 19 Oct 2009 13:18:47 +0000 (15:18 +0200)]
use id, not just i when checking the signature

14 years agouse syslog rather than printf for logging
Tollef Fog Heen [Mon, 12 Oct 2009 10:59:01 +0000 (12:59 +0200)]
use syslog rather than printf for logging

14 years agoXXX comment
Tollef Fog Heen [Mon, 12 Oct 2009 10:20:28 +0000 (12:20 +0200)]
XXX comment

14 years agoUse select(2) to consume as little CPU as possible
Tollef Fog Heen [Mon, 12 Oct 2009 10:20:11 +0000 (12:20 +0200)]
Use select(2) to consume as little CPU as possible

14 years agoMore paranoia
Tollef Fog Heen [Mon, 12 Oct 2009 09:19:11 +0000 (11:19 +0200)]
More paranoia

14 years agoInitialise more variables to NULL
Tollef Fog Heen [Mon, 12 Oct 2009 09:14:18 +0000 (11:14 +0200)]
Initialise more variables to NULL

14 years agoValidate h if it exists in the request
Tollef Fog Heen [Mon, 12 Oct 2009 09:13:58 +0000 (11:13 +0200)]
Validate h if it exists in the request

14 years agoGet rid of error code struct too
Tollef Fog Heen [Mon, 12 Oct 2009 09:01:35 +0000 (11:01 +0200)]
Get rid of error code struct too

14 years agoBAD_OTP, not BAD OTP as the status
Tollef Fog Heen [Mon, 12 Oct 2009 08:52:05 +0000 (10:52 +0200)]
BAD_OTP, not BAD OTP as the status

14 years agoRemove return_codes enum, it is not used
Tollef Fog Heen [Mon, 12 Oct 2009 08:45:22 +0000 (10:45 +0200)]
Remove return_codes enum, it is not used

14 years agoRemove glib dependency from build system too
Tollef Fog Heen [Mon, 12 Oct 2009 08:34:10 +0000 (10:34 +0200)]
Remove glib dependency from build system too

14 years agoSwitch to ysc_b64_encode, get rid of glib dependency
Tollef Fog Heen [Mon, 12 Oct 2009 08:32:39 +0000 (10:32 +0200)]
Switch to ysc_b64_encode, get rid of glib dependency

14 years agoZero memory first, to quieten valgrind
Tollef Fog Heen [Mon, 12 Oct 2009 08:30:56 +0000 (10:30 +0200)]
Zero memory first, to quieten valgrind

14 years agoAdd utility functions
Tollef Fog Heen [Mon, 12 Oct 2009 08:25:38 +0000 (10:25 +0200)]
Add utility functions

14 years agoBetter error handling in get_data_for_uid
Tollef Fog Heen [Mon, 12 Oct 2009 06:52:44 +0000 (08:52 +0200)]
Better error handling in get_data_for_uid

14 years agoBetter error handling in split_otp
Tollef Fog Heen [Mon, 12 Oct 2009 06:46:41 +0000 (08:46 +0200)]
Better error handling in split_otp

14 years agoRemove unused variable
Tollef Fog Heen [Mon, 12 Oct 2009 06:46:19 +0000 (08:46 +0200)]
Remove unused variable

14 years agoError handling in split_otp
Tollef Fog Heen [Mon, 12 Oct 2009 06:44:46 +0000 (08:44 +0200)]
Error handling in split_otp

14 years agoError handling in get_shared_secret; free memory on failure
Tollef Fog Heen [Mon, 12 Oct 2009 06:44:21 +0000 (08:44 +0200)]
Error handling in get_shared_secret; free memory on failure

14 years agoPlug some memory leaks
Tollef Fog Heen [Mon, 12 Oct 2009 06:28:44 +0000 (08:28 +0200)]
Plug some memory leaks

14 years agoFree alloced memory
Tollef Fog Heen [Mon, 12 Oct 2009 06:17:54 +0000 (08:17 +0200)]
Free alloced memory

14 years agoAlways set the status pointer, rather than passing a const string to the sign function
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

14 years agoRemove XXX comment, fixed
Tollef Fog Heen [Mon, 12 Oct 2009 06:05:26 +0000 (08:05 +0200)]
Remove XXX comment, fixed

14 years agoVarious cleanups
Tollef Fog Heen [Mon, 12 Oct 2009 06:04:49 +0000 (08:04 +0200)]
Various cleanups

14 years agoInitial write-up
Tollef Fog Heen [Fri, 9 Oct 2009 08:02:16 +0000 (10:02 +0200)]
Initial write-up

14 years agoDecude query string a bit, grab shared secret from db
Tollef Fog Heen [Wed, 7 Oct 2009 11:52:18 +0000 (13:52 +0200)]
Decude query string a bit, grab shared secret from db

14 years agoHard code port for now
Tollef Fog Heen [Fri, 18 Sep 2009 16:45:12 +0000 (18:45 +0200)]
Hard code port for now

14 years agoMust copy the data when creating a response
Tollef Fog Heen [Fri, 18 Sep 2009 16:44:57 +0000 (18:44 +0200)]
Must copy the data when creating a response

14 years ago0 != "0" when talking about C string
Tollef Fog Heen [Fri, 18 Sep 2009 16:43:48 +0000 (18:43 +0200)]
0 != "0" when talking about C string

14 years agoAdd initial postgresql support
Tollef Fog Heen [Fri, 18 Sep 2009 16:35:50 +0000 (18:35 +0200)]
Add initial postgresql support

14 years agoInitial commit
Tollef Fog Heen [Fri, 18 Sep 2009 14:58:35 +0000 (16:58 +0200)]
Initial commit