Files
freeipa/ipaserver/plugins
Fraser Tweedale e1df2e0792 cert-request: accept CSRs with extraneous data
The cert-request command used to accept CSRs that had extra data
surrounding the PEM data, e.g. commentary about the contents of the
CSR.  Recent commits that switch to using python-cryptography for
cert and CSR handling broke this.  Our acceptance tests use such
CSRs, hence the tests are now failing.

To avoid the issue, freshly encode the python-cryptography
CertificateSigningRequest object as PEM.  This avoids re-using the
user-supplied data, in case it has extraneous data.

Fixes: https://fedorahosted.org/freeipa/ticket/6472
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
2016-11-11 15:42:26 +01:00
..
2010-12-20 17:19:53 -05:00
2016-09-27 13:35:58 +02:00
2016-09-27 13:35:58 +02:00
2016-10-11 17:24:43 +02:00
2016-06-16 08:47:20 +02:00
2016-08-17 16:55:49 +02:00