[Freeipa-devel] [PATCH] 1085 cert-find command

Jan Cholasta jcholast at redhat.com
Fri Feb 8 07:43:31 UTC 2013


Hi,

On 6.2.2013 00:44, Rob Crittenden wrote:
> This adds a cert-find command for the dogtag backend.
>
> Searches can be done by serial number, by subject, revocation reason,
> issue date, notbefore, notafter and revocation dates.
>
> I added some basic tests for this. I made it a separate test file
> because the cert plugin tests do not use the declarative format and rely
> on the selfsign backend by default.
>
> rob
>

I have one design question: why do you emulate object interface with 
Command plugins? Wouldn't it be better to add an actual Object plugin 
and Method plugins? That way you would not have to duplicate the Object 
bits for certs and as a result, the code would be cleaner and consistent 
with the rest of our plugins.

Honza

-- 
Jan Cholasta




More information about the Freeipa-devel mailing list