moonshot.git
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 agoremove cyrus-sasl for now (again)
Luke Howard [Thu, 31 Mar 2011 07:55:56 +0000 (18:55 +1100)]
remove cyrus-sasl for now (again)

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 agoupdate cyrus-sasl
Luke Howard [Wed, 30 Mar 2011 12:26:44 +0000 (23:26 +1100)]
update cyrus-sasl

13 years agorevert cyrus-sasl to no autogenerated file version, add to build again
Luke Howard [Wed, 30 Mar 2011 12:10:46 +0000 (23:10 +1100)]
revert cyrus-sasl to no autogenerated file version, add to build again

13 years agoremove cyrus-sasl from build, it doesn't build now autogenerated
Luke Howard [Wed, 30 Mar 2011 11:59:49 +0000 (22:59 +1100)]
remove cyrus-sasl from build, it doesn't build now autogenerated
files are checked in

13 years agoupdate cyrus-sasl with more autogenerated files
Luke Howard [Wed, 30 Mar 2011 11:32:03 +0000 (22:32 +1100)]
update cyrus-sasl with more autogenerated files

13 years agoupdate cyrus-sasl, again.
Luke Howard [Wed, 30 Mar 2011 11:14:19 +0000 (22:14 +1100)]
update cyrus-sasl, again.

13 years agoadd cyrus-sasl to build
Luke Howard [Wed, 30 Mar 2011 11:09:46 +0000 (22:09 +1100)]
add cyrus-sasl to build

13 years agoupdate cyrus-sasl, saslauthd flags
Luke Howard [Wed, 30 Mar 2011 11:00:34 +0000 (22:00 +1100)]
update cyrus-sasl, saslauthd flags

13 years agoupdate cyrus-sasl
Luke Howard [Wed, 30 Mar 2011 08:16:08 +0000 (19:16 +1100)]
update cyrus-sasl

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

13 years agofix shib reentrancy regression in recent commit
Luke Howard [Wed, 30 Mar 2011 04:30:37 +0000 (15:30 +1100)]
fix shib reentrancy regression in recent commit

13 years agoallow gssEapSaveStatusInfo to reset status to NULL
Luke Howard [Wed, 30 Mar 2011 04:03:11 +0000 (15:03 +1100)]
allow gssEapSaveStatusInfo to reset status to NULL

13 years agosave Shibboleth exception code in GSS per-thread status
Luke Howard [Wed, 30 Mar 2011 04:01:43 +0000 (15:01 +1100)]
save Shibboleth exception code in GSS per-thread status

13 years agorefactory: s/initFrom/initWith/g
Luke Howard [Wed, 30 Mar 2011 04:01:11 +0000 (15:01 +1100)]
refactory: s/initFrom/initWith/g

13 years agofix exception to GSS error code mapping
Luke Howard [Wed, 30 Mar 2011 04:00:04 +0000 (15:00 +1100)]
fix exception to GSS error code mapping

13 years agofix an incorrect assertion in unknown RADIUS attribute handling
Luke Howard [Wed, 30 Mar 2011 00:18:39 +0000 (11:18 +1100)]
fix an incorrect assertion in unknown RADIUS attribute handling

13 years agoupdate OpenSSH to keyex branch
Luke Howard [Wed, 30 Mar 2011 00:13:25 +0000 (11:13 +1100)]
update OpenSSH to keyex branch

13 years agofix uninitialized variable major
Luke Howard [Tue, 29 Mar 2011 15:57:48 +0000 (02:57 +1100)]
fix uninitialized variable major

13 years agoreorder variables in shib client
Luke Howard [Tue, 29 Mar 2011 15:52:13 +0000 (02:52 +1100)]
reorder variables in shib client

13 years agomark all Shib attributes as authenticated
Luke Howard [Tue, 29 Mar 2011 15:51:08 +0000 (02:51 +1100)]
mark all Shib attributes as authenticated

13 years agoallow unknown attributes to be binary or string
Luke Howard [Tue, 29 Mar 2011 15:41:15 +0000 (02:41 +1100)]
allow unknown attributes to be binary or string

