diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-10-08 13:15:03 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-10-08 13:15:03 -0400 |
commit | d2a9ccf407709aa7a2a2378f758fb4db40181684 (patch) | |
tree | 3b28a390551cba7c077a9363212e9576d83934e6 /README | |
parent | dccb386d57090869acbebe92c8da173fef770869 (diff) | |
download | freeipa-d2a9ccf407709aa7a2a2378f758fb4db40181684.tar.gz freeipa-d2a9ccf407709aa7a2a2378f758fb4db40181684.tar.xz freeipa-d2a9ccf407709aa7a2a2378f758fb4db40181684.zip |
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
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions