[Freeipa-devel] [PATCH] 565 handle both DER and base64 encoded certs in service plugin

Rob Crittenden rcritten at redhat.com
Fri Oct 8 17:15:32 UTC 2010


Endi Sukma Dewata wrote:
> ----- "Rob Crittenden"<rcritten at redhat.com>  wrote:
>
>> 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
>>
>> rob
>
> ACK, but it needs a rebase against the latest.
>
> --
> Endi S. Dewata

re-based and pushed to master

rob




More information about the Freeipa-devel mailing list