LinusU/secure-remote-password

Custom Parameter Large Safe Prime

afshawnlotfi opened this issue · 2 comments

Would it be possible to make the largeSafePrime param here updatable in cases where people want to use their own custom key generated by something like OpenSSL. I'd imagine the quickest fix would be making that const a let and making the input be exportable but thought I would bring this up.

Is there a solution to this? I have the same requirement, but this issue was closed without an answer 😢

I reopened but don't know if the author is going to reply as I sent this over a year ago. I ended up just forking and manually changing the key with something I generated in OpenSSL using something like openssl dhparam -text 1024 like they use here: https://en.wikipedia.org/wiki/Secure_Remote_Password_protocol. Hope that helps