4 ms·
>How does it work? >[...] >LoginWithHN generates a unique one-time-use code that the user must then put into their profile within 5 minutes I like the implem
by gruez 5y ago
>How does it work?
>[...]
>LoginWithHN generates a unique one-time-use code that the user must then put into their profile within 5 minutes
I like the implementation, but shouldn't the code be something more explicit? Otherwise it might be easy to social engineer someone into putting in the code. Currently it's
>Put the token below in your HackerNews Profile ↗
>[random letters]
I think Keybase does something more explicit, with something like "my keybase verification code is xyz"
- hardwaresofton 5y agoYou're right -- I will make this more explicit to hopefully prevent some phishing attempts
- colinclerk 5y agoI agree this is a concern, though more with phishing than social engineering. An attacker site pretends to have their own "Login with HN" implementation, but asks users to put in a code generated from LoginWithHN.com itself. If the user adds the code, then the attacker can impersonate the victim on any service that supports LoginWithHN.com (because of the special second-time login handling) If the string was more explicit that it's for LoginWithHN.com, the victim is more likely to recognize that something phishy is going on.
- hardwaresofton 5y agoThanks for the suggestion, this is a great idea. The phishing angle is not one I had considered