diff options
| author | Fraser Tweedale <ftweedal@redhat.com> | 2016-11-10 23:22:52 +1000 |
|---|---|---|
| committer | Martin Babinsky <mbabinsk@redhat.com> | 2016-11-11 15:42:26 +0100 |
| commit | e1df2e0792a6a423563c4787215b284948f51582 (patch) | |
| tree | fa5d4e55f1352098cd6fea1d01c5277438ac6302 /Makefile.python.am | |
| parent | f183f70e0183e51d569ada972bd3ec73cad76a30 (diff) | |
| download | freeipa-e1df2e0792a6a423563c4787215b284948f51582.tar.gz freeipa-e1df2e0792a6a423563c4787215b284948f51582.tar.xz freeipa-e1df2e0792a6a423563c4787215b284948f51582.zip | |
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>
Diffstat (limited to 'Makefile.python.am')
0 files changed, 0 insertions, 0 deletions
