Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use a debug macro in interposer test | Simo Sorce | 2012-10-25 | 1 | -20/+30 | |
| | ||||||
* | Add interposer tests for wrap/unwrap | Simo Sorce | 2012-10-25 | 1 | -0/+41 | |
| | ||||||
* | New test program to exercise the mechglue plugin | Simo Sorce | 2012-10-25 | 3 | -3/+543 | |
| | ||||||
* | Implement internal_release_oid | Simo Sorce | 2012-10-25 | 2 | -0/+27 | |
| | ||||||
* | Implement misc spi calls | Simo Sorce | 2012-10-25 | 3 | -0/+219 | |
| | ||||||
* | Implement privacy/integrity mechglue wrappers | Simo Sorce | 2012-10-25 | 3 | -0/+421 | |
| | ||||||
* | Implement indicate mechs related mechglue wrappers | Simo Sorce | 2012-10-25 | 4 | -1/+218 | |
| | ||||||
* | Implement name related mechglue wrappers | Simo Sorce | 2012-10-25 | 3 | -0/+457 | |
| | ||||||
* | Implement display status mechglue wrappers | Simo Sorce | 2012-10-25 | 3 | -0/+76 | |
| | ||||||
* | Implement init sec context mechglue wrapper | Simo Sorce | 2012-10-25 | 4 | -0/+229 | |
| | ||||||
* | Implement accept sec context mechglue wrappers | Simo Sorce | 2012-10-25 | 3 | -0/+168 | |
| | ||||||
* | Implement context related mechglue wrappers | Simo Sorce | 2012-10-25 | 3 | -0/+461 | |
| | | | | | Use the new spi call in order to be able to properly implement a context locally. | |||||
* | Implement cred related mechglue wrappers | Simo Sorce | 2012-10-25 | 4 | -0/+833 | |
| | ||||||
* | Add name handle wrapper | Simo Sorce | 2012-10-25 | 10 | -116/+147 | |
| | ||||||
* | Add context handle wrapper | Simo Sorce | 2012-10-25 | 6 | -19/+24 | |
| | ||||||
* | Add cred handle wrapper | Simo Sorce | 2012-10-25 | 7 | -26/+31 | |
| | ||||||
* | Add function to ease copying oids | Simo Sorce | 2012-10-25 | 2 | -0/+25 | |
| | ||||||
* | Add function to convert remote context to local | Simo Sorce | 2012-10-25 | 2 | -0/+18 | |
| | ||||||
* | Add simple functions to map errors | Simo Sorce | 2012-10-25 | 2 | -0/+26 | |
| | | | | | | | | | | The mechglue stores a map of errors/mech oids, this means that we should never return the same error we got from a mechanism after re-entering the mechglue as we then may get the mechglue confused and prevent us from asking an interposed mech for the error. Also we want to try to aqvoid collisions from errors returned from the proxy, as they could end up fetching errors from the wrong mechanism. For now just make a very simple mapping by always adding a special error base. | |||||
* | Add function to return a special mech | Simo Sorce | 2012-10-25 | 3 | -0/+204 | |
| | | | | | | | | When the interposer wants to call the mechglue and have it call a real mechanism it does so by providing a speecial mechanism oid. This is an oid composed of the procy plugin oid and the real mechanism oid that the mechglue transforms back into a real OID before selecting the appropriate mechanism. | |||||
* | Add mechanism to select behavior based on envvar | Simo Sorce | 2012-10-25 | 2 | -0/+38 | |
| | ||||||
* | Add loop avoidance in proxy daemon and gssapi plugin | Simo Sorce | 2012-10-25 | 2 | -0/+11 | |
| | ||||||
* | Add initialization code | Simo Sorce | 2012-10-25 | 3 | -2/+146 | |
| | | | | | | | For now return fixed list of mechanisms. Later on we can try to fetch this list from the proxy. Also split RPC client code from actual plugin | |||||
* | Build mechglue as a plugin | Simo Sorce | 2012-10-25 | 1 | -0/+13 | |
| | ||||||
* | cli_srv_comm: Add and use a DEBUG macro. | Günther Deschner | 2012-10-25 | 1 | -28/+35 | |
| | ||||||
* | Add testcode for gpm_wrap_size_limit(). | Günther Deschner | 2012-09-14 | 1 | -0/+13 | |
| | ||||||
* | Add testcode for gpm_unwrap(). | Günther Deschner | 2012-09-14 | 1 | -0/+29 | |
| | ||||||
* | Add testcode for add gpm_wrap(). | Günther Deschner | 2012-09-14 | 1 | -0/+27 | |
| | ||||||
* | Add test code for gpm_(get|verify)_mic. | Günther Deschner | 2012-09-14 | 1 | -0/+60 | |
| | ||||||
* | Implement gpm_wrap_size_limit(). | Günther Deschner | 2012-09-14 | 3 | -0/+92 | |
| | | | | Acked-by: Simo Sorce <simo@redhat.com> | |||||
* | Implement gpm_unwrap(). | Günther Deschner | 2012-09-14 | 3 | -0/+131 | |
| | | | | Acked-by: Simo Sorce <simo@redhat.com> | |||||
* | Implement gpm_wrap() | Günther Deschner | 2012-09-14 | 3 | -1/+131 | |
| | | | | Acked-by: Simo Sorce <simo@redhat.com> | |||||
* | Implement gpm_verify_mic(). | Günther Deschner | 2012-09-14 | 3 | -0/+99 | |
| | ||||||
* | Implement gpm_get_mic(). | Günther Deschner | 2012-09-14 | 3 | -1/+104 | |
| | ||||||
* | Implement gpm_compare_name | Simo Sorce | 2012-09-14 | 2 | -0/+53 | |
| | ||||||
* | Implement gpm_inquire_context | Simo Sorce | 2012-09-14 | 3 | -0/+122 | |
| | ||||||
* | Implement gpm_inquire_cred | Simo Sorce | 2012-09-14 | 2 | -0/+221 | |
| | ||||||
* | Move client lib files in their own directory | Simo Sorce | 2012-08-31 | 12 | -17/+12 | |
| | | | | | | | Make space for the actual mechglue plugin interface. The mechglue interface will use the client library to communicate with the gss-proxy but will reimplement all GSSAPI SPI as wrappers in order to properly handle fallbacks to local mechanism and other input/output transformations. | |||||
* | Add macro to suppress const warnings | Simo Sorce | 2012-08-31 | 1 | -0/+2 | |
| | ||||||
* | Save internal errors in init_sec_context | Simo Sorce | 2012-08-31 | 1 | -0/+2 | |
| | ||||||
* | Add function to report internal client errors | Simo Sorce | 2012-08-31 | 2 | -0/+19 | |
| | | | | | | | This is to allow gss_display_status to return a meaningful error if there is an internal client error as opposed to a returned proxy server error. If we do not do this a call to gpm_display_status() after a failure would return a NULL string and give no clue about the error. | |||||
* | Always return a minor_status | Simo Sorce | 2012-08-31 | 1 | -0/+2 | |
| | ||||||
* | Move release_name to the proper place | Simo Sorce | 2012-08-31 | 2 | -11/+10 | |
| | ||||||
* | Fix gpm_display_status | Simo Sorce | 2012-08-31 | 1 | -19/+13 | |
| | | | | | | | Fix some assumptions in gpm_display_status and make it clearly state no error is available, when we do not have one. This is so that the plugin code later on will know when to properly fall back to ask to the local provider. | |||||
* | Add gpm_inquire_name to client lib | Simo Sorce | 2012-08-31 | 2 | -0/+68 | |
| | ||||||
* | Implement gp_wrap_size_limit(). | Günther Deschner | 2012-08-31 | 3 | -5/+83 | |
| | | | | Acked-by: Simo Sorce <simo@redhat.com> | |||||
* | Implement gp_unwrap(). | Günther Deschner | 2012-08-31 | 3 | -4/+139 | |
| | | | | Acked-by: Simo Sorce <simo@redhat.com> | |||||
* | Implement gp_wrap(). | Günther Deschner | 2012-08-31 | 3 | -4/+136 | |
| | | | | Acked-by: Simo Sorce <simo@redhat.com> | |||||
* | Implement gp_verify_mic(). | Günther Deschner | 2012-08-23 | 4 | -6/+108 | |
| | | | | Acked-by: Simo Sorce <simo@redhat.com> | |||||
* | Implement gp_get_mic(). | Günther Deschner | 2012-08-23 | 3 | -4/+105 | |
| | | | | Acked-by: Simo Sorce <simo@redhat.com> |