pysrp
pysrp copied to clipboard
Python implementation of the Secure Remote Password protocol (SRP)
Hi everyone, I realized that the library can have some issues when calculating the X parameter. This is because the hash function returns an `int` instead of a `bytearray`, which...
Hi! Sorry if this is offtopic, but have anyone used pysrp with JavaScript? I'm currently fiddling with [Thinbus-srp Spring demo](https://bitbucket.org/simon_massey/thinbus-srp-spring-demo). Managed to make both implementations communicate with each other, using...
per discussion in LinusU/secure-remote-password#12 This change together with LinusU/secure-remote-password#13 would make these two libraries compatible with each other 🙌
Hello, Just wanted you to know that on python2 `bytes(2)` returns the string `"2"`, whereas in python3 it returns `b"\x00\x00"`. This makes the padding (inside `H()`) wrong in python2 which...
AWS Lambda doesn't have libssl.so in /usr/lib64, so I modified just one line.
> Alternatively, in a password-only proof the calculation of "K" can be skipped and the shared "S" proven with: > > Carol → Steve: M1 = H(A | B |...
Hi, I'm working on some updates on your library. These are the things I'm working on right now: - making the C extension optional (I talked about it on a...
I couldn't install your package. It has compile errors either in python 2 or 3. Here is output of `pip install srp==1.0.5`: > ``` > srp/_srp.c:928:11: error: no member named...
It seems there is a difference between the python and C implementation of how B is calculated, notably that in the C version: ``` C # B = kv +...
The implementation here seems to be incompatible with the specification of SRP in RFC 5054 which requires padding in various places that is not applied here. For example, in [section...