adam-fowler/swift-srp

Can this be used for SRP authentication with AWS

nicholascross opened this issue · 1 comments

I was able to get SRP auth working with AWS using the SRP class you wrote.

However I struggled for hours trying to use this package without success. I was wondering if you could tell me; am I barking up the wrong tree in thinking this library should also work with Cognito SRP? I think it is more likely I am just doing it wrong.

I will go with your other implementation for now so feel free to close this without remorse if you don't have time to respond 😄

No it can't. It appears AWS has some minor alterations to the SRP calculations which are non-standard.