Files
freeipa/ipalib
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
..
2016-09-27 13:35:58 +02:00
2015-09-01 11:42:01 +02:00
2016-09-27 13:35:58 +02:00
2016-09-07 12:49:28 +02:00
2016-10-25 14:01:06 +02:00
2016-10-20 18:43:37 +02:00
2015-12-23 07:59:22 +01:00