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

Unicode-objects must be encoded before hashing #64

Closed
smudge1977 opened this issue Apr 10, 2022 · 1 comment
Closed

Unicode-objects must be encoded before hashing #64

smudge1977 opened this issue Apr 10, 2022 · 1 comment

Comments

@smudge1977
Copy link

Your current head 8eb1092 is fine but the 0.7.0 version on PyPi does not work for me on an Ubuntu machine:

return super().auth(username, password, resource) File "/home/asl/xmpppy/xmpp/client.py", line 223, in auth if xmpp.auth.NonSASL(user,password,resource).PlugIn(self): File "/home/asl/xmpppy/xmpp/client.py", line 73, in PlugIn if 'plugin' in self.__class__.__dict__: return self.plugin(owner) File "/home/asl/xmpppy/xmpp/auth.py", line 71, in plugin query.setTagData('digest',sha1(owner.Dispatcher.Stream._document_attrs['id']+self.password).hexdigest()) TypeError: Unicode-objects must be encoded before hashing
Could you possible just publish your latest package to PyPi please?
Thanks

@amotl
Copy link
Collaborator

amotl commented Apr 10, 2022

Dear @smudge1977,

thanks for the reminder and for also confirming 8eb1092 is good. xmpppy 0.7.1 is on PyPI now [1,2].

With kind regards,
Andreas.

[1] https://github.com/xmpppy/xmpppy/releases/tag/0.7.1
[2] https://pypi.org/project/xmpppy/

@amotl amotl closed this as completed Apr 10, 2022
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

No branches or pull requests

2 participants