by jimktrains2 · 10y ago · 0 comments
Why is this any different, and why am I wrong to dismiss it out-of-hand as (in)secure as simply sending unencrypted data to the server? Why isn't this only an open-source, native app (where I can load a specific, known version instead of whatever is on the server).
> we choose our own primes rather than those used by TLS
Does TLS specify any primes? You can use your own DH primes, SRP primes, and your key is your own prime. Those RFCs recommend primes, but allow the server to use different ones. TLS, SRP, or DH doesn't "use" a single prime, any prime satisfying the requirements in the RFC is acceptable. know it's nitpicking but something about how it was said rubbed me the wrong way.
I would love to know how they communicate between their TLS-SRP layer and their authentication layer. Most implementations are file-based. Did they write a plugin for gnutls or openssl? Did they write their own TLS layer?
I would love for TLS-SRP to be more wide-spread, but this is always the biggest hurdle to adoption in my case.
Nobody says it's different
>Why isn't this only an open-source, native app (where I can load a specific, known version instead of whatever is on the server).
OK, let's suppose you're using a native app. One day vendor issues an update with some critical vulnerability patched. Unfortunately, another vulnerability (or even backdoor) sneaks into this update for whatever reasons. How is this any different?
In a web app, they can send a backdoored copy of the code just to you and just a single time, which is much harder to detect.
They why do all the extra work for no gain in security?
I think the sibling comment address your next comment well.
A unique solution might be to use service workers to handle content "updates". The assets could be cached locally, and a single network request could be fired to check for updates. If one exists, the user is prompted to update. This would at least alert you to review the code being sent to your browser if you're so inclined.
Ultimately though it comes down to yet another tradeoff of security vs convenience. Such a feature might be better off as an opt-in extra security feature.