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

Add support for unicode in SSIDs and PSKs #15

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Commits on Jul 30, 2024

  1. Add support for unicode in SSIDs and PSKs

    The corresponding c code for encoding and decoding them can be found in
    wpa_supplicant/src/utils/common.c
    
    printf_decode escapes a SSID for returning in scan results
    
    wpa_config_parse_string reads a string from the config or the socket. It
    might be nicer to use the printf encoded P"I \xf0\x9f\xa6\x80 rust"
    style but I could not find a decent encoder.
    aj-bagwell committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    6b7de2a View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2024

  1. add method for sending &str request to socket

    Add helper methods for reading a line from the socket, and for sending a
    request and waiting for the response.
    aj-bagwell committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    336ab75 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. add method for broadcasting a message

    It adds a debug log message if there is no listener for the boradcasts.
    aj-bagwell committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    fbf98c6 View commit details
    Browse the repository at this point in the history
  2. Send any errors processing repsonses back to the requester

    This is to allow the runner to keep going if there is an issue with any
    single response from the wpa_supplicant
    aj-bagwell committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    a823a98 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1ba958f View commit details
    Browse the repository at this point in the history
  4. Support Unicode SSID in status responses

    This replaces the INI config parser from the config crate with a
    simplified parser that only support k=v pairs, but does proper printf
    unsecaping for non printable/on ASCII characters.
    aj-bagwell committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    903010c View commit details
    Browse the repository at this point in the history