freeipa/ipalib
Rob Crittenden d2a9ccf407 Accept an incoming certificate as either DER or base64 in the service plugin.
The plugin required a base64-encoded certificate and always decoded it
before processing. This doesn't work with the UI because the json module
decodes binary values already.

Try to detect if the incoming value is base64-encoded and decode if
necessary. Finally, try to pull the cert apart to validate it. This will
tell us for sure that the data is a certificate, regardless of the format
it came in as.

ticket 348
2010-10-08 13:15:03 -04:00
..
plugins Accept an incoming certificate as either DER or base64 in the service plugin. 2010-10-08 13:15:03 -04:00
__init__.py Finish deferred translation mechanism 2010-03-16 11:41:22 -06:00
aci.py Fix two bugs: one in parsing the ACI and one in comparing two ACIs 2009-11-25 09:38:33 -07:00
backend.py Add support for client failover to the ipa command-line. 2010-08-16 10:35:27 -04:00
base.py Allow one-character Param names 2010-02-12 13:14:29 -07:00
cli.py Try to make topic help less confusing. Rename Related to Topic commands. 2010-09-23 12:04:13 -04:00
compat.py Add sha1, md5 to compat 2010-02-12 17:20:46 -05:00
config.py Fix unicode failures in Env tests and dn failures in XML-RPC tests 2010-02-26 12:31:11 -05:00
constants.py Add plugins for Sudo Commands, Command Groups and Rules 2010-09-27 22:38:06 -04:00
crud.py Fix non XML-RPC tests 2010-02-19 18:10:37 -05:00
encoder.py Prevent double encoding/decoding when processing compound types. 2009-08-03 23:00:17 -06:00
errors.py Accept an incoming certificate as either DER or base64 in the service plugin. 2010-10-08 13:15:03 -04:00
frontend.py Return non-zero when group membership change fails, no empty fail list. 2010-10-08 10:11:54 -04:00
ipauuid.py Fix deprecation error importing sha 2010-02-12 17:08:27 -05:00
output.py localize doc strings 2010-03-08 21:10:36 -07:00
parameters.py Big webUI patch. 2010-09-17 19:42:40 -04:00
pkcs10.py Drop our own PKCS#10 ASN.1 decoder and use the one from python-nss 2010-07-29 10:50:10 -04:00
plugable.py Add support for client failover to the ipa command-line. 2010-08-16 10:35:27 -04:00
request.py Finish deferred translation mechanism 2010-03-16 11:41:22 -06:00
rpc.py Changes to fix compatibility with Fedora 14 2010-08-31 16:59:27 -04:00
text.py Finish deferred translation mechanism 2010-03-16 11:41:22 -06:00
util.py Accept an incoming certificate as either DER or base64 in the service plugin. 2010-10-08 13:15:03 -04:00
x509.py Use newer API in ipalib/x509 and add missing import. 2010-07-15 11:17:58 -04:00