[crazy][crazy] finding a few cert prints of electrum nodes for different currencies

Undiscussed Horrific Abuse, One Victim of Many gmkarl at gmail.com
Sat Feb 19 22:24:39 PST 2022


here's the code I drafted from the other thread:

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()

it looks like i'm hashing the der cert instead of the pem cert, so
i'll want to fix that, i think


More information about the cypherpunks mailing list