Skip to content

hostap: Add option to dump keys #93136

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions modules/hostap/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,18 @@ config WIFI_NM_WPA_SUPPLICANT_DEBUG_LEVEL
runtime filtering can also be configured in addition to the compile-time
filtering.

config WIFI_NM_WPA_SUPPLICANT_DEBUG_SHOW_KEYS
bool "Include key material in debug output"
default n
help
This option enables inclusion of key material (passwords, encryption keys,
etc.) in debug output. This is equivalent to the -K command line flag
in wpa_supplicant.

WARNING: This is a security risk and should only be enabled during
development or debugging. Key material should never be logged in production
systems as it can compromise network security.

if WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_DBG
# hostap debug is very verbose and despite large log buffer sizes
# log messages can be lost. So, we set the log mode to immediate
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ manifest:
- hal
- name: hostap
path: modules/lib/hostap
revision: e942f86e865d5b24bbbe8b0c333f030cbbe62bfb
revision: pull/94/head
- name: liblc3
revision: 48bbd3eacd36e99a57317a0a4867002e0b09e183
path: modules/lib/liblc3
Expand Down
Loading