Skip to content
  • Stan Hu's avatar
    Handle SSH keys that have multiple spaces between each marker · 683f99f72795
    Stan Hu authored
    Notice what happens when a user adds a key with a space in between:
    
    ```
    irb(main):004:0> 'ssh-rsa  foobar'.split(/ /)
    => ["ssh-rsa", "", "foobar"]
    ```
    
    This would cause gitlab-shell to receive a blank argument for the actual
    key, leading to users unable to login.
    683f99f72795