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

[Bug]: not support security WPA3 on Windows 10 #175

Open
1 of 2 tasks
4sean opened this issue Jan 9, 2022 · 1 comment
Open
1 of 2 tasks

[Bug]: not support security WPA3 on Windows 10 #175

4sean opened this issue Jan 9, 2022 · 1 comment

Comments

@4sean
Copy link

4sean commented Jan 9, 2022

Expected behavior

can connect to wifi witch the security is WPA3 on Windows 10

Current behavior

can't connect to wifi witch the security is WPA3 on Windows 10

Which are the affected features

  • node API
  • CLI

Which is your operating system?

Windows

Environment

No response

Version of node-wifi

2.0.16

Steps to Reproduce

wifi.connect({ ssid: 'ssid', password: 'password' }, (err) => {
console.log('Connected');
});

Solutions

if (selectedAp.security.includes('WPA3')) {
profile_content += <connectionType>ESS</connectionType> <connectionMode>auto</connectionMode> <autoSwitch>true</autoSwitch> <MSM> <security> <authEncryption> <authentication>WPA3SAE</authentication> <encryption>AES</encryption> <useOneX>false</useOneX> </authEncryption> <sharedKey> <keyType>passPhrase</keyType> <protected>false</protected> <keyMaterial>${key}</keyMaterial> </sharedKey> </security> </MSM>;
}

@friedrith
Copy link
Owner

Hi, I add this feature in my todo list but I am not sure to have the bandwith for that. Can you write a PR for this feature?

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

No branches or pull requests

2 participants