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

GSS-API wrap and unwrap operation for the sspi module #1692

Merged
merged 5 commits into from May 29, 2021

Conversation

manuco
Copy link
Contributor

@manuco manuco commented Apr 15, 2021

The sspi module offers nice classes to deal with SSPI authentication process.

But these classes miss the wrap and unwrap methods that are present in the GSS-API. Microsoft described how to emulate such calls. This pull request introduces an implementation of the described method. This code has been tested against a real MIT Kerberos on Linux.

The PR also enhances the example at the end of the file, enabling it to work with either Kerberos or NTLM.

@manuco
Copy link
Contributor Author

manuco commented Apr 16, 2021

I have no idea why the last check was stuck and has failed...

@mhammond
Copy link
Owner

I have no idea why the last check was stuck and has failed...

Me either, but it's a regular occurrence :( At a quick glance this PR looks great - I'll try and find time to look in more detail soon. In the meantime, could you please add an entry to CHANGES.txt, giving yourself whatever credit you like :)

@manuco
Copy link
Contributor Author

manuco commented May 5, 2021

Hello @mhammond, do you think you will accept this PR after a second thought ? if yes, have you any idea of when it will be the case ?

@mhammond
Copy link
Owner

mhammond commented May 7, 2021

Sorry for the delay - I'll certainly have a good look before the next release, but I can't predict when that might be.

Copy link
Owner

@mhammond mhammond left a comment

Choose a reason for hiding this comment

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

Thanks very much!

@mhammond mhammond merged commit 368e5e3 into mhammond:master May 29, 2021
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