mech_eap.orig
12 years agoMerge branch 'ext-mic' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot into... ext-mic
Luke Howard [Fri, 9 Sep 2011 22:51:04 +0000 (23:51 +0100)]
Merge branch 'ext-mic' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot into ext-mic

12 years agoMerge branch 'master' into ext-mic
Luke Howard [Fri, 9 Sep 2011 22:44:04 +0000 (23:44 +0100)]
Merge branch 'master' into ext-mic

12 years agosupport for libmoonshot identity selector
Luke Howard [Wed, 7 Sep 2011 13:33:19 +0000 (14:33 +0100)]
support for libmoonshot identity selector

12 years agoMerge branch 'master' into ext-mic
Luke Howard [Fri, 9 Sep 2011 21:17:56 +0000 (22:17 +0100)]
Merge branch 'master' into ext-mic

12 years agoremove unused toktype2 variable
Luke Howard [Fri, 9 Sep 2011 21:16:45 +0000 (22:16 +0100)]
remove unused toktype2 variable

From: Sam Hartman <hartmans@painless-security.com>

12 years agoremove unused EAP state machine variable
Luke Howard [Fri, 9 Sep 2011 21:14:19 +0000 (22:14 +0100)]
remove unused EAP state machine variable

12 years agoCheck error return from vasprintf: string is undefined on error
Luke Howard [Fri, 9 Sep 2011 21:12:48 +0000 (22:12 +0100)]
Check error return from vasprintf: string is undefined on error

From: Sam Hartman <hartmans@painless-security.com>

12 years agoUpdate assert to reflect protected subtoken length
Luke Howard [Tue, 6 Sep 2011 10:23:56 +0000 (11:23 +0100)]
Update assert to reflect protected subtoken length

12 years agoMerge branch 'ext-mic' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot into...
Luke Howard [Sat, 16 Jul 2011 11:59:31 +0000 (11:59 +0000)]
Merge branch 'ext-mic' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot into ext-mic

Conflicts:
moonshot/mech_eap/util_context.c

12 years agointegrity protect subtoken length
Luke Howard [Sat, 16 Jul 2011 11:56:54 +0000 (11:56 +0000)]
integrity protect subtoken length

12 years agointegrity protect extension token exchange
Luke Howard [Thu, 19 May 2011 15:14:48 +0000 (17:14 +0200)]
integrity protect extension token exchange

12 years agosend GSS flags
Luke Howard [Thu, 19 May 2011 15:02:25 +0000 (17:02 +0200)]
send GSS flags

12 years agoremove getFeatures() hack when initialising Shib
Luke Howard [Sat, 16 Jul 2011 11:46:34 +0000 (11:46 +0000)]
remove getFeatures() hack when initialising Shib

Shibboleth now supports multiple initializations

12 years agoMerge branch 'ext-mic' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot into...
Luke Howard [Sat, 11 Jun 2011 20:24:56 +0000 (20:24 +0000)]
Merge branch 'ext-mic' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot into ext-mic

12 years agointegrity protect extension token exchange
Luke Howard [Thu, 19 May 2011 15:14:48 +0000 (17:14 +0200)]
integrity protect extension token exchange

12 years agosend GSS flags
Luke Howard [Thu, 19 May 2011 15:02:25 +0000 (17:02 +0200)]
send GSS flags

12 years agoupdate TODO list
Luke Howard [Sat, 11 Jun 2011 20:23:57 +0000 (20:23 +0000)]
update TODO list

12 years agoScopedAttribute/SimpleAttribute are displayable
Luke Howard [Mon, 23 May 2011 20:18:48 +0000 (16:18 -0400)]
ScopedAttribute/SimpleAttribute are displayable

12 years agosupport BinaryAttribute subclasses
Luke Howard [Mon, 23 May 2011 17:48:36 +0000 (13:48 -0400)]
support BinaryAttribute subclasses

12 years agoUpgrade Shibboleth for binary attribute support
Luke Howard [Mon, 23 May 2011 15:05:30 +0000 (11:05 -0400)]
Upgrade Shibboleth for binary attribute support

12 years agointegrity protect extension token exchange
Luke Howard [Thu, 19 May 2011 15:14:48 +0000 (17:14 +0200)]
integrity protect extension token exchange

