thanks for your reply here. i'm pursuing adding certificate fingerprint pinning to an electrumx library. i don't see how pubkey pinning differs from that much, but am not very familiar with TLS. isn't a certificate just wrapping for a pubkey?