Skip to content

Commit

Permalink
Merge pull request #105 from franc-pentest/adcs_fix
Browse files Browse the repository at this point in the history
Adcs fix
  • Loading branch information
tiyeuse authored Sep 22, 2024
2 parents 96ffec9 + 7acafb4 commit 4b32873
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.65
1.0.66
5 changes: 4 additions & 1 deletion ldeep/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,10 @@ def list_templates(self, kwargs):
for eku in result.get("pKIExtendedKeyUsage"):
if eku in AUTHENTICATING_EKUS.keys():
client_auth = True
ekus.append(OID_TO_STR_MAP[eku])
try:
ekus.append(OID_TO_STR_MAP[eku])
except KeyError:
ekus.append(eku)
if result.get("pKIExtendedKeyUsage") == []:
client_auth = True
print(f"{'Client Authentication':<30}: {client_auth}")
Expand Down

0 comments on commit 4b32873

Please sign in to comment.