12 years agosend GSS flags
Luke Howard [Thu, 19 May 2011 15:02:25 +0000 (17:02 +0200)]
send GSS flags

12 years agoRevert "implement gss_acquire_cred_ext"
Luke Howard [Fri, 20 May 2011 11:08:42 +0000 (13:08 +0200)]
Revert "implement gss_acquire_cred_ext"

This reverts commit 57135a1070518a0c1228a29ed9fcf726357856a1.

12 years agoRevert "remove acquire_cred_ext until it is standardized"
Luke Howard [Fri, 20 May 2011 11:08:34 +0000 (13:08 +0200)]
Revert "remove acquire_cred_ext until it is standardized"

This reverts commit 0620dfff7eeebfec8279f4a7ee8e60e75161a856.

12 years agoreauth-specific hack should be conditional on reauth being enabled
Luke Howard [Fri, 20 May 2011 08:04:22 +0000 (10:04 +0200)]
reauth-specific hack should be conditional on reauth being enabled

12 years agoremove acquire_cred_ext until it is standardized
Luke Howard [Fri, 20 May 2011 07:52:45 +0000 (09:52 +0200)]
remove acquire_cred_ext until it is standardized

12 years agoMerge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot
Luke Howard [Thu, 19 May 2011 14:11:06 +0000 (16:11 +0200)]
Merge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot

12 years agoupdate TODO
Luke Howard [Thu, 19 May 2011 14:09:27 +0000 (16:09 +0200)]
update TODO

12 years agohack: force mutual to be true
moonshot [Mon, 4 Apr 2011 18:47:27 +0000 (14:47 -0400)]
hack: force mutual to be true

Force mutual to be true for the vm-integ brach so ssh works

12 years agofool gssapi symbol tests into working with Heimdal and MIT
Luke Howard [Mon, 16 May 2011 22:49:11 +0000 (00:49 +0200)]
fool gssapi symbol tests into working with Heimdal and MIT

12 years agomove gss_const_OID compat to gssapiP_eap.h
Luke Howard [Mon, 16 May 2011 22:46:40 +0000 (00:46 +0200)]
move gss_const_OID compat to gssapiP_eap.h

12 years agodon't set display_value for binary RADIUS attributes
Luke Howard [Mon, 16 May 2011 13:49:02 +0000 (15:49 +0200)]
don't set display_value for binary RADIUS attributes

12 years agoupdate with location of samba patches
Luke Howard [Mon, 16 May 2011 12:26:44 +0000 (14:26 +0200)]
update with location of samba patches

12 years agoupdate README
Luke Howard [Mon, 16 May 2011 11:44:37 +0000 (13:44 +0200)]
update README

12 years agoAdd readme for Samba
Luke Howard [Mon, 16 May 2011 08:58:53 +0000 (10:58 +0200)]
Add readme for Samba

12 years agocleanup getFragmentedAttribute
Luke Howard [Mon, 16 May 2011 08:20:34 +0000 (10:20 +0200)]
cleanup getFragmentedAttribute

12 years agocatch exceptions initialising Shibboleth
Luke Howard [Mon, 16 May 2011 08:05:20 +0000 (10:05 +0200)]
catch exceptions initialising Shibboleth

12 years agoremove attempt to autdetect base64, it's broken
Luke Howard [Mon, 16 May 2011 07:59:03 +0000 (09:59 +0200)]
remove attempt to autdetect base64, it's broken

instead, put a special hack for urn:mspac: until Shibboleth is fixed

12 years agoallow newlines in base64Valid check
Luke Howard [Mon, 16 May 2011 07:56:46 +0000 (09:56 +0200)]
allow newlines in base64Valid check

12 years agonote that treating all base64 values as binary is bad
Luke Howard [Mon, 16 May 2011 07:48:43 +0000 (09:48 +0200)]
note that treating all base64 values as binary is bad

12 years agoMerge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot
Luke Howard [Sun, 15 May 2011 23:17:20 +0000 (01:17 +0200)]
Merge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot

12 years agoallow binary resolved attributes
Luke Howard [Sun, 15 May 2011 23:16:41 +0000 (01:16 +0200)]
allow binary resolved attributes

12 years agoTreat non-internal UKERNA attributes as fragmented, for PAC
Luke Howard [Sun, 15 May 2011 23:15:03 +0000 (01:15 +0200)]
Treat non-internal UKERNA attributes as fragmented, for PAC

12 years agoalways set complete for local attributes
Luke Howard [Sun, 15 May 2011 23:10:20 +0000 (01:10 +0200)]
always set complete for local attributes

12 years agoadd MS-Windows-Auth-Data attribute
Luke Howard [Sun, 15 May 2011 23:03:46 +0000 (01:03 +0200)]
add MS-Windows-Auth-Data attribute

12 years agoignore embedded newlines in base64
Luke Howard [Sun, 15 May 2011 22:52:02 +0000 (00:52 +0200)]
ignore embedded newlines in base64

12 years agoimplement gss_acquire_cred_ext
Luke Howard [Sat, 14 May 2011 23:18:02 +0000 (01:18 +0200)]
implement gss_acquire_cred_ext

12 years agoimplement gss_inquire_cred_by_mech
Luke Howard [Sat, 14 May 2011 14:01:04 +0000 (16:01 +0200)]
implement gss_inquire_cred_by_mech

12 years agoallow pCtx to be NULL for Heimdal compat
Luke Howard [Thu, 12 May 2011 21:24:45 +0000 (23:24 +0200)]
allow pCtx to be NULL for Heimdal compat

12 years agoMerge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot
Luke Howard [Thu, 12 May 2011 21:05:06 +0000 (23:05 +0200)]
Merge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot

Conflicts:
moonshot/mech_eap/util_saml.cpp

12 years agodon't release mech OID on Heimdal
Luke Howard [Thu, 12 May 2011 20:33:22 +0000 (22:33 +0200)]
don't release mech OID on Heimdal

12 years agocleanup indentation
Luke Howard [Tue, 10 May 2011 11:32:15 +0000 (13:32 +0200)]
cleanup indentation

12 years agoRemove inappropriate const from cast
Sam Hartman [Tue, 10 May 2011 00:21:49 +0000 (20:21 -0400)]
Remove inappropriate const from cast

12 years agoRemove inappropriate const from cast
Sam Hartman [Tue, 10 May 2011 00:21:49 +0000 (20:21 -0400)]
Remove inappropriate const from cast
(cherry picked from commit a4f1d12a74dd8021570fc9a8d4c4304036991990)

12 years agonote about interning OIDs
Luke Howard [Mon, 9 May 2011 12:24:10 +0000 (14:24 +0200)]
note about interning OIDs

12 years agoupdate to libeap with -DCONFIG_TLS_INTERNAL_CLIENT
Luke Howard [Tue, 3 May 2011 14:54:06 +0000 (16:54 +0200)]
update to libeap with -DCONFIG_TLS_INTERNAL_CLIENT

12 years agoUnbreak TTLS by compiling with -DCONFIG_TLS_INTERNAL_CLIENT
Luke Howard [Tue, 3 May 2011 14:53:46 +0000 (16:53 +0200)]
Unbreak TTLS by compiling with -DCONFIG_TLS_INTERNAL_CLIENT

12 years agoMerge branch 'master' of /srv/git/moonshot
Luke Howard [Thu, 28 Apr 2011 06:25:42 +0000 (02:25 -0400)]
Merge branch 'master' of /srv/git/moonshot

12 years agoalphabetize sources correctly
Luke Howard [Wed, 27 Apr 2011 22:36:43 +0000 (00:36 +0200)]
alphabetize sources correctly

12 years agoreinstate -DEAP_XXX defines for now
Luke Howard [Wed, 27 Apr 2011 16:59:22 +0000 (18:59 +0200)]
reinstate -DEAP_XXX defines for now

12 years agocleanup autogen.sh
Luke Howard [Wed, 27 Apr 2011 15:44:38 +0000 (17:44 +0200)]
cleanup autogen.sh

12 years agofix mech_eap build on OS X
Luke Howard [Wed, 27 Apr 2011 15:13:13 +0000 (17:13 +0200)]
fix mech_eap build on OS X

12 years agoinclude missing objects for functioning libeap.a
Luke Howard [Wed, 27 Apr 2011 15:12:58 +0000 (17:12 +0200)]
include missing objects for functioning libeap.a

12 years agoupdate libeap for CONFIG_FIPS fix
Luke Howard [Wed, 27 Apr 2011 15:01:32 +0000 (17:01 +0200)]
update libeap for CONFIG_FIPS fix

12 years agoremove CONFIG_FIPS substitutions when building md5-non-fips.c
Luke Howard [Wed, 27 Apr 2011 14:57:15 +0000 (16:57 +0200)]
remove CONFIG_FIPS substitutions when building md5-non-fips.c

12 years agoMerge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot
Luke Howard [Wed, 27 Apr 2011 14:45:14 +0000 (16:45 +0200)]
Merge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot

12 years agoexport gssspi_authorize_localname
Luke Howard [Wed, 27 Apr 2011 14:44:29 +0000 (16:44 +0200)]
export gssspi_authorize_localname

12 years agoremove @EAP_LDFLAGS@, no longer exists
Luke Howard [Wed, 27 Apr 2011 14:42:16 +0000 (16:42 +0200)]
remove @EAP_LDFLAGS@, no longer exists

12 years agoUpdate libeap
Sam Hartman [Wed, 27 Apr 2011 14:23:16 +0000 (10:23 -0400)]
Update libeap

12 years agoinclude gssspi_authorize_localname
Luke Howard [Wed, 27 Apr 2011 14:11:21 +0000 (16:11 +0200)]
include gssspi_authorize_localname

12 years agosilent-rules unknown with my version of automake
Luke Howard [Wed, 27 Apr 2011 14:11:05 +0000 (16:11 +0200)]
silent-rules unknown with my version of automake

12 years agomove autogen.sh to top level
Luke Howard [Wed, 27 Apr 2011 14:10:49 +0000 (16:10 +0200)]
move autogen.sh to top level

12 years agoadd gssspi_authorize_localname() stub
Luke Howard [Wed, 27 Apr 2011 14:10:05 +0000 (16:10 +0200)]
add gssspi_authorize_localname() stub

12 years agoMerge branch 'master' of ssh://moonshot.suchdamage.org/srv/git/moonshot
Sam Hartman [Wed, 27 Apr 2011 13:51:43 +0000 (09:51 -0400)]
Merge branch 'master' of ssh://moonshot.suchdamage.org/srv/git/moonshot

12 years agoRearrange moonshot to have libeap as a subproject
Sam Hartman [Tue, 26 Apr 2011 18:20:10 +0000 (14:20 -0400)]
Rearrange moonshot to have libeap as a subproject

Pull in libeap and build against a libtool convenience library for it.

12 years agoautomake build system
Sam Hartman [Tue, 26 Apr 2011 15:27:45 +0000 (11:27 -0400)]
automake build system

Provide an automake build system to generate an libeap convenience
library for moonshot

13 years agoChange krbCred member to reauthCred to better clarify purpose
Luke Howard [Fri, 22 Apr 2011 10:58:20 +0000 (12:58 +0200)]
Change krbCred member to reauthCred to better clarify purpose

13 years agolibeap is now C++ clean, remove workaround
Luke Howard [Fri, 22 Apr 2011 06:13:15 +0000 (08:13 +0200)]
libeap is now C++ clean, remove workaround

13 years agos/kerberosCtx/reauthCtx/g
Luke Howard [Thu, 21 Apr 2011 18:21:19 +0000 (20:21 +0200)]
s/kerberosCtx/reauthCtx/g

13 years agosend a composite name token instead of a sec context to shib
Luke Howard [Tue, 19 Apr 2011 18:49:28 +0000 (20:49 +0200)]
send a composite name token instead of a sec context to shib

13 years agoAllow composite names in GSS_C_NT_EXPORT_NAME
Luke Howard [Tue, 19 Apr 2011 16:58:38 +0000 (18:58 +0200)]
Allow composite names in GSS_C_NT_EXPORT_NAME

13 years agoproperly account for other package directories when building AD plugin
Luke Howard [Thu, 7 Apr 2011 14:55:52 +0000 (00:55 +1000)]
properly account for other package directories when building AD plugin

