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

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


        # extract fingerprint
        ssl_obj =
session.transport._asyncio_transport.get_extra_info('ssl_object')
        der_cert = ssl_obj.getpeercert(True)
        pem_cert = ssl.DER_cert_to_PEM_cert(der_cert)
        cert_print = hashlib.sha256(der_cert).hexdigest()


More information about the cypherpunks mailing list