On 19. mai. 2009, at 07.21, Andres Mejia wrote:

> I tried adding my key which has a comment at the end. It's of the
> form,
> ssh-algorithm base64-content y...@somehost 'some comment'.
>
> I kept getting the 'Key invalid' message. I was able to add my key by
> removing the comment portion, and I can still push commits with this
> key uploaded like this. Still, I think Gitorious should be able to
> handle keys with comments in them.

Gitorious enforces some quite strict rules on what's allowed in your  
SSH key, since the contents are saved into the git user's  
authorized_keys file on the server; we really don't want to allow  
"anything" in there. You can see the validation regexp in Gitorious'  
source code: 
http://gitorious.org/gitorious/mainline/blobs/master/app/models/ssh_key.rb 
  (line 26).

If you think your public key should be allowed in Gitorious, feel free  
to send it along, and we'll see what kind of regexp voodoo we can do.

Cheers,
- Marius

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Gitorious" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gitorious?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to