mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
e08a6de6af
When ipa user-add-certmapdata is called with multiple --subject or multiple --issuer, the DNParam's _convert_scalar method is called with a tuple containing all the params and should raise an exception as the --subject and --issuer are single-value params. The DNParam _convert_scalar method internally calls the DN init method, and the DN init method is able to create a DN from a tuple of RDNs. As such, it won't raise exception if a tuple/list is provided. Check that _convert_scalar is only provided a single element. Fixes: https://pagure.io/freeipa/issue/8097 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com> |
||
---|---|---|
.. | ||
install | ||
__init__.py | ||
aci.py | ||
backend.py | ||
base.py | ||
capabilities.py | ||
cli.py | ||
config.py | ||
constants.py | ||
crud.py | ||
dns.py | ||
errors.py | ||
frontend.py | ||
krb_utils.py | ||
Makefile.am | ||
messages.py | ||
misc.py | ||
output.py | ||
parameters.py | ||
pkcs10.py | ||
plugable.py | ||
request.py | ||
rpc.py | ||
setup.cfg | ||
setup.py | ||
text.py | ||
util.py | ||
x509.py |