[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]