cyrus-sasl.git
13 years agofix comments for sasl_cbinding_disp_t
Luke Howard [Tue, 28 Sep 2010 17:00:20 +0000 (19:00 +0200)]
fix comments for sasl_cbinding_disp_t

13 years agomake channel binding disposition an enum
Luke Howard [Tue, 28 Sep 2010 16:54:04 +0000 (18:54 +0200)]
make channel binding disposition an enum

13 years agoskip legacy SASL mechanisms if client wants CB
Luke Howard [Tue, 28 Sep 2010 16:01:39 +0000 (18:01 +0200)]
skip legacy SASL mechanisms if client wants CB

13 years agoFix CB support when client selects mechanism explicitly
Luke Howard [Tue, 28 Sep 2010 15:31:07 +0000 (17:31 +0200)]
Fix CB support when client selects mechanism explicitly

13 years agoInclude channel bindings if present and the server supports
Luke Howard [Tue, 28 Sep 2010 14:56:45 +0000 (16:56 +0200)]
Include channel bindings if present and the server supports
them or we are not negotiating mechanisms.

13 years agocleanup
Luke Howard [Tue, 28 Sep 2010 10:34:38 +0000 (12:34 +0200)]
cleanup

13 years agocleanup
Luke Howard [Tue, 28 Sep 2010 10:34:00 +0000 (12:34 +0200)]
cleanup

13 years agoremove incorrect assertion
Luke Howard [Tue, 28 Sep 2010 07:55:49 +0000 (09:55 +0200)]
remove incorrect assertion

13 years agoadd some comments
Luke Howard [Mon, 27 Sep 2010 21:05:25 +0000 (23:05 +0200)]
add some comments

13 years agoEmpty authnid means GSS_C_NO_NAME
Luke Howard [Mon, 27 Sep 2010 21:04:35 +0000 (23:04 +0200)]
Empty authnid means GSS_C_NO_NAME

13 years agodo SASL name canon, whatever it does, before GSS name import
Luke Howard [Mon, 27 Sep 2010 20:54:56 +0000 (22:54 +0200)]
do SASL name canon, whatever it does, before GSS name import

13 years agonote about name canon
Luke Howard [Mon, 27 Sep 2010 20:44:25 +0000 (22:44 +0200)]
note about name canon

13 years agomore cleanup
Luke Howard [Mon, 27 Sep 2010 20:33:56 +0000 (22:33 +0200)]
more cleanup

13 years agomore cleanup
Luke Howard [Mon, 27 Sep 2010 20:22:42 +0000 (22:22 +0200)]
more cleanup

13 years agocleanup
Luke Howard [Mon, 27 Sep 2010 20:21:45 +0000 (22:21 +0200)]
cleanup

13 years agocleanup
Luke Howard [Mon, 27 Sep 2010 19:45:00 +0000 (21:45 +0200)]
cleanup

13 years agoclean up credential selection
Luke Howard [Mon, 27 Sep 2010 19:37:24 +0000 (21:37 +0200)]
clean up credential selection

13 years agoOnly ask for password if we can't get creds
Luke Howard [Mon, 27 Sep 2010 18:02:39 +0000 (20:02 +0200)]
Only ask for password if we can't get creds

13 years agofix off-by-one in very confusing mech ordering code
Luke Howard [Mon, 27 Sep 2010 17:33:23 +0000 (19:33 +0200)]
fix off-by-one in very confusing mech ordering code

13 years agodon't care about returned mech from GSS accept/init
Luke Howard [Mon, 27 Sep 2010 16:55:40 +0000 (18:55 +0200)]
don't care about returned mech from GSS accept/init

13 years agodisable OID check to get IAKERB to work
Luke Howard [Mon, 27 Sep 2010 15:08:58 +0000 (17:08 +0200)]
disable OID check to get IAKERB to work

13 years agofor mechs that support GSS_C_MA_AUTH_INIT_INIT, use default prompts
Luke Howard [Mon, 27 Sep 2010 15:08:45 +0000 (17:08 +0200)]
for mechs that support GSS_C_MA_AUTH_INIT_INIT, use default prompts

13 years agoadd hostname argument to sample server
Luke Howard [Mon, 27 Sep 2010 14:48:48 +0000 (16:48 +0200)]
add hostname argument to sample server

13 years agomore tolerant mechlist parsing
Luke Howard [Mon, 27 Sep 2010 12:36:26 +0000 (14:36 +0200)]
more tolerant mechlist parsing

13 years agoagain don't release constant OIDs
Luke Howard [Mon, 27 Sep 2010 12:29:15 +0000 (14:29 +0200)]
again don't release constant OIDs

13 years agodon't free OID
Luke Howard [Mon, 27 Sep 2010 12:25:21 +0000 (14:25 +0200)]
don't free OID

13 years agoNew SASL_BADBINDING error code; cleanup error handling
Luke Howard [Mon, 27 Sep 2010 12:20:12 +0000 (14:20 +0200)]
New SASL_BADBINDING error code; cleanup error handling

13 years agocleanup
Luke Howard [Mon, 27 Sep 2010 12:13:30 +0000 (14:13 +0200)]
cleanup

13 years agocleanup
Luke Howard [Mon, 27 Sep 2010 11:14:14 +0000 (13:14 +0200)]
cleanup

13 years agocleanups to minimise merging hassle
Luke Howard [Mon, 27 Sep 2010 10:59:06 +0000 (12:59 +0200)]
cleanups to minimise merging hassle

13 years agoadd _init files
Luke Howard [Mon, 27 Sep 2010 10:58:57 +0000 (12:58 +0200)]
add _init files

13 years agoadd .gitignore
Luke Howard [Mon, 27 Sep 2010 10:43:10 +0000 (12:43 +0200)]
add .gitignore

13 years agoAdd GS2 plugin
Luke Howard [Mon, 27 Sep 2010 10:42:51 +0000 (12:42 +0200)]
Add GS2 plugin

13 years agoRefactor channel binding code
Luke Howard [Mon, 27 Sep 2010 10:42:40 +0000 (12:42 +0200)]
Refactor channel binding code

13 years agomore work on CB
Luke Howard [Mon, 27 Sep 2010 01:15:52 +0000 (03:15 +0200)]
more work on CB

13 years agocleanup
Luke Howard [Mon, 27 Sep 2010 01:02:45 +0000 (03:02 +0200)]
cleanup

13 years agocleanup
Luke Howard [Mon, 27 Sep 2010 00:59:52 +0000 (02:59 +0200)]
cleanup

13 years agoreformat
Luke Howard [Mon, 27 Sep 2010 00:59:06 +0000 (02:59 +0200)]
reformat

13 years agoavoid legacy mechs if we require CB
Luke Howard [Mon, 27 Sep 2010 00:57:53 +0000 (02:57 +0200)]
avoid legacy mechs if we require CB

13 years agocleanup
Luke Howard [Mon, 27 Sep 2010 00:48:17 +0000 (02:48 +0200)]
cleanup

13 years agocomplete moving logic to server
Luke Howard [Mon, 27 Sep 2010 00:26:10 +0000 (02:26 +0200)]
complete moving logic to server

13 years agomove CB validation into libsasl
Luke Howard [Sun, 26 Sep 2010 23:54:20 +0000 (01:54 +0200)]
move CB validation into libsasl

13 years agoAdd GS2 mech code
Luke Howard [Sun, 26 Sep 2010 22:46:41 +0000 (00:46 +0200)]
Add GS2 mech code

13 years agomove more CB selection logic to libsasl
Luke Howard [Sun, 26 Sep 2010 22:41:50 +0000 (00:41 +0200)]
move more CB selection logic to libsasl

13 years agocleanup
Luke Howard [Sun, 26 Sep 2010 22:23:39 +0000 (00:23 +0200)]
cleanup

13 years agocleanup channel bindings logic
Luke Howard [Sun, 26 Sep 2010 18:02:21 +0000 (20:02 +0200)]
cleanup channel bindings logic

13 years agorefactor gs2 plus logic a bit
Luke Howard [Sun, 26 Sep 2010 17:40:46 +0000 (19:40 +0200)]
refactor gs2 plus logic a bit

13 years agocleanup
Luke Howard [Sun, 26 Sep 2010 15:34:00 +0000 (17:34 +0200)]
cleanup

13 years agocleanup
Luke Howard [Sun, 26 Sep 2010 15:31:28 +0000 (17:31 +0200)]
cleanup

13 years agoadd readme
Luke Howard [Sun, 26 Sep 2010 15:25:43 +0000 (17:25 +0200)]
add readme

13 years agodon't blow away text->mechanism
Luke Howard [Sun, 26 Sep 2010 15:23:17 +0000 (17:23 +0200)]
don't blow away text->mechanism

13 years agocheck for rfc5587 before building gs2
Luke Howard [Sun, 26 Sep 2010 15:17:37 +0000 (17:17 +0200)]
check for rfc5587 before building gs2

13 years agorelease mech OID - XXX is this right?
Luke Howard [Sun, 26 Sep 2010 15:17:23 +0000 (17:17 +0200)]
release mech OID - XXX is this right?

13 years agocleanup
Luke Howard [Sun, 26 Sep 2010 14:22:31 +0000 (16:22 +0200)]
cleanup

13 years agocleanup
Luke Howard [Sun, 26 Sep 2010 14:04:33 +0000 (16:04 +0200)]
cleanup

13 years agoremove autogenerated foo
Luke Howard [Sun, 26 Sep 2010 13:59:31 +0000 (15:59 +0200)]
remove autogenerated foo

13 years agoautoreconf
Luke Howard [Sun, 26 Sep 2010 13:54:32 +0000 (15:54 +0200)]
autoreconf

13 years agoreorder
Luke Howard [Sun, 26 Sep 2010 13:47:40 +0000 (15:47 +0200)]
reorder

13 years agocleanup
Luke Howard [Sun, 26 Sep 2010 13:46:42 +0000 (15:46 +0200)]
cleanup

13 years agonamespace clenaup
Luke Howard [Sun, 26 Sep 2010 11:08:40 +0000 (13:08 +0200)]
namespace clenaup

13 years agoreorder
Luke Howard [Sun, 26 Sep 2010 11:08:19 +0000 (13:08 +0200)]
reorder

13 years agofix gs2_save_cbindings off by two error
Luke Howard [Sun, 26 Sep 2010 11:07:09 +0000 (13:07 +0200)]
fix gs2_save_cbindings off by two error

13 years agoback out unused header change
Luke Howard [Sun, 26 Sep 2010 11:00:18 +0000 (13:00 +0200)]
back out unused header change

13 years agoreturn error code in sample to caller
Luke Howard [Sun, 26 Sep 2010 10:37:15 +0000 (12:37 +0200)]
return error code in sample to caller

13 years agouse snprintf
Luke Howard [Sun, 26 Sep 2010 10:33:52 +0000 (12:33 +0200)]
use snprintf

13 years agoremove cruft
Luke Howard [Sun, 26 Sep 2010 10:25:35 +0000 (12:25 +0200)]
remove cruft

13 years agodisallow proxying if no GSS channel bindings
Luke Howard [Sun, 26 Sep 2010 10:10:09 +0000 (12:10 +0200)]
disallow proxying if no GSS channel bindings

13 years agodon't acquire cred with empty password
Luke Howard [Sun, 26 Sep 2010 09:48:16 +0000 (11:48 +0200)]
don't acquire cred with empty password

13 years agoadd cb test
Luke Howard [Sun, 26 Sep 2010 09:37:16 +0000 (11:37 +0200)]
add cb test

13 years agocleanup, get cb working
Luke Howard [Sun, 26 Sep 2010 09:36:58 +0000 (11:36 +0200)]
cleanup, get cb working

13 years agofix unescaping nits
Luke Howard [Sun, 26 Sep 2010 09:14:46 +0000 (11:14 +0200)]
fix unescaping nits

13 years agoremove plugin backreferences, we can do it ourselves
Luke Howard [Sun, 26 Sep 2010 09:14:15 +0000 (11:14 +0200)]
remove plugin backreferences, we can do it ourselves

13 years agocleanup, escape authizd
Luke Howard [Sun, 26 Sep 2010 08:59:37 +0000 (10:59 +0200)]
cleanup, escape authizd

13 years agohopefully fix CB logic
Luke Howard [Sun, 26 Sep 2010 00:53:58 +0000 (02:53 +0200)]
hopefully fix CB logic

13 years agogs2_is_plus_mech() for checking CB mech
Luke Howard [Sat, 25 Sep 2010 23:18:06 +0000 (01:18 +0200)]
gs2_is_plus_mech() for checking CB mech

13 years agouse gss_indicate_mechs_by_attrs to select mechs
Luke Howard [Sat, 25 Sep 2010 23:10:57 +0000 (01:10 +0200)]
use gss_indicate_mechs_by_attrs to select mechs

13 years agocleanup, put backreference to SASL plug in library
Luke Howard [Sat, 25 Sep 2010 22:40:27 +0000 (00:40 +0200)]
cleanup, put backreference to SASL plug in library

13 years agosome work on channel bindings, prob still wrong
Luke Howard [Sat, 25 Sep 2010 22:17:49 +0000 (00:17 +0200)]
some work on channel bindings, prob still wrong

13 years agodon't include non-std hdr flag in cbindings
Luke Howard [Sat, 25 Sep 2010 21:35:58 +0000 (23:35 +0200)]
don't include non-std hdr flag in cbindings

13 years agoif mech supports mutual auth, assert it
Luke Howard [Sat, 25 Sep 2010 21:28:16 +0000 (23:28 +0200)]
if mech supports mutual auth, assert it

13 years agocleanup
Luke Howard [Sat, 25 Sep 2010 21:04:01 +0000 (23:04 +0200)]
cleanup

13 years agotry to separate logic/presentation a bit
Luke Howard [Sat, 25 Sep 2010 20:45:09 +0000 (22:45 +0200)]
try to separate logic/presentation a bit

13 years agoclean up channel binding code abit
Luke Howard [Sat, 25 Sep 2010 20:20:38 +0000 (22:20 +0200)]
clean up channel binding code abit

13 years agouse rfc5587
Luke Howard [Sat, 25 Sep 2010 20:00:51 +0000 (22:00 +0200)]
use rfc5587

13 years agomore cleanups
Luke Howard [Sat, 25 Sep 2010 16:43:22 +0000 (18:43 +0200)]
more cleanups

13 years agocleanup
Luke Howard [Sat, 25 Sep 2010 16:41:45 +0000 (18:41 +0200)]
cleanup

13 years agopreliminary chan bindings
Luke Howard [Sat, 25 Sep 2010 15:58:11 +0000 (17:58 +0200)]
preliminary chan bindings

13 years agoadd -PLUS mechs
Luke Howard [Sat, 25 Sep 2010 14:02:37 +0000 (16:02 +0200)]
add -PLUS mechs

13 years agocleanup
Luke Howard [Sat, 25 Sep 2010 12:53:00 +0000 (14:53 +0200)]
cleanup

13 years agoget GS2 working
Luke Howard [Sat, 25 Sep 2010 12:41:57 +0000 (14:41 +0200)]
get GS2 working

13 years agotry to get libtool building
Luke Howard [Sat, 25 Sep 2010 11:29:30 +0000 (13:29 +0200)]
try to get libtool building

13 years agoadd gs2 to plugins
Luke Howard [Sat, 25 Sep 2010 10:26:16 +0000 (12:26 +0200)]
add gs2 to plugins

13 years agomore work on server
Luke Howard [Sat, 25 Sep 2010 09:07:08 +0000 (11:07 +0200)]
more work on server

13 years agosome work on GS2
Luke Howard [Sat, 25 Sep 2010 08:56:26 +0000 (10:56 +0200)]
some work on GS2

13 years agomake max ssf for EAP 128
Luke Howard [Fri, 24 Sep 2010 16:28:07 +0000 (18:28 +0200)]
make max ssf for EAP 128

13 years agoadd MIT copyright for attr parsing
Luke Howard [Fri, 24 Sep 2010 15:43:54 +0000 (17:43 +0200)]
add MIT copyright for attr parsing

13 years agoAdd experimental GSS-EAP mechanism
Luke Howard [Fri, 24 Sep 2010 14:52:14 +0000 (16:52 +0200)]
Add experimental GSS-EAP mechanism

13 years agoimport cyrus-sasl-2.1.23 cyrus-sasl-2.1.23
Luke Howard [Fri, 24 Sep 2010 14:47:20 +0000 (16:47 +0200)]
import cyrus-sasl-2.1.23