Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add public initializer to SRPKeyPair #7

Merged
merged 2 commits into from
May 27, 2021
Merged

Conversation

marius-se
Copy link
Contributor

Until now the SRPKeyPair initializer was private which is very unlucky if you want to manually test SRPClient.calculateSharedSecret using hardcoded credentials, salts and keys etc. ...

Another solution would be to split up the clientKeys parameter in (SRPClient.calculateSharedSecret), but... I think it's fine just being able to create a SRPKeyPair by hand.

PS: This is my very first OpenSource contribution ever 🎉

Copy link
Owner

@adam-fowler adam-fowler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adam-fowler adam-fowler merged commit 6e45b3e into adam-fowler:main May 27, 2021
@adam-fowler
Copy link
Owner

Well done on your first OpenSource contribution

@marius-se
Copy link
Contributor Author

Thanks! Feels good 😋

@adam-fowler
Copy link
Owner

I apologise I completely forgot about this change and never did a release. Your change is now in v0.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants