File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ def main(args):
65
65
"Serial number" ,
66
66
"Subject" ,
67
67
"Certificate within validity period" ,
68
+ "certificate chain" ,
68
69
"Valid keychain" ,
69
70
"Note" ,
70
71
"Not found in Google's revoked keybox list" ,
@@ -135,6 +136,7 @@ def main(args):
135
136
status = revoked_keybox_list .get (serial_number )
136
137
137
138
flag = True
139
+ certificates = []
138
140
for i in range (pem_number - 1 ):
139
141
try :
140
142
son_certificate = x509 .load_pem_x509_certificate (
@@ -146,7 +148,6 @@ def main(args):
146
148
except ValueError :
147
149
rmjob .append (kb )
148
150
break
149
-
150
151
if son_certificate .issuer != father_certificate .subject :
151
152
flag = False
152
153
break
@@ -199,9 +200,11 @@ def main(args):
199
200
status = status or revoked_keybox_list .get (
200
201
hex (father_certificate .serial_number )[2 :]
201
202
)
203
+ certificates .append (father_certificate .serial_number )
202
204
except Exception : # pylint: disable=W0718
203
205
flag = False
204
206
break
207
+ values .append (" | " .join (map (str ,certificates )))
205
208
values .append ("✅" if flag else "❌" )
206
209
207
210
root_public_key = (
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " keyboxchecker"
3
- version = " 1.2.4 "
3
+ version = " 1.3.0 "
4
4
description = " "
5
5
authors = [
" Li Hua <[email protected] >" ]
6
6
readme = " README.md"
You can’t perform that action at this time.
0 commit comments