Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding tls key logger for EvseV2G (openssl part) #910

Merged
merged 6 commits into from
Oct 24, 2024

Conversation

SebaLukas
Copy link
Contributor

Describe your changes

Right now only the EvseV2G mbedtls side had the functionality to store the tls session key. Now if you build EvseV2G with openssl, you can store the tls session key, too. For debugging pcap files with a tls connection this key is absolutely necessary.

Issue ticket number and link

#857

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

lib/staging/tls/tls.cpp Outdated Show resolved Hide resolved
lib/staging/tls/tls.cpp Show resolved Hide resolved
lib/staging/tls/tls.cpp Outdated Show resolved Hide resolved
lib/staging/tls/tls.cpp Outdated Show resolved Hide resolved
lib/staging/tls/tls.cpp Outdated Show resolved Hide resolved
lib/staging/tls/tls.cpp Outdated Show resolved Hide resolved
lib/staging/tls/tls.cpp Outdated Show resolved Hide resolved
@SebaLukas SebaLukas requested a review from james-ctc October 21, 2024 08:56
Copy link
Contributor

@james-ctc james-ctc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like TlsKeyLoggingServer::buffer isn't used.
It is a good improvement.
Many thanks.

lib/staging/tls/tls.hpp Outdated Show resolved Hide resolved
@SebaLukas SebaLukas force-pushed the feat/adding-openssl-tls-key-logger branch 2 times, most recently from 6b2aa03 to 2b04105 Compare October 22, 2024 09:42
SebaLukas and others added 6 commits October 24, 2024 09:56
Signed-off-by: Sebastian Lukas <sebastian.lukas@pionix.de>
Signed-off-by: Sebastian Lukas <sebastian.lukas@pionix.de>
Signed-off-by: Sebastian Lukas <sebastian.lukas@pionix.de>
…or the keylog file path and tls key server

Signed-off-by: Sebastian Lukas <sebastian.lukas@pionix.de>
common error handling on error (removed early return)

Signed-off-by: James Chapman <james.chapman@pionix.de>
Signed-off-by: Sebastian Lukas <sebastian.lukas@pionix.de>
@SebaLukas SebaLukas force-pushed the feat/adding-openssl-tls-key-logger branch from 2b04105 to edada6b Compare October 24, 2024 07:56
@SebaLukas SebaLukas merged commit 25472a1 into main Oct 24, 2024
9 checks passed
@SebaLukas SebaLukas deleted the feat/adding-openssl-tls-key-logger branch October 24, 2024 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants