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

new options for TLS protocol selection and generic phase1 options #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vladimir-mencl-eresearch
Copy link
Contributor

Add new option -L to allow selecting specific TLS protocols to enable.

Protocol names match existing use of OpenSSL config (so TLSv1.0 is "TLSv1").

The TLS protocol selection is translated into phase1 options included in the wpa_supplicant (eapol_test) configuration file (tls_disable_tlsv1_0, tls_disable_tlsv1_1, tls_disable_tlsv1_2, and tls_disable_tlsv1_3).

Example: enable only TLSv1.2 and TLSv1.3:

-L TLSv1.2,TLSv1.3

Add also option -1 to allow also passing other phase1 settings directly (as per https://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.conf)

Example: force PEAP version 0 and use cryptobinding if server supports it

-1 'peapver=0 crypto_binding=1'

Add new option -L to allow selecting specific TLS protocols to enable.

Protocol names match existing use of OpenSSL config (so TLSv1.0 is "TLSv1").

The TLS protocol selection is translated into phase1 options included
in the wpa_supplicant (eapol_test) configuration file (tls_disable_tlsv1_0,
tls_disable_tlsv1_1, tls_disable_tlsv1_2, and tls_disable_tlsv1_3).

Example: enable only TLSv1.2 and TLSv1.3:

    -L TLSv1.2,TLSv1.3

Add also option -1 to allow also passing other phase1 settings directly
(as per https://w1.fi/cgit/hostap/plain/wpa_supplicant/wpa_supplicant.conf)

Example: force PEAP version 0 and use cryptobinding if server supports it

    -1 'peapver=0 crypto_binding=1'
@vladimir-mencl-eresearch
Copy link
Contributor Author

Ah, I see the functionality here very much overlaps with #20 - either that PR or this one will provide the functionality.
(This PR also adds short-cuts via -L TLSv1.2,TLSv1.1,TLSv1.2 )

One more substantial difference is #20 also sets the default to exclude TLSv1.3 ....

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.

1 participant