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.

What Is Secure Remote Password (SRP) Protocol and How to Use It?

39 pointsby gulbrandrover 5 years ago

9 comments

whoisthisforover 5 years ago
Everytime I dig into PAKEs, I find disappointment. If we all used a PAKE from the start of computers, maybe we'd be better off, but that's just because we would have been burned by them a dozen times. Right now the tech is very immature and asking a Dev to use these is essentially asking them to pick a cipher mode and padding for AES. There are no browser native SRP implementations and WebCrytpo doesn't support the primitives. The complexity these add isn't worth it for your vanilla website, IMO.
评论 #21676096 未加载
brenden2over 5 years ago
SRP is a great PAKE (password-authenticated key agreement), it can make certain types of attacks to steal a password (like MITM) nearly impossible.<p>There&#x27;s also a newer PAKE that improves slightly on SRP, called SPAKE2: <a href="https:&#x2F;&#x2F;datatracker.ietf.org&#x2F;doc&#x2F;draft-irtf-cfrg-spake2&#x2F;?include_text=1" rel="nofollow">https:&#x2F;&#x2F;datatracker.ietf.org&#x2F;doc&#x2F;draft-irtf-cfrg-spake2&#x2F;?inc...</a>
评论 #21676399 未加载
zarothover 5 years ago
I’ve been following CFRG’s PAKE contest (<a href="https:&#x2F;&#x2F;github.com&#x2F;cfrg&#x2F;pake-selection" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cfrg&#x2F;pake-selection</a>) with some interest.<p>The various algorithms are fascinating and almost, you might say, fairly approachable.
als0over 5 years ago
&gt; What we needed, in this case, is a strong Zero-knowledge proof (without transferring password) system that does mutual authentication on the client &amp; server.<p>I&#x27;ve not heard of SRP before, but it seems like it&#x27;s trying to solve an already solved problem, and in a seemingly more complicated manner. The W3C&#x27;s Web Authentication spec[1,2], on the other hand, looks very promising, and I&#x27;m hoping all browser vendors will get behind it once it&#x27;s finished.<p>[1] <a href="https:&#x2F;&#x2F;webauthn.io" rel="nofollow">https:&#x2F;&#x2F;webauthn.io</a><p>[2] <a href="https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;webauthn-1&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.w3.org&#x2F;TR&#x2F;webauthn-1&#x2F;</a>
评论 #21675953 未加载
评论 #21676080 未加载
jimktrains2over 5 years ago
I&#x27;ve always wished that tls-srp was better supported by tools or that srp was a method for http forms that would work in some standardized way.
ledauphinover 5 years ago
is anyone aware of a pre-existing Python implementation of this that isn&#x27;t `warrant` (which appears to be unmaintained as it has several significant issues in its underlying crypto stack)?<p>I&#x27;m tempted to spend some time writing one (AWS Cognito uses SRP), but also have other things I could do... :)
评论 #21679310 未加载
smy1esover 5 years ago
SRP would be extremely interesting for the web configuration interfaces for IoT devices. We want TLS even locally, but trusting vendor suppled certificates is bad. Implementing SRP on IoT devices would solve these problems, but would need much better support of SRP from the browser vendors.
评论 #21677471 未加载
GhettoMaestroover 5 years ago
I feel dumb asking this, but does current industry authentication methods (secure channel via TLS) send the actual password, or a derived challenge-response value through the secure channel? I thought it was the latter.
评论 #21676645 未加载
3fe9a03ccd14ca5over 5 years ago
Wow this sounds amazing — so why isn’t this used everywhere? What’s the downside?
评论 #21676157 未加载
评论 #21676518 未加载
评论 #21676922 未加载