mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
Return a datetime object from SSLCert notbefore and notafter properties.
This commit is contained in:
@@ -55,8 +55,8 @@ class FlowDetailsView(urwid.ListBox):
|
||||
text.append(urwid.Text([("head", "Server Certificate:")]))
|
||||
parts = [
|
||||
["Type", "%s, %s bits"%c.keyinfo],
|
||||
["Valid to", c.notafter],
|
||||
["Valid from", c.notbefore],
|
||||
["Valid to", str(c.notafter)],
|
||||
["Valid from", str(c.notbefore)],
|
||||
["Serial", str(c.serial)],
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user