- Ticket details
712 - Profile SSH authorization page should validate the public SSH key
What is the enhancement in mind? How should it look and feel?
The idea is to have the http://www.curseforge.com/home/repository-authorization/ page validate the SSH public key format. Users not used to SSH often pastes an invalid key, be it in wrong format, splitted across several lines or whatever. Adding a validation there will simplify troubleshooting.
Please provide any additional information below.
The page could check that the key matches the following regex and issue an error to the user when it doesn't.
^\s*ssh-(dss|rsa)\s+[0-9A-Za-z/+=]+(\s+.*)?\s*$
| User | When | Change |
|---|---|---|
| Adirelle | 10/10/2008 12:38:25 | Changed description:The page could check that the key matches the following regex and issue an error to the user when it doesn't. - ^\s*ssh-[rd]sa\s+[0-9A-Za-z/+=]+(\s+.*)?\s*$ + ^\s*ssh-(dss|rsa)\s+[0-9A-Za-z/+=]+(\s+.*)?\s*$ |
| Adirelle | 10/06/2008 08:43:17 | Create |
- Facts
| Last updated on: | 10/12/2008 18:52:44 |
|---|---|
| Reported on: | 10/06/2008 08:43:17 |
| Status: | New |
| Type: | Enhancement |
| Priority: | Medium |
- Reported By
- Possible Assignees
- Votes

Be the first to comment!