13 years agoadd better JSON type checking to RADIUS decoder
Luke Howard [Tue, 29 Mar 2011 15:28:47 +0000 (02:28 +1100)]
add better JSON type checking to RADIUS decoder

13 years agofix various bugs in DDF/JSON bridge
Luke Howard [Tue, 29 Mar 2011 14:58:32 +0000 (01:58 +1100)]
fix various bugs in DDF/JSON bridge

13 years agopersist RADIUS attr provider authentication status exported context
Luke Howard [Tue, 29 Mar 2011 14:01:38 +0000 (01:01 +1100)]
persist RADIUS attr provider authentication status exported context

13 years agotag security context token with mechanism OID for feeding to mechglue
Luke Howard [Tue, 29 Mar 2011 13:53:35 +0000 (00:53 +1100)]
tag security context token with mechanism OID for feeding to mechglue

13 years agoallow complete/authenticated params to be NULL
Luke Howard [Tue, 29 Mar 2011 13:49:59 +0000 (00:49 +1100)]
allow complete/authenticated params to be NULL

13 years agoupdate resolver to SVN r305 (merge in GSS fixes)
Luke Howard [Tue, 29 Mar 2011 12:49:49 +0000 (23:49 +1100)]
update resolver to SVN r305 (merge in GSS fixes)

13 years agoupdate for more portable GSS Library build fixes
Luke Howard [Tue, 29 Mar 2011 04:59:39 +0000 (15:59 +1100)]
update for more portable GSS Library build fixes

13 years agobetter propagation of bad name token errors
Luke Howard [Tue, 29 Mar 2011 02:18:53 +0000 (13:18 +1100)]
better propagation of bad name token errors

13 years agocleanup shib attr provider a little
Luke Howard [Tue, 29 Mar 2011 01:01:18 +0000 (12:01 +1100)]
cleanup shib attr provider a little

13 years agoupdate to r303 of SVN (GSS context patch)
Luke Howard [Tue, 29 Mar 2011 00:48:46 +0000 (11:48 +1100)]
update to r303 of SVN (GSS context patch)

13 years agofix linkage error in sp
Luke Howard [Tue, 29 Mar 2011 00:39:27 +0000 (11:39 +1100)]
fix linkage error in sp

13 years agoAllow Shibboleth initialization failure to be non-fatal
Luke Howard [Tue, 29 Mar 2011 00:25:32 +0000 (11:25 +1100)]
Allow Shibboleth initialization failure to be non-fatal

13 years agoset opensaml2 to 2.4.1 tag
Luke Howard [Mon, 28 Mar 2011 23:40:00 +0000 (10:40 +1100)]
set opensaml2 to 2.4.1 tag

13 years agoupdate to version that compiles with GSS
Luke Howard [Mon, 28 Mar 2011 23:16:57 +0000 (10:16 +1100)]
update to version that compiles with GSS

13 years agocorrect importing of partial attribute contexts
Luke Howard [Mon, 28 Mar 2011 23:01:18 +0000 (10:01 +1100)]
correct importing of partial attribute contexts

Conflicts:

mech_eap/import_sec_context.c

13 years agoadd --with-gssapi for shibresolver
Luke Howard [Mon, 28 Mar 2011 22:27:16 +0000 (09:27 +1100)]
add --with-gssapi for shibresolver

13 years agoRefactor export reentrancy fix to be less intrusive
Luke Howard [Mon, 28 Mar 2011 22:06:48 +0000 (09:06 +1100)]
Refactor export reentrancy fix to be less intrusive

13 years agodon't assert !CTX_FLAG_KRB_REAUTH when exporting partial contexts,
Luke Howard [Mon, 28 Mar 2011 15:26:52 +0000 (02:26 +1100)]
don't assert !CTX_FLAG_KRB_REAUTH when exporting partial contexts,
we may need this path for local attribute provider reentrancy

13 years agoupdate resolver
Luke Howard [Mon, 28 Mar 2011 15:15:33 +0000 (02:15 +1100)]
update resolver

