Skip to content

Conversation

@zorun
Copy link

@zorun zorun commented Jun 15, 2017

The new testcase would fail with:

File "/tmp/django-sshkey/django_sshkey/util.py", line 96, in init
self.algorithm = self.parts[0].decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd3 in position 2: ordinal not in range(128)

Backport of zorun/django-simplesshkey@2ee730c

The new testcase would fail with:

  File "/tmp/django-sshkey/django_sshkey/util.py", line 96, in __init__
    self.algorithm = self.parts[0].decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd3 in position 2: ordinal not in range(128)
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.

1 participant