1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/python
Andreas Schneider 6c619c77c9 python: Fix length of Common Name x509 attribute
File "bin/python/samba/tests/krb5/pkinit_tests.py", line 1496, in
create_certificate
  x509.NameAttribute(NameOID.COMMON_NAME,
  ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
                     f'{cert_name}/emailAddress={cert_name}'),
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/site-packages/cryptography/x509/name.py",
line 152, in __init__
  raise ValueError(msg)
ValueError: Attribute's length must be >= 1 and <= 64, but it was 84

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-11-27 15:33:35 +00:00
..
examples python: Remove redundant assignments 2022-05-10 05:19:34 +00:00
samba python: Fix length of Common Name x509 attribute 2024-11-27 15:33:35 +00:00
modules.c Use python.h from libreplace 2023-11-20 15:37:33 +00:00
modules.h python: Remove const from PyList_AsStringList() 2023-07-21 05:23:32 +00:00
py3compat.h Use python.h from libreplace 2023-11-20 15:37:33 +00:00
pyglue.c Add pyglue for Rust for disabling tests 2024-10-23 14:21:34 +00:00
wscript pyglue: Export some GKDI constants 2023-12-21 20:21:34 +00:00