Thomas Keller 5b82efa0be Fix a couple of issues with our key parsing / validating code.
- be explicit and expect only ssh-dss or ssh-rsa keys
- allow any character (even line breaks and whitespace) in the optional comment,
  but shrink all of them to simple spaces (fixes issue 679)
- test the newly uploaded key against existing keys only by the base key data,
  not the fully uploaded string (that might contain a changed comment line or
  the like) to avoid duplicates; also only check the keys of the user for
  duplicates, not all existing keys in the forge (if for whatever reason two
  user accounts share a key)
2011-05-25 02:13:50 +02:00
..
2011-04-02 21:37:07 +02:00
2011-04-05 13:20:55 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00
2011-04-02 21:37:07 +02:00