You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enter the subject string: C=SE/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=Test
Expected result
For this window to produce the CSR at the specified location:
Actual results
Failed to generate the CSR with the following stack trace:
Failed to open device
Traceback (most recent call last):
File "qrc:///py/yubikey.py", line 78, in wrapped
return f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "qrc:///py/yubikey.py", line 632, in piv_generate_certificate
csr = generate_csr(session,
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/ykman/piv.py", line 749, in generate_csr
parse_rfc4514_string(subject_str)
File "/usr/lib/python3.11/site-packages/ykman/piv.py", line 141, in parse_rfc4514_string
parts.append(x509.NameAttribute(attr, v))
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/cryptography/x509/name.py", line 142, in __init__
raise ValueError(
ValueError: Country name must be a 2 character country code
The text was updated successfully, but these errors were encountered:
pacman
Steps to reproduce
Applications -> PIV -> Card Authentication -> Generate CSR
Enter the subject string:
C=SE/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=Test
Expected result
For this window to produce the CSR at the specified location:
Actual results
Failed to generate the CSR with the following stack trace:
The text was updated successfully, but these errors were encountered: