Live data from Hacker News

Show HN: Print a WiFi Login Card

wificard.io

311–320 of 347 posts

Re: Show HN: Print a WiFi Login Card

#312
post #89

Earlier quoted context omitted.

No, how can you not know the difference between RAM and disk in a server context? What sort of programmers are these?

I know the different between RAM and disk in a server context (what sort of programmer wouldn't?!), but I've worked pretty exclusively in no-persisted-storage environments (mostly Heroku) for ~5 years now, where referring to "saving" files/data outside of a DB context almost exclusively means "save to memory" and I routinely run into problems whenever my stack requires downloading any sort of third-party library that…

Thanks for the great explanation! I haven't messed with Heroku myself. Might be a sign I'm getting old...

Re: Show HN: Print a WiFi Login Card

#313

Earlier quoted context omitted.

You could also just see that no network requests are sent when you type.

And once you see them, you do what? Rollback reality?

I'm confused. Are you suggesting you should test with "real" data first?

Re: Show HN: Print a WiFi Login Card

#315

Earlier quoted context omitted.

For users of NetworkManager: nmcli device wifi show-password

Wow thanks. I just learned something new. This is now my favourite way to grab the WiFi password.

+1

Why has it never occurred to me that I might be able to use a QR code? I always do `sudo cat /etc/NetworkManager/system-connections/TheSSID.nmconnection | grep psk`, type in my root password and then re-type the passphrase manually on my phone. The amount of time this is going to save me…

Re: Show HN: Print a WiFi Login Card

#316
post #299

Earlier quoted context omitted.

So don’t allow GET with query params. You want the static moniker? It has to be static. No server interaction after load, and no sending any data during load.

You can still hide the data in "folders". /foo/bar/baz/buz can be totally dynamic on the server.

Or in the subdomain, using "DNS exfiltration": https://twitter.com/rsobers/status/1293539543115862016

Re: Show HN: Print a WiFi Login Card

#317

Earlier quoted context omitted.

Wow thanks. I just learned something new. This is now my favourite way to grab the WiFi password.

+1 Why has it never occurred to me that I might be able to use a QR code? I always do `sudo cat /etc/NetworkManager/system-connections/TheSSID.nmconnection | grep psk`, type in my root password and then re-type the passphrase manually on my phone. The amount of time this is going to save me…

I was always aware my phone has an option to scan a QR to connect to WiFi, but I never thought to look up the QR spec for it. I had no idea nmcli had this functionality either, though I have used qrencode a lot for TOTP and WireGuard.

Re: Show HN: Print a WiFi Login Card

#318

Earlier quoted context omitted.

There is an inherent skepticism about typing your password into a web form even/especially if it says it is not sent to the server. My read of this comment was on the one hand telling security conscious people how to achieve the same goal in a way that does not leave the computer, and on the other hand putting a lower bound on the complexity of the value provided by the site.

https://github.com/fukuchi/libqrencode This doesn't look "simpler" after a quick look, and it's a hard dependency of the GP solution. (I completely agree on the local-only guarantee that this one provides, though)

I think the point of simplicity here is that you apt/yum/yay/whatever install qrencode and then go to town.

You're on your own machine, you know the exact spec used to generate the QR, and while you're at it, you can use the same tool to generate TOTP QR codes and WireGuard configurations and a bunch of other things like links to websites or automations for Tasker (et al).

The world is your oyster when you know what and how the "magic" works, and while you're at it, you aren't risking pasting your WiFi passwords into some random website.

Re: Show HN: Print a WiFi Login Card

#319
post #251

Earlier quoted context omitted.

If OPs experience is anything like mine, they just suck at doing their job. There's often some silly reason its stuck, or it prints wrong, or the colors are off, etc, its really just a super painful experience and I can't believe its still so bad.

Is this some meme I didn't hear about?

I am very surprised you have not heard this before, especially if you've used a printer in your lifetime. Yes, it's a "meme" (not sure whether to apply that word if it's not a badly drawn or photo-edited image, perhaps recurring theme is a better word?). You're one of today's lucky ten thousand!

Re: Show HN: Print a WiFi Login Card

#320
post #187

I can also recommend drawing it instead of printing if you hate printers with the same passion as me. Record to beat for drawing a working QR code is 3 tries and I think about three hours (for an SSID of 13 bytes (5 unicode characters) and 19-character password). I did it mostly out of curiosity how hard it would actually be (spoiler: medium difficulty).

Thank you so much for the inspiration! I had a very relaxing time drawing my own as well, just now. It is interesting how many ideas come to oneself when drawing and filling the grid. By the end I had all sorts of weird MC Escher style insanity.

Wow, I'm blown away by the response here, more in upvotes than in comment volume but that doesn't make me any less happy to see it. Your comment and u/dmitryminkovsky's are very kind, thank you. I'm glad you enjoyed the experience :)
Post reply on HN