-
Notifications
You must be signed in to change notification settings - Fork 17
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 make_signature
and verify_signature
to Sspi
trait.
#343
base: master
Are you sure you want to change the base?
Add make_signature
and verify_signature
to Sspi
trait.
#343
Conversation
Implement for NTLM. Missing docs & tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
Thank you for your contribution! I reviewed the code and left a few comments. Overall, your code is good 👍
…tions. Error message formatting. Use a generic u32 flags parameter for *_signature functions.
@TheBestTvarynka What tests are you suggesting to add to the new functions? |
The signing and verification overlap with encryption and decryption a lot, so I think there is no point in testing corner cases. |
@TheBestTvarynka I added a test for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good code 👍
Please, format the code (cargo +nightly fmt --all
) and fix clippy
warnings (cargo clippy --all-features --all-targets
)
resolves #338