13 years agodon't allow setting of binary SAML attribute values, for now
Luke Howard [Tue, 5 Apr 2011 01:22:13 +0000 (11:22 +1000)]
don't allow setting of binary SAML attribute values, for now

13 years agocheck syntax before decoding base64 encoded SAML attributes
Luke Howard [Mon, 4 Apr 2011 23:49:27 +0000 (09:49 +1000)]
check syntax before decoding base64 encoded SAML attributes

13 years agodon't return GSS_S_CREDENTIALS_EXPIRED if no expiry time
Luke Howard [Mon, 4 Apr 2011 15:50:12 +0000 (01:50 +1000)]
don't return GSS_S_CREDENTIALS_EXPIRED if no expiry time

13 years agoreturn GSS_S_CREDENTIALS_EXPIRED if credentials expired
Luke Howard [Mon, 4 Apr 2011 15:41:18 +0000 (01:41 +1000)]
return GSS_S_CREDENTIALS_EXPIRED if credentials expired

13 years agoplug leaks in 898862478f9adecfc5580814cf1296464c448b1b
Luke Howard [Mon, 4 Apr 2011 15:20:22 +0000 (01:20 +1000)]
plug leaks in 898862478f9adecfc5580814cf1296464c448b1b

13 years agoautomatically decode base64 encoded SAML values
Luke Howard [Sun, 3 Apr 2011 09:14:42 +0000 (19:14 +1000)]
automatically decode base64 encoded SAML values

13 years agorefactor unknown attribute syntax detection
Luke Howard [Sun, 3 Apr 2011 09:07:14 +0000 (19:07 +1000)]
refactor unknown attribute syntax detection

13 years agotry to guard against multiple shibboleth library initializations
Luke Howard [Sun, 3 Apr 2011 08:32:44 +0000 (18:32 +1000)]
try to guard against multiple shibboleth library initializations

13 years agoDon't crash if there are zero valued attributes
Luke Howard [Sun, 3 Apr 2011 07:57:09 +0000 (17:57 +1000)]
Don't crash if there are zero valued attributes

13 years agoXML string memory management cleanups
Luke Howard [Sat, 2 Apr 2011 01:05:31 +0000 (12:05 +1100)]
XML string memory management cleanups

13 years agoreturn assertion also in display_value; do not assume value
Luke Howard [Sat, 2 Apr 2011 13:06:33 +0000 (00:06 +1100)]
return assertion also in display_value; do not assume value
and display_value parameters are non-NULL

13 years agofix incorrect usage of XMLString::transcode, assumes strings NUL termianted
Luke Howard [Fri, 1 Apr 2011 02:24:44 +0000 (13:24 +1100)]
fix incorrect usage of XMLString::transcode, assumes strings NUL termianted

13 years agoset name type to GSS_C_NT_USER_NAME if NAI
Luke Howard [Fri, 1 Apr 2011 01:15:08 +0000 (12:15 +1100)]
set name type to GSS_C_NT_USER_NAME if NAI

This allows us to canonicalize the name easily to another mechanism, so it
can be used for protocol transition.

13 years agoIf RADIUS returns a present but empty PW_USER_NAME, treat as anonymous.
Luke Howard [Thu, 31 Mar 2011 07:55:25 +0000 (18:55 +1100)]
If RADIUS returns a present but empty PW_USER_NAME, treat as anonymous.

13 years agoset GSS_C_NT_ANONYMOUS only for completely anonymous
Luke Howard [Thu, 31 Mar 2011 07:54:20 +0000 (18:54 +1100)]
set GSS_C_NT_ANONYMOUS only for completely anonymous

13 years agoindentation fix
Luke Howard [Thu, 31 Mar 2011 07:47:09 +0000 (18:47 +1100)]
indentation fix

13 years agoUse empty name for anonymous name
Luke Howard [Thu, 31 Mar 2011 07:30:26 +0000 (18:30 +1100)]
Use empty name for anonymous name

13 years agoexception handling-related cleanup
Luke Howard [Wed, 30 Mar 2011 04:36:02 +0000 (15:36 +1100)]
exception handling-related cleanup