13 years agosend exported GSS context token to shibresolver
Luke Howard [Mon, 28 Mar 2011 15:10:42 +0000 (02:10 +1100)]
send exported GSS context token to shibresolver

13 years agoadd export_sec_context variant that does not reenter local attribute path
Luke Howard [Mon, 28 Mar 2011 14:58:03 +0000 (01:58 +1100)]
add export_sec_context variant that does not reenter local attribute path

13 years agouse gss_eap_util namespace for utility functions until we
Luke Howard [Mon, 28 Mar 2011 14:32:38 +0000 (01:32 +1100)]
use gss_eap_util namespace for utility functions until we
put everything in its own namespace

13 years agocomment out dumping code json-name
Luke Howard [Mon, 28 Mar 2011 06:18:22 +0000 (17:18 +1100)]
comment out dumping code

13 years agoDDF bridging not entirely toll free
Luke Howard [Mon, 28 Mar 2011 06:15:15 +0000 (17:15 +1100)]
DDF bridging not entirely toll free

13 years agocleanup
Luke Howard [Mon, 28 Mar 2011 06:14:15 +0000 (17:14 +1100)]
cleanup

13 years agocleanup
Luke Howard [Mon, 28 Mar 2011 06:12:51 +0000 (17:12 +1100)]
cleanup

13 years agoadd JSON utility class
Luke Howard [Mon, 28 Mar 2011 06:07:43 +0000 (17:07 +1100)]
add JSON utility class

13 years agoremove ROKEN_LIB_FUNCTION
Luke Howard [Sun, 27 Mar 2011 23:51:43 +0000 (10:51 +1100)]
remove ROKEN_LIB_FUNCTION

13 years agoadd jansson to source_packages
Luke Howard [Sun, 27 Mar 2011 23:48:57 +0000 (10:48 +1100)]
add jansson to source_packages

13 years agoupdate shibboleth
Luke Howard [Sun, 27 Mar 2011 23:13:02 +0000 (10:13 +1100)]
update shibboleth

13 years agoset jansson to 2.0
Luke Howard [Sun, 27 Mar 2011 23:12:29 +0000 (10:12 +1100)]
set jansson to 2.0

13 years agoadd jansson submodule
Luke Howard [Sun, 27 Mar 2011 23:11:15 +0000 (10:11 +1100)]
add jansson submodule

13 years agouse JSON instead of DDF marshalling
Luke Howard [Sun, 27 Mar 2011 15:21:27 +0000 (02:21 +1100)]
use JSON instead of DDF marshalling
use our own base64 routines

13 years agoin progress use DDF to serialise names
Luke Howard [Sat, 26 Mar 2011 15:16:40 +0000 (02:16 +1100)]
in progress use DDF to serialise names

get DDF marshalling working

remove debugging statement

13 years agomake attribute prefix a class method
Luke Howard [Sun, 27 Mar 2011 22:47:48 +0000 (09:47 +1100)]
make attribute prefix a class method

13 years agocheck provider enabled before non-marshalled initializing
Luke Howard [Sun, 27 Mar 2011 01:52:43 +0000 (12:52 +1100)]
check provider enabled before non-marshalled initializing

13 years agofix missing return statement in importing attributes
Luke Howard [Sat, 26 Mar 2011 15:17:39 +0000 (02:17 +1100)]
fix missing return statement in importing attributes

13 years agocleanup, fix uninitialized variable warning
Luke Howard [Sat, 26 Mar 2011 03:53:57 +0000 (14:53 +1100)]
cleanup, fix uninitialized variable warning

13 years agocomments on attribute context import
Luke Howard [Sat, 26 Mar 2011 03:27:51 +0000 (14:27 +1100)]
comments on attribute context import

13 years agoInclude locally resolved attributes in composite name token
Luke Howard [Sat, 26 Mar 2011 03:19:07 +0000 (14:19 +1100)]
Include locally resolved attributes in composite name token

13 years agodon't use C++ comments
Luke Howard [Sat, 26 Mar 2011 00:01:07 +0000 (11:01 +1100)]
don't use C++ comments

