]> err.no Git - yubikey-server-c/log
yubikey-server-c
14 years agoDocument changes
Tollef Fog Heen [Sun, 27 Dec 2009 11:13:07 +0000 (12:13 +0100)]
Document changes

14 years agoMerge branch 'master' into debian
Tollef Fog Heen [Sun, 27 Dec 2009 11:12:10 +0000 (12:12 +0100)]
Merge branch 'master' into debian

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 agoRemove -g from useradd call, it's not needed.
Tollef Fog Heen [Sat, 26 Dec 2009 18:08:29 +0000 (19:08 +0100)]
Remove -g from useradd call, it's not needed.

Closes: #560168
15 years agoreleasing version 0.3-1
Tollef Fog Heen [Tue, 27 Oct 2009 20:39:24 +0000 (21:39 +0100)]
releasing version 0.3-1

15 years agoMerge branch 'master' into debian
Tollef Fog Heen [Tue, 27 Oct 2009 20:38:09 +0000 (21:38 +0100)]
Merge branch 'master' into debian

15 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

15 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

15 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

15 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

15 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.

15 years agoRelease 0.2-1
Tollef Fog Heen [Mon, 26 Oct 2009 21:59:56 +0000 (22:59 +0100)]
Release 0.2-1

15 years agoMerge branch 'debian' of /home/tfheen/src/yubikey-server-c into debian
Tollef Fog Heen [Mon, 26 Oct 2009 21:45:02 +0000 (22:45 +0100)]
Merge branch 'debian' of /home/tfheen/src/yubikey-server-c into debian

15 years agoMerge branch 'master' into debian
Tollef Fog Heen [Mon, 26 Oct 2009 21:41:44 +0000 (22:41 +0100)]
Merge branch 'master' into debian

15 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

15 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.

15 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"

15 years agoFix up section and priority
Tollef Fog Heen [Mon, 26 Oct 2009 12:29:27 +0000 (13:29 +0100)]
Fix up section and priority

15 years agoGet rid of a few TODO items
Tollef Fog Heen [Mon, 26 Oct 2009 10:09:59 +0000 (11:09 +0100)]
Get rid of a few TODO items

15 years agoCreate pidfile directory
Tollef Fog Heen [Mon, 26 Oct 2009 10:09:47 +0000 (11:09 +0100)]
Create pidfile directory

15 years agoShip default config
Tollef Fog Heen [Mon, 26 Oct 2009 10:06:08 +0000 (11:06 +0100)]
Ship default config

15 years agoAdd user in postinst
Tollef Fog Heen [Mon, 26 Oct 2009 10:02:06 +0000 (11:02 +0100)]
Add user in postinst

15 years agoAdd gitpkg hook
Tollef Fog Heen [Fri, 23 Oct 2009 06:06:47 +0000 (08:06 +0200)]
Add gitpkg hook

15 years agoMerge branch 'master' into debian
Tollef Fog Heen [Thu, 22 Oct 2009 20:27:14 +0000 (22:27 +0200)]
Merge branch 'master' into debian

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

15 years agoAdd todo list for packaging
Tollef Fog Heen [Thu, 22 Oct 2009 20:26:07 +0000 (22:26 +0200)]
Add todo list for packaging

15 years agoAdd init script
Tollef Fog Heen [Thu, 22 Oct 2009 20:25:58 +0000 (22:25 +0200)]
Add init script

15 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

15 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.

15 years agoAdd missing build-depends
Tollef Fog Heen [Wed, 21 Oct 2009 15:17:04 +0000 (17:17 +0200)]
Add missing build-depends

15 years agoSet section to admin
Tollef Fog Heen [Wed, 21 Oct 2009 15:15:57 +0000 (17:15 +0200)]
Set section to admin

15 years agoInitial packaging
Tollef Fog Heen [Mon, 19 Oct 2009 14:46:17 +0000 (16:46 +0200)]
Initial packaging

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

15 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

15 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

15 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.

15 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

15 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.

15 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

15 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

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

15 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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

15 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

15 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

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

15 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

15 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

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

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

15 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

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

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

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

15 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

15 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

15 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

15 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

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

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