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

Added SCRAM-SHA1/256/512 to SASL module #1905

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

patrick-irc
Copy link

I have added support for SCRAM-SHA1/256/512 based on OpenSSL to the SASL module.

Networks for testing:

Copy link
Member

@DarthGandalf DarthGandalf left a comment

Choose a reason for hiding this comment

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

I haven't looked at the algorithm yet, and only glanced at this code.

Can you add a test?

@DarthGandalf
Copy link
Member

CI failed

&uiServerKeyLen);

// ServerSignature := HMAC(ServerKey, AuthMessage)
pServerSignature = static_cast<unsigned char*>(malloc(m_uDigestSize));
Copy link
Member

Choose a reason for hiding this comment

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

Please don't use memory manually like this, it's not C. Use std::string/std::vector/std::unique_ptr, etc

@patrick-irc
Copy link
Author

CI failed

Why are all those checks failing?

@DarthGandalf
Copy link
Member

I don't know, check logs

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.

None yet

2 participants