Skip to content

Commit

Permalink
readd parser lines which were removed by accident (#9271)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcalmer authored Sep 13, 2024
1 parent 2c0506b commit daeab65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spacewalk/certs-tools/mgr_ssl_cert_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,8 @@ def getCertData(cert):
elif line.startswith(" "):
if nextval == "subjectKeyIdentifier":
data["subjectKeyIdentifier"] = line.strip().upper()
elif nextval == "authorityKeyIdentifier" and line.startswith(" keyid:"):
data["authorityKeyIdentifier"] = line[10:].strip().upper()
elif nextval == "authorityKeyIdentifier" and re.match(
r"^\s+[0-9A-Fa-f]{2}:.+$", line
):
Expand Down

0 comments on commit daeab65

Please sign in to comment.