Endi Sukma Dewata wrote:
----- "Rob Crittenden"<rcrit...@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

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to