~sircmpwn/meta.sr.ht#63: 
crash on my ssh keys

Going to add my ssh keys makes the server crash with "Internal Server Error".

Here are the SSH keys I'm trying to add:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDTtdA/YZOdYY35bKWKokkHkXTklnwWKbAMWbcgGaaDbPEMl+0wAm75WoBRUF/ZetwbQQ1SlNsbqymeFp2LiwbwU3xFmw7v/TAJrYJxIPEV8fjApIIao7PWzz0o8na+Ocz6w2qKWc1CJkryLT/t/JcUnPsFzlp/nYkOyrS0BqdkNwj9/hSO8zB1uaErrtc+TeiUO/Cu6oJ81LR1Rk0sRnHNBQv85W7ORVna+38LENQk05dQLuOxyf2c+TbZMJrA2d6VeZwX2hER52N23qOfyAs45f0LQOqmyk8y1BcnRykrmVlsVVgVJSBFKDRj6lMPLFrEUG0R5+p15m+W8833VpHn
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7CY6+aTLlk6epl1+TK6wIaHg1fageEfmKFgn+Yov+2lKFIhNRkcWznQVcyViVmC7iaZkEIei1gP9+0lrsdhewtTBjvkDNxR18aIORJsiH95FFjFIuJ0HQjrM1jOxiXhQZ0xLlnhFkxxa8j9l52HTutpYUU63e3lvY0CBuqh7QtkH3un7iT6EaqMR34yFa2ym35ag8ugMbczBwnTDJYn3qpL8gKuw3JnIp+qdSQb1sGdLcC4JN02E2/IY7iw8lzM9xVab1IgvemCJwS0C/Bt9LsmhCy9AMpaVFaAYjepgdBpSqIMa/8VcoVOrhdJWfIc7fLtt+njN1qojsPmuhsr1n

One thing that is peculiar with those keys is that they have no "comment" field, but that is normally allowed. They are also generated by Monkeysphere, but they are otherwise normal.

Status
RESOLVED FIXED
Submitter
~anarcat
Assigned to
No-one
Submitted
2 years ago
Updated
10 months ago
Labels
No labels applied.

~sircmpwn 2 years ago

Need to bump the limit on this column

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1193, in _execute_context
    context)
  File "/usr/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 509, in do_execute
    cursor.execute(statement, parameters)
psycopg2.DataError: value too long for type character varying(256)

~s-ol 1 year, 4 days ago

I am not sure if this is the actual error OP hit or unrelated, but pasting multiple keys instead of a single one also triggers a 500 ISE.

~sircmpwn REPORTED FIXED 10 months ago

Register here or Log in to comment, or comment via email.