JanisEst / KeePassQRCodeView

KeePass 2.x plugin which shows QR Codes for entry fields.
MIT License
121 stars 16 forks source link

Add support for Wifi QR code #17

Open CWempe opened 1 year ago

CWempe commented 1 year ago

As you might know there is a format for QR codes to connect to a WiFi when your scan the code with a smartphone.

As I have some Wifi credentials in my KeePass (private and work as a network admin) it would be great if I could quickly create Wifi QR codes from a Wifi-entry in my KeePass database.

The QR code need this parameters: SSID, Encryption, Password ~The hidden parameter seems to be obsolet.~ (Just tested. Seems to be needed when the Wifi is actually hidden.)

see: https://pocketables.com/2022/01/how-to-format-that-wifi-qr-code-in-plain-text.html and: https://www.qr-code-generator.com/solutions/wifi-qr-code/

The password field in the KeePass-DB is obvious, I guess. I would suggest to use the name field from KeePass for the SSID parameter, unless there is an advanced field named ssid in the KeePass entry. And per default use WPA for encryption, unless there is an advanced field named encryption in the KeePass entry. If there is an advanced field named hidden in the KeePass entry, set the hidden parameter, too.

Would this be possible?

Thanks

CWempe commented 1 year ago

Here are some more information about WPA3. https://superuser.com/questions/1752083/wifi-qr-code-format-for-wpa2-wpa3

But I have not tested it, yet.