Tech drama. An OpenBSD [paranoid] user.

How to share your Wi-Fi without sharing your passphrase

In times like this, when the corona pandemic hits hard and lot. You might invite friends over for work or play. And when friends are over, there is always a need to share your Wi-Fi, I mean what else are you supposed to do?

But what do you do when you don't want to say your passphrase to all of your friends and neighbours. You can of course share your access point and passphrase with a QR-code. Isn't that fantastic? So how do you do that? Well, it's real easy.

First of all you need to install the application: qrencode
This is installed by issuing the following commands:
OpenBSD:
$ pkg_add libqrencode

Void Linux:
$ xbps-install -S qrencode

Arch Linux/Manjaro/etc:
$ pacman -S qrencode

Debian/Ubuntu/etc:
$ apt install qrencode

Then you have to use a specific format like this:
WIFI:S:{SSID};T:{WPA};P:{passphrase};;

On Linux or equivalent system: qrencode -o - -t utf8 'WIFI:S:HomeNetwork;T:WPA;P:ThisismylongpassphrasethatevenIcantremember;;'