gssweb.git
9 years agoGSS Wrap implementation.
Mark Donnelly [Mon, 12 May 2014 19:50:04 +0000 (15:50 -0400)]
GSS Wrap implementation.

Successfully:
* Calls gss_wrap
* Passes arguments back and forth
* Marshals to JSON
* Unmarshals from JSON

Has yet to:
* Load the security context from a yet-to-be-written in-memory cache

10 years agoRefactor some of the JSON generation into some of the data objects.
Mark Donnelly [Fri, 9 May 2014 16:43:40 +0000 (12:43 -0400)]
Refactor some of the JSON generation into some of the data objects.

10 years agoGSSAcquireCred tests now pass.
Mark Donnelly [Thu, 8 May 2014 19:35:47 +0000 (15:35 -0400)]
GSSAcquireCred tests now pass.

10 years agoGSS Acquire Cred calling out correctly; slight reorginzation
Mark Donnelly [Wed, 7 May 2014 19:05:48 +0000 (15:05 -0400)]
GSS Acquire Cred calling out correctly; slight reorginzation

* Added GSSAcquireCred command object
* Added GSSCredential data object
* Added GSSOIDSet data object object.
* Added tests for these
* Moved the test mock objects into their own subdirectory

10 years agoGSS import name working
Mark Donnelly [Wed, 30 Apr 2014 20:40:25 +0000 (16:40 -0400)]
GSS import name working

10 years agoBasic name importing working
Mark Donnelly [Tue, 29 Apr 2014 15:23:40 +0000 (11:23 -0400)]
Basic name importing working

10 years agocheckin for GSS import name
Mark Donnelly [Mon, 28 Apr 2014 18:15:07 +0000 (14:15 -0400)]
checkin for GSS import name

10 years agoJSON Marshalling, updates from code review
Mark Donnelly [Tue, 22 Apr 2014 19:30:11 +0000 (15:30 -0400)]
JSON Marshalling, updates from code review

* Implement JSON Marshalling in GSSCreateSecContext.
* Implement GSSException class
* Remove malloc()'d memory management in GSSCreateSecContext
* Change the expected JSON data structure as input to
  GSSCreateSecContext.

10 years agoParse gss_init_sec_context parameters out of a JSON string
Mark Donnelly [Fri, 18 Apr 2014 12:49:33 +0000 (08:49 -0400)]
Parse gss_init_sec_context parameters out of a JSON string

10 years agoStart the JSON command-line API
Mark Donnelly [Wed, 9 Apr 2014 13:43:51 +0000 (09:43 -0400)]
Start the JSON command-line API

10 years agoAdd design document for the Javascript API to be provided for web apps.
Mark Donnelly [Fri, 14 Mar 2014 20:28:43 +0000 (16:28 -0400)]
Add design document for the Javascript API to be provided for web apps.

10 years agoThis test is no longer relevant.
Mark Donnelly [Mon, 23 Dec 2013 21:11:58 +0000 (16:11 -0500)]
This test is no longer relevant.

10 years agoRemove an abandoned approach
Mark Donnelly [Mon, 23 Dec 2013 20:55:23 +0000 (15:55 -0500)]
Remove an abandoned approach

10 years agoDisplay minor status in hex as well; correct the call to gss_display_status for the...
Mark Donnelly [Mon, 23 Dec 2013 20:49:05 +0000 (15:49 -0500)]
Display minor status in hex as well; correct the call to gss_display_status for the minor status error formatting

10 years agoPeriodic commit.
Mark Donnelly [Mon, 23 Dec 2013 15:00:14 +0000 (10:00 -0500)]
Periodic commit.

* Found where the JS wasn't handling pointers well in str_to_oid, fixed.
* Now back to using the SPNEGO mechanism as default in the convenience
  function, rather than GSS_C_NO_OID.
* Added some more logging output around the results of
  gss_init_sec_context.

10 years agoSet mech_type explicity; messages around import_name
Mark Donnelly [Sun, 22 Dec 2013 19:13:31 +0000 (14:13 -0500)]
Set mech_type explicity; messages around import_name

10 years agoMove to a firefox XPI plugin using JS-Ctypes instead of NPAPI.
Mark Donnelly [Sun, 22 Dec 2013 18:12:33 +0000 (13:12 -0500)]
Move to a firefox XPI plugin using JS-Ctypes instead of NPAPI.

JS-Ctypes is intended to make simple calls out to dynamic libraries much simpler to develop than either NPAPI or XPCOMM.  Using this, generate calls to the code contained in ../gssapi_utils and the GSS-API calls themselves to call out to the requisite functionality.

This first commit contains working code that calls out to both libgssapi_krb5 and libgssapi_utils, leading up to a call to create the context token from a call to gss_init_sec_context.  Well, it is "working" in the sense that the calls all succeed in crossing the boundary between JavaScript and dynamic shared object libraries; it fails to invoke the function well enough for the function to succeed.

10 years agomore code to check in before moving in a different direction; ignoring more editor...
Mark Donnelly [Sun, 22 Dec 2013 18:05:45 +0000 (13:05 -0500)]
more code to check in before moving in a different direction; ignoring more editor files.

10 years agoCheck in some work on the NPAPI; probably abandoned, but why lose the work if we...
Mark Donnelly [Sun, 22 Dec 2013 17:56:51 +0000 (12:56 -0500)]
Check in some work on the NPAPI; probably abandoned, but why lose the work if we don't have to?

10 years agoGSS-API helper library for simplified GSS calls
Mark Donnelly [Sun, 22 Dec 2013 17:52:57 +0000 (12:52 -0500)]
GSS-API helper library for simplified GSS calls

10 years agoGet the plugin registered with the browser
Mark Donnelly [Tue, 26 Nov 2013 21:09:08 +0000 (16:09 -0500)]
Get the plugin registered with the browser

10 years agoMove to toplevel to affect the entire source tree
Mark Donnelly [Tue, 19 Nov 2013 15:12:33 +0000 (10:12 -0500)]
Move to toplevel to affect the entire source tree

10 years agoIgnore cmake files, c object files
Mark Donnelly [Tue, 19 Nov 2013 15:09:35 +0000 (10:09 -0500)]
Ignore cmake files, c object files

10 years agoFirst additions
Mark Donnelly [Mon, 18 Nov 2013 21:26:06 +0000 (16:26 -0500)]
First additions