Lurker News

Comments (149) 35 threads

Earlier comments
colinclerk2 replies#
Wow, awesome! We've had a few startups ask for an HN integration at https://clerk.dev and we'll build this in ASAP.

It would be great if this could somehow verify whether an HN account has been part of YC cohort. A few requests we've received were with the hope of offering early access to YC founders-only before a public release.
Also, I love the OTP solution instead of asking for our HN passwords.

hardwaresofton1 reply#
Hey thanks -- I will definitely be sending you an email soon!
dasickis#
We have a solution here, email me: praful.mathur@gmail.com and we've worked out all the challenges with integrating with HN.
udbhavs2 replies#
Great idea. If you need to add a code to your bio, another idea is putting a public key in your HN bio and signing a nonce message using some browser extension like Metamask.
Anunayj#
Or just storing the key in browser with Web Crypto API (or localStorage cuz safari ffs). Ofc this means the key is only scoped to their domain.
dividuum2 replies#
Wouldn't it make more sense to store a blob containing the username, signed by loginwithhn in the profile. Something like HMAC(secret_kept_by_loginwithhn, username). Upon authorization, check if the blob is properly signed and matches the requested username. That way you'd only have to place it once and copying it between profiles isn't possible. I'm probably overlooking something.
jtsiskin#
This trusts loginwithhn. The metamask way can be used by any site and only need to trust hacker news.
rgovostes1 reply#
Suppose you have logged into HN this way and so the token is in your profile. What would prevent me from logging in as dividuum?
dividuum#
Nothing. You are correct of course and my suggestion is fatally flawed. Can’t edit my comment unfortunately. Guess that’s a reminder not to do half-assed protocol engineering while watching Netflix :-}
Visayer2 replies#
Victor, congratulations on the launch! I am one of the maintainers at https://github.com/ory/hydra and it makes me super happy to see that Ory Hydra is being used for such innovative projects :)

If you’re interested to join Ory, we’d be excited to have you! Drop Aeneas a line and he’ll take it from there: aeneas@ory.sh
Hopefully we’ll talk soon :)

hardwaresofton1 reply#
Hey I appreciate it! It's a tiny little hack but I'm glad people seem to like it! ORY Hydra was fantastic every step of the way, I originally started with a completely different tool/approach actually then switched to Hydra and rewrote things and it was way smoother. Thanks for the awesome tooling you make.
Visayer#
Appreciate the kind words! :)
bobberkarl#
Hey, i had to evaluate the ORY suite for multiple projects, and we always had to fallback to keycloak. Major reason was the completeness of the keycloak admin gui vis-à-vis of Ory.

Is there a gui in your plans, or a public repo? I want to contribute.

AnotherGoodName#
This site isn't really intended for high security. It doesn't matter that much since Hackernews login is only for this site and text posts here are not that valuable. If it was expanded in usage it could be disastrous.

The fact that the admins of this site do manual recovery for example is a terrible practice that no serious providers do. In fact the reason i'm 'AnotherGoodName' rather than my old AReallyGoodName is because i suffered account takeover on this site. The last three posts from AReallyGoodName promoting CoinRace are not me. The rest, including posts for my github projects (i still own my Github) are. https://news.ycombinator.com/item?id=16460663#16461236
I do not think for one second that Hackernews is ready to handle sign ins for things that need more security than this site itself.

Load more comments