On 10/26/2015 08:59 PM, Niranjan wrote:
> Greetings,
> 
> export_pem_cert function from ipapython/certdb  should export the certificate
> in pem format but instead exports the cert in der format as it doesn't enable 
> pem=True.
> 
> This patch specifies pem=True for export_pem_cert function
> 
> Regards
> Niranjan

Hi,

the patch looks good, however, I'm curious as to how did you find this
bug? Does it affect anything?

It seems to me that this part of the code is a dead branch which should
be removed.

$ git grep export_pem_cert
ipapython/certdb.py:    def export_pem_cert(self, nickname, location):
ipaserver/install/certs.py:    def export_pem_cert(self, nickname,
ipaserver/install/certs.py:        return self.nssdb.export_pem_ce..

Tomas

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to