Beyond the way it starts, we can probably ensure the content is valid as well. What characters are legal in a key? Mine only has A-Za-z0-9\/=, plus @ for the comment at the end.
By Administrator on 2012-08-29T06:29:47 (imported from GitLab project)
By Administrator on 2012-08-29T06:29:47 (imported from GitLab)
had really nasty problems related to this one few days ago
basically there was a mistake and this ssh key was uploaded:
hostname$ cat key.pubssh-rsa ...
which passed the validation but crippled gitolite completely to the point where i had to manually check out gitolite admin repo and remove corrupt key by hand and then cleanup the gitlab database
not a pleasant experience :)
By Administrator on 2013-02-04T11:32:56 (imported from GitLab project)
By Administrator on 2013-02-04T11:32:56 (imported from GitLab)