Merge branch 'increase-hotspot-password-length' into 'master'

Increase password length for app-sharing hotspot

See merge request briar/briar!1815
This commit is contained in:
Torsten Grote
2023-11-28 17:57:08 +00:00

View File

@@ -432,7 +432,8 @@ class HotspotManager {
@RequiresApi(29)
private String getPassword() {
return getRandomString(8);
return getRandomString(4) + "-" + getRandomString(4) + "-" +
getRandomString(4) + "-" + getRandomString(4);
}
private static String createWifiLoginString(String ssid, String password) {