Endi Sukma Dewata wrote:
----- "Rob Crittenden"<rcrit...@redhat.com>  wrote:

Accept an incoming certificate as either DER or base64 in the service

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


ACK, but it needs a rebase against the latest.

Endi S. Dewata

re-based and pushed to master


Freeipa-devel mailing list

Reply via email to