TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Why aren't we using paired keys instead of passwords for authentication?

5 pointsby samuellevyalmost 12 years ago
I don&#x27;t know why we don&#x27;t have paired key support built into browsers, and extensions built for major web languages.<p>For users, it may seem similar to OpenID (sign in with google&#x2F;facebook&#x2F;twitter, etc.) but the public key could be provided automatically by the browser.<p>Of course, there may be portability issues, but with the availability and prevalence of smart phones, tablets, etc. and with the increasingly common &quot;browser sync&quot;, I&#x27;m sure that could be easily dealt with.<p>So if anyone is working on this, where are they, and if not, why not?

3 comments

tptacekalmost 12 years ago
You can. You install a client certificate and configure your web application to demand that certificate during the TLS handshake. It works fine.<p>The reason it doesn&#x27;t get used in practice is similar to the reason why HTTP Authentication doesn&#x27;t get used in practice: login is something many apps want to keep control over, and delegating that feature to browser chrome (either in the form of the HTTP Authentication popup, or the [even worse] certificate selection UI) makes it difficult to control login, provide password reset, display user help, &amp;c.<p>Over the medium term, expect to see 2FA products filling this gap. The phone-based 2FA products all allow web app developers to control their own login UX while mitigating the password vulnerability.<p>The incipient success of 2FA solutions is also a reason I wouldn&#x27;t bet on browser-based public key authentication or federation happening; the latter solutions are competing with a more pragmatic, simpler alternative.
wmfalmost 12 years ago
Mozilla Persona is basically this, plus usability and fallbacks for older browsers.
minimaxiralmost 12 years ago
Because paired keys aren&#x27;t user friendly to a non-developer. Which is most people in the world.
评论 #5982051 未加载