13 years agoStop setting appID to the acceptor name, adjust handling of resolver object.
Scott Cantor [Fri, 25 Mar 2011 13:50:38 +0000 (14:50 +0100)]
Stop setting appID to the acceptor name, adjust handling of resolver object.

13 years agoUse serialized values out of resolver instead of raw string values.
Scott Cantor [Fri, 25 Mar 2011 14:06:14 +0000 (15:06 +0100)]
Use serialized values out of resolver instead of raw string values.

13 years agoUpdate resolver
Sam Hartman [Fri, 25 Mar 2011 13:49:17 +0000 (09:49 -0400)]
Update resolver

13 years agoFix typo
Sam Hartman [Fri, 25 Mar 2011 12:51:54 +0000 (08:51 -0400)]
Fix typo

13 years agos:-R:-rpath: for mac builds
Sam Hartman [Fri, 25 Mar 2011 12:44:03 +0000 (08:44 -0400)]
s:-R:-rpath: for mac builds

13 years agoMerge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot
Luke Howard [Fri, 25 Mar 2011 12:32:15 +0000 (23:32 +1100)]
Merge branch 'master' of ssh://moonshot.suchdamage.org:822/srv/git/moonshot

13 years agoTreat missing attribute name format as UNSPECIFIED
Luke Howard [Fri, 25 Mar 2011 12:31:20 +0000 (23:31 +1100)]
Treat missing attribute name format as UNSPECIFIED

Patch from Scott Cantor

13 years agoUpdate to a new set of shibboleth dependencies
Sam Hartman [Fri, 25 Mar 2011 11:14:58 +0000 (07:14 -0400)]
Update to a new set of shibboleth dependencies

13 years agoupdate for draft-josefsson-gss-capsulate-01
Luke Howard [Tue, 22 Mar 2011 01:45:02 +0000 (12:45 +1100)]
update for draft-josefsson-gss-capsulate-01

13 years agoRemove freeradius because it doesn't build and is not what you want.
Sam Hartman [Mon, 21 Mar 2011 13:51:46 +0000 (09:51 -0400)]
Remove freeradius because it doesn't build and is not what you want.

13 years agoupdate libradsec to a177887c
Luke Howard [Mon, 21 Mar 2011 13:38:43 +0000 (00:38 +1100)]
update libradsec to a177887c

13 years agoupdate for latest libradsec
Luke Howard [Mon, 21 Mar 2011 13:17:53 +0000 (00:17 +1100)]
update for latest libradsec

13 years agotrigger build by updating git
Luke Howard [Mon, 21 Mar 2011 09:15:47 +0000 (20:15 +1100)]
trigger build by updating git

13 years agoadd openssh
Luke Howard [Mon, 21 Mar 2011 09:11:41 +0000 (20:11 +1100)]
add openssh

13 years agoRevert "disable openssh submodule for now"
Luke Howard [Mon, 21 Mar 2011 08:52:37 +0000 (19:52 +1100)]
Revert "disable openssh submodule for now"

This reverts commit 5de8b91214e85ea0dcedc2441171206f36603462.

13 years agodisable openssh submodule for now
Luke Howard [Mon, 21 Mar 2011 08:48:55 +0000 (19:48 +1100)]
disable openssh submodule for now

13 years agouse OpenSSH with GSS generality fixes
Luke Howard [Mon, 21 Mar 2011 08:19:54 +0000 (19:19 +1100)]
use OpenSSH with GSS generality fixes

13 years agouse absolute path for openssh submodule
Luke Howard [Mon, 21 Mar 2011 08:04:06 +0000 (04:04 -0400)]
use absolute path for openssh submodule

13 years agoadd openssh
Luke Howard [Mon, 21 Mar 2011 07:59:49 +0000 (03:59 -0400)]
add openssh

13 years agoadd openssh submodule
Luke Howard [Mon, 21 Mar 2011 07:58:08 +0000 (03:58 -0400)]
add openssh submodule

13 years agoHeimdal cannot deal with NULL realm, so make zero-length string
Luke Howard [Mon, 21 Mar 2011 07:15:51 +0000 (18:15 +1100)]
Heimdal cannot deal with NULL realm, so make zero-length string