Skip to content

Commit

Permalink
Remove serial from log
Browse files Browse the repository at this point in the history
  • Loading branch information
jtschladen committed Sep 18, 2024
1 parent f634cd5 commit 464b3d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions lemur/certificates/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ def print_certificate_details(details):
"\t[+] Subject Alternate Names: {sans}\n"
"\t[+] Authority: {authority_name}\n"
"\t[+] Validity Start: {validity_start}\n"
"\t[+] Validity End: {validity_end}\n"
"\t[+] Serial Number:{serial_number}".format(
"\t[+] Validity End: {validity_end}\n".format(
common_name=details["commonName"],
sans=",".join(
x["value"] for x in details["extensions"]["subAltNames"]["names"]
Expand All @@ -77,7 +76,6 @@ def print_certificate_details(details):
authority_name=details["authority"]["name"],
validity_start=details["validityStart"],
validity_end=details["validityEnd"],
serial_number=details["serial"]
)
)

Expand Down
1 change: 0 additions & 1 deletion lemur/certificates/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,6 @@ def get_certificate_primitives(certificate):
data["validity_start"] = start
data["validity_end"] = end

data["serial"] = certificate.serial
return data


Expand Down

0 comments on commit 464b3d6

Please sign in to comment.