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
WSSE token needs to be string not bytes #179
Conversation
When `_wsse_username_token` returned bytes, the header would look like ``` UsernameToken Username="username", PasswordDigest="b'Ue8bnW/FAKEWubcqChWs='", Nonce="673552abeefb06a6", Created="2020-09-29T14:42:57Z" ``` And the extra `b'` at the beginning of the password digest would cause authentication to fail.
When `_wsse_username_token` returned bytes, the header would look like ``` UsernameToken Username="username", PasswordDigest="b'Ue8bnW/FAKEWubcqChWs='", Nonce="673552abeefb06a6", Created="2020-09-29T14:42:57Z" ``` And the extra `b'` at the beginning of the password digest would cause authentication to fail. #179 Co-Authored-By: Sergey Shepelev <temotor@gmail.com>
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 and welcome.
Thank you. Sorry turns out WSSE wasn't working for a while.
I'm waiting for tests on CI and will merge this together with regression test on different branch because github won't let me push to yours. So don't pay much attention to PR status, your work is accepted keeping authorship.
Merged in 595e248 |
When
_wsse_username_token
returned bytes, the header would look likeAnd the extra
b'
at the beginning of the password digest would cause authentication to fail.