[spam][crazy] Adding Cert Pinning to E-X

Undiscussed Horrific Abuse, One Victim of Many gmkarl at gmail.com
Sat Feb 19 21:03:07 PST 2022


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.BaseTransport.get_extra_info


More information about the cypherpunks mailing list