Live data from Hacker News

Encoding your WiFi access point password into a QR code

feeding.cloud.geek.nz

31–40 of 234 posts

Re: Encoding your WiFi access point password into a QR code

#31

Earlier quoted context omitted.

You don’t give your WiFi password to everyone that visits?

I think the OP is making a joke about the fact that some guests who get the wifi password, may spend all their time looking at their phones instead of socializing. That happens nowadays when one throws a party or movie night.

I was indeed.

Re: Encoding your WiFi access point password into a QR code

#32
post #25
post #5

Is it only Android 10 that can do this with scanning a qr code, or also v9?

This has been a thing for longer than I can remember. Many many years, it should only depend on what your QR scanner are capable of (and that will vary since most use their default camera app for scanning QR codes and most manufacturers ship their own - but by now I hope even older phones have it). Android 10 made som more specific features for this, such as automatically generating the QR code for others and scannin…

But on other versions, it depends on the 3rd party app you use for QR code scanning. From the screenshots, it seems like certain versions of Android have this available directly from the Wi-Fi password screen, without the need for a 3rd party application.

Re: Encoding your WiFi access point password into a QR code

#33
post #25

Earlier quoted context omitted.

This has been a thing for longer than I can remember. Many many years, it should only depend on what your QR scanner are capable of (and that will vary since most use their default camera app for scanning QR codes and most manufacturers ship their own - but by now I hope even older phones have it). Android 10 made som more specific features for this, such as automatically generating the QR code for others and scannin…

But on other versions, it depends on the 3rd party app you use for QR code scanning. From the screenshots, it seems like certain versions of Android have this available directly from the Wi-Fi password screen, without the need for a 3rd party application.

That's what I thought I said...

The 3rd party application usually is just your bundled camera app.

Re: Encoding your WiFi access point password into a QR code

#34
For those concerned about entering your network info into an online qr tool, some time ago I attempted a minimal JS and transparent site for generating these codes (https://github.com/jamsinclair/wifiqr).

Or I suppose just use the cli tools, as mentioned, for extra safety...

Re: Encoding your WiFi access point password into a QR code

#35

This is super helpful for mobile devices. But it makes rather confusing on how to connect it on an e.g. laptop without having to scan the QR code with the mobile device first. If the password is 63-char length, typing it wouldn't be 'quick'.

exactly. although an iPhone can share the credentials with a macbook I think.

Re: Encoding your WiFi access point password into a QR code

#36

For those concerned about entering your network info into an online qr tool, some time ago I attempted a minimal JS and transparent site for generating these codes ( https://github.com/jamsinclair/wifiqr ). Or I suppose just use the cli tools, as mentioned, for extra safety...

Or is it extra safety to use the CLI?

Arguably it is easier to verify that a webapp is not sending the data to a 3rd party, than it is to verify that the CLI tool doesn't (easy network inspection from the developer tools).

Re: Encoding your WiFi access point password into a QR code

#37
post #22
post #5

Is it only Android 10 that can do this with scanning a qr code, or also v9?

Android 9: Camera search icon on Google assistant (long press "home" and cancel voice command) offers "join network" option for this kind of QR code

Nice! BTW, the camera search icon is called Google Lens.

Re: Encoding your WiFi access point password into a QR code

#38
post #18

Very neat! However, IMHO 63 characters is a bit much for the password. ”If you use lower-case, upper-case, and digits, and if you generate it truly randomly, then a 16-character password has 95 bits of entropy. That is more than sufficient.” Source: https://security.stackexchange.com/questions/15653/recommend...

A 63 character password with ten dictionary words is on average much easier to type than a 16 character random ASCII printable string, especially on phone keyboards.
Post reply on HN