[Freeipa-devel] [PATCH] 352 Fixed KRA backend.

Petr Viktorin pviktori at redhat.com
Tue Nov 4 15:33:40 UTC 2014


On 10/30/2014 10:49 AM, Petr Viktorin wrote:
> On 10/29/2014 08:10 PM, Endi Sukma Dewata wrote:
>> New patch attached.
>>
>> On 10/29/2014 7:58 AM, Petr Viktorin wrote:
>>>> Dependency is bumped to 10.2.1-0.1 which is available from my
>>>> COPR repo:
>>>>
>>>>    dnf copr enable edewata/pki
>>>
>>> OK. We should get that to an IPA COPR before merging this.
>>
>> How do we do that? Here is the SRPM:
>> https://edewata.fedorapeople.org/pki/copr/pki-core-10.2.1-0.1.fc20.src.rpm
>>
>
> Martin and I will handle this today.
>
>>> How can I do some basic smoke check on this? Is there something I still
>>> need to to besides ipa-kra-istall? Any other patches?
> [...]
>>
>> The simplest test is probably this:
>>
>> from ipalib import api
>>
>> api.bootstrap(context='server')
>> api.finalize()
>>
>> kra_client = api.Backend.kra.get_client()
>> transport_cert = kra_client.system_certs.get_transport_cert()
>>
>> print "Serial number: %s" % transport_cert.serial_number
>> print "Issuer DN: %s" % transport_cert.issuer_dn
>> print "Subject DN: %s" % transport_cert.subject_dn
>>
>> print transport_cert.encoded
>
> Thanks! Works here; the rest is for other patches.
>
> ACK, to be pushed when the COPR is ready.
>
>

Pushed to master: 0b08043c37210d0f86cb0c66d659acafda0fb529

-- 
Petr³




More information about the Freeipa-devel mailing list