2017-08-24T22:42:48Z [87ea4f74c68443428d5dce9b1e9f703d] striker.profile.utils ERROR: Failed to parse "Requested 257 bytes, but only 26 bytes available."
Traceback (most recent call last):
File "./striker/profile/utils.py", line 47, in parse_ssh_key
key.parse()
File "/srv/deployment/striker/venv/lib/python3.4/site-packages/sshpubkeys/__init__.py", line 412, in parse
key_data_length = self._process_key(self._decoded_key[current_position:])
File "/srv/deployment/striker/venv/lib/python3.4/site-packages/sshpubkeys/__init__.py", line 360, in _process_key
return self._process_ssh_rsa(data)
File "/srv/deployment/striker/venv/lib/python3.4/site-packages/sshpubkeys/__init__.py", line 275, in _process_ssh_rsa
current_position, raw_n = self._unpack_by_int(data, current_position)
File "/srv/deployment/striker/venv/lib/python3.4/site-packages/sshpubkeys/__init__.py", line 159, in _unpack_by_int
raise MalformedDataException("Requested %s bytes, but only %s bytes available." % (requested_data_length, remaining_data_length))
sshpubkeys.exceptions.MalformedDataException: Requested 257 bytes, but only 26 bytes available.
2017-08-24T22:42:48Z [87ea4f74c68443428d5dce9b1e9f703d] striker.profile.utils ERROR: Failed to parse "Requested 257 bytes, but only 163 bytes available."
Traceback (most recent call last):
File "./striker/profile/utils.py", line 47, in parse_ssh_key
key.parse()
File "/srv/deployment/striker/venv/lib/python3.4/site-packages/sshpubkeys/__init__.py", line 412, in parse
key_data_length = self._process_key(self._decoded_key[current_position:])
File "/srv/deployment/striker/venv/lib/python3.4/site-packages/sshpubkeys/__init__.py", line 360, in _process_key
return self._process_ssh_rsa(data)
File "/srv/deployment/striker/venv/lib/python3.4/site-packages/sshpubkeys/__init__.py", line 275, in _process_ssh_rsa
current_position, raw_n = self._unpack_by_int(data, current_position)
File "/srv/deployment/striker/venv/lib/python3.4/site-packages/sshpubkeys/__init__.py", line 159, in _unpack_by_int
raise MalformedDataException("Requested %s bytes, but only %s bytes available." % (requested_data_length, remaining_data_length))
sshpubkeys.exceptions.MalformedDataException: Requested 257 bytes, but only 163 bytes available.
2017-08-24T22:42:48Z [87ea4f74c68443428d5dce9b1e9f703d] striker.profile.utils ERROR: Failed to parse "Requested 257 bytes, but only 28 bytes available."
Traceback (most recent call last):
File "./striker/profile/utils.py", line 47, in parse_ssh_key
key.parse()
File "/srv/deployment/striker/venv/lib/python3.4/site-packages/sshpubkeys/__init__.py", line 412, in parse
key_data_length = self._process_key(self._decoded_key[current_position:])
File "/srv/deployment/striker/venv/lib/python3.4/site-packages/sshpubkeys/__init__.py", line 360, in _process_key
return self._process_ssh_rsa(data)
File "/srv/deployment/striker/venv/lib/python3.4/site-packages/sshpubkeys/__init__.py", line 275, in _process_ssh_rsa
current_position, raw_n = self._unpack_by_int(data, current_position)
File "/srv/deployment/striker/venv/lib/python3.4/site-packages/sshpubkeys/__init__.py", line 159, in _unpack_by_int
raise MalformedDataException("Requested %s bytes, but only %s bytes available." % (requested_data_length, remaining_data_length))
sshpubkeys.exceptions.MalformedDataException: Requested 257 bytes, but only 28 bytes available.
2017-08-24T22:42:48Z [87ea4f74c68443428d5dce9b1e9f703d] django.request ERROR: Internal Server Error: /profile/settings/ssh-keys
Traceback (most recent call last):
File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/srv/deployment/striker/venv/lib/python3.4/site-packages/django/contrib/auth/decorators.py", line 22, in _wrapped_view
return view_func(request, *args, **kwargs)
File "./striker/profile/views.py", line 91, in ssh_keys
initial={'key_hash': key.hash_sha256()})
AttributeError: 'NoneType' object has no attribute 'hash_sha256'See the sshPublicKey data for uid=zppix1 in the LDAP directory for the offending key matter.