6 ms·
It would be even cooler if I could open an app on my phone, point it at a QR code on screen, and not have anything else bother me
by peteretep 7y ago
It would be even cooler if I could open an app on my phone, point it at a QR code on screen, and not have anything else bother me
- trillic 7y agoThis is (sorta) how SQRL works. https://www.grc.com/sqrl/sqrl.htm https://www.grc.com/sqrl/sqrl.htm
- fragmede 7y agoWhich, to be fair, is close to how it works inside Apple's walled garden. Logging into iCloud on a new computer will cause the iPhone attached to that account to pop-up a "confirm login" dialog, so the second factor for login is as unobtrusive as possible.
- tomp 7y agoNo you still need a password, which also makes it insecure on a public computer (where keyloggers might be installed). Instead, the better solution would be, you point your phone to a QR code on the computer screen, press “confirm”, the computer is magically logged in, until you then press “log out” on your phone and the computer is logged out.
- tatersolid 7y agoYou’ve just described SQRL
- iudqnolq 7y agoGoogle does that without needing a QR code if you have a recent Android and haven't enabled 2FA
- nicky0 7y agoHow does the communication from the computer to the phone work?
- iudqnolq 7y agoNo idea. Presumably a push notification. Within less than a second providing your email (on fast US data) you get a prompt on your phone that shows the browser model and approx location and asks you to approve or disapprove the login. They initially rolled it out as a 2FA option, then as an optional for 1FA.
- ec109685 7y agoIf an attacker has root on a public computer, a QR code is easily hackable as well: just man in the middle the scan process. So while you are logged in, the attacker can do anything they want.
- cm2187 7y agoThe signature of the QR code would need to be accepted by your mobile, not the public computer. I don’t think mitm the QR code process is possible if they sign it. But if the public computer is compromised, anything you log into from that computer is accessible by the attacker anyway, as long as the session is valid.
- tomp 7y agoThat’s true regardless of the login method. The benefit of the method I described is that you can 100% log out without any MITM, as you initiate the logout from a trusted device
- ec109685 7y agoYeah, agreed.
- wcip 7y agoWould you sue me if I tried to implement this? That is a amazing idea.
- dapperAF 7y agodo it. no one's going to sue for you implementing a random comment brainstorm.
- freehunter 7y agoThis has been done already, so no. There’s prior art. Look up Clef for one example. https://en.m.wikipedia.org/wiki/Clef_(app) https://en.m.wikipedia.org/wiki/Clef_(app)
- flurdy 7y agoI had high hopes for Clef, but unfortunately, it never got the traction it needed. That would require each site to implement server-side components to talk to Clef, and most sites have been ice age slow to implement basic TOTP never mind yet another method. Now, if the big existing OAuth sites, your Google, Facebook, Okta, etc implemented a QR code method like Clef then it might work.
- peteretep 7y agoI already need to do this to login to LINE on my computer, so no
- inetknght 7y agoOh hell that would be amazeballs if it's open source and worked on Windows, OSX, Linux, and could work with a 2FA device like Yubikey. I'd put $20 down for that in a heartbeat.
- asveikau 7y agoMake sure nobody takes a photo of you showing your qr code I guess.
- the8472 7y agoThe QR code would only contain a login challenge, the phone would complete the challenge. Of course that would mean the auth server must be publicly reachable or the phone must be in the same network.
- C14L 7y agoAs far as I understood, if somebody else scanned the same token, they would just login with their own account (if they have one). Whoever logged in first would invalidate the hexhexhex token and the second person would need to start another browser session.
- interactivecode 7y agoI know of a couple banking apps that use this. super handy!
- ben509 7y agoAll the QR code needs to encode is a URL pointing to their authentication endpoint. If it's reasonably standardized, any password manager could implement it. Login would be: * scan QR code, sees https:/ /megacorp.com/login?session=hexhexhex * Password manager asks that you want to log in with account X. * Negotiates with auth service * Website recieves your confirmed token via websocket * You're logged in. And, of course, if you don't have an account, the password manager can get you started creating one.
- notlukesky 7y agoSAASPASS does this as well. https://saaspass.com/ https://saaspass.com/
- osteele 7y agoThis seems to be the default for web apps here in China, such as Taobao or JD. Either the home page or the login page presents a QR code, and the mobile app has a scan icon.
- fluidcruft 7y agoYeah, I actually like the way Microsoft and Google do it when it just displays notification or number on my phone. Recently I logged in to a new Windows 10 computer and I didn't even have to type a password anywhere. Unfortunately I don't see the need to actually fill and type passwords going away any time soon. I'm mostly complaining about having to either: 1) Install the password manager on a computer to fill in passwords. You end up typing the password manager's password into the computer which could compromise the entire database as well as give the computer other information about your accounts and website usage. 2) Otherwise you have a password manager on your phone. You have to view the password and type it into a keyboard. Typing complex passwords is a pain in the butt. It would be nice if the password manager on my phone could just somehow type it for me. Then the only thing that goes into the computer is the exact password I'm trying to use.