20 Feb
2022
20 Feb
'22
5:03 a.m.
The docs link to different things that can be queried from SSL sockets. One of them is a peer certificate. That sounds like a helpful thing to have a fingerprint of, but I don't know SSL well so it could be the wrong thing, who knows. Anyway I'll assume it's what I need, set a breakpoint after an SSL connection is made, and see how to get the fingerprint. The transport object gets the SSL information via the get_extra_info method: https://docs.python.org/3/library/asyncio-protocol.html#asyncio.BaseTranspor...