Wireshark decryption #2076
Unanswered
GuillaumeCornette
asked this question in
Q&A
Replies: 1 comment 10 replies
-
Are you waiting for the handshake to complete before writing the secrets to file? The way things work is that you must set the secrets pointer before starting the connection, then during the handshake, QUIC writes the information to the struct, and then once the handshake is complete, the app can be sure all the data is available. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, for one of my university project I have to analyse the performance of MSquic but i can't get the SSL secret.
Here is what I did in the clientRun of the sample.c, right after the ConnectionOpen() :
CXPLAT_TLS_SECRETS TlsSecrets;
if (QUIC_FAILED(Status = MsQuic->SetParam(Connection, QUIC_PARAM_LEVEL_CONNECTION, QUIC_PARAM_CONN_TLS_SECRETS, sizeof(TlsSecrets), (uint8_t*)&TlsSecrets)))
{
printf("TLS SECRETS SetParam failed, 0x%x!\n", Status);
}
else{
const char* SslKeyLogFile = "sslkeylogfile.log";
WriteSslKeylogFile(SslKeyLogFile, TlsSecrets);
But when i launch /script/build.ps1 i get this error of WriteSslKeyLogFile from msquichelper :
implicit declaration of function ‘WriteSslKeylogFile’ [-Werror=implicit-function-declaration] WriteSslKeylogFile(SslKeyLogFile, TlsSecrets);
What should I do to correct it ?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions