Something went wrong while setting issue due date.
Allow options in sshPublicKey
Closed
Allow options in sshPublicKey
The regex to check if a public ssh key is valid is too strict:
'/^\s*(ssh-(dss|rsa))\s+([a-zA-Z0-9+/.=]+)\s+([[:graph:]]+)\s*$/'
as it prevents to import public keys with options before the key itself. Something like:
from="10.37.0.2",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa
for example, should be considered valid
(from redmine: issue id 3257, created on 2014-08-08, closed on 2014-08-12)
- Relations:
- relates #5638 (closed)
- Changesets:
- Revision 10618de6 by Côme Chilliet on 2014-08-11T15:45:18.000Z:
Fixes #3257 less strict ssh key mask
Options are now allowed
- Revision 2648eb06 by Côme Chilliet on 2014-08-11T15:46:43.000Z:
Fixes #3257 less strict ssh key mask
Options are now allowed
- Custom Fields:
- Bug in version: 1.0.8
- Uploads: