Thanks for pointing that out! Could you elaborate on what specifically looks off about the SRP implementation?
I tried to follow RFC 5054 with some minor adjustments for the frontend (using hash-wasm and fixed-length encoding to match the server), but I’d really appreciate feedback if something looks wrong or insecure.
Re:
by some_furry on Friday October 31, 2025 @09:26AM
(#45771746)
Side-channels. Also, N and G matter a lot to security; not making those hard-coded and transparent is sus. You can't just use a normal DH group.
I would recommend OPAQUE instead.
Also, this SRP implementation seems a bit... sus.
https://github.com/ellipticc/drive-frontend/blob/main/lib/sr...