How can I decrypt TLS packets using the output of the SSL key log file in Go?
I am making https requests and logging the keys in using the SSLKEYLOGFILE environment variable. If I capture the packets using Wireshark, I can decrypt the packets by specifying the path of the key log file. I have another Go program that is using the gopacket and pcap library to capture the packets and I would like to replicate Wireshark’s behavior in this program.