[Freeipa-devel] [PATCHES] 149-151 Ask for PKCS#12 password interactively
Martin Kosek
mkosek at redhat.com
Wed Jul 24 08:12:43 UTC 2013
On 07/15/2013 10:57 AM, Jan Cholasta wrote:
> On 12.7.2013 10:19, Tomas Babej wrote:
>> Just a nitpick:
>>
>> + # If any of the PKCS#12 options are selected, all are required.
>>
>> + pkcs12_req = (options.dirsrv_pkcs12, options.http_pkcs12)
>>
>> + pkcs12_opt = (options.pkinit_pkcs12,)
>>
>> + if any(pkcs12_req + pkcs12_opt) and not all(pkcs12_req):
>>
>> parser.error("All PKCS#12 options are required if any are used.")
>>
>> This error message is somewhat misleading, since --pkinit-pkcs12 options
>> is not required.
>
> Fixed.
>
> Updated patches attached.
>
> Honza
>
The updated error message looks OK.
ACK, pushed all 3 patches to master, ipa-3-2.
Martin
More information about the Freeipa-devel
mailing list