You can set the tls.Config.KeyLogWritter to write out that information in the same format: https://golang.org/pkg/crypto/tls/#Config.KeyLogWriter
On Saturday, November 16, 2019 at 9:36:33 AM UTC-8, Jason E. Aten wrote: > > I have wss websocket client that I need to decrypt the packets from in > WireShark to establish time of delivery--to troubleshoot a slowdown. > > Similar to the Chrome facility for dumping the TLS pre-master secret using > the env variable SSLKEYLOGFILE, which > WireShark can then utilize, do the Go TLS libraries have a way of logging > the secret that was used? > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/99d6fe8e-834d-43b3-9e73-96518bb9e388%40googlegroups.com.