-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically convert SSH2 public keys to OpenSSH format #798
Labels
🔨 enhancement
Make it better, faster
Comments
Sounds not bad. But how does Gogs know user is giving SSH2 or SSH public key? |
psmit
added a commit
to psmit/gogs
that referenced
this issue
Jan 2, 2015
It is now possible to input ssh keys in a number of formats: openssh, SSH2 or just the base64 encoded key.
unknwon
added a commit
that referenced
this issue
Jan 22, 2015
Implement #798 Flexible ssh-key input
Please follow on #1877 now :D |
ethantkoenig
pushed a commit
to ethantkoenig/gogs
that referenced
this issue
Feb 11, 2017
* Allow using custom time format I need to use custom time format in `conf/app.ini' like FORMAT = 2006-01-02 15:04:05 so that Gitea will display '2017-01-30 08:41:49' check this answer for more constants to format date <http://stackoverflow.com/a/20234207/2570425> PS: First GO commit * Refactor and validate TimeFormat (must have 2006, 01, 02, 15, 04 and 05)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
To use a SSH2 public key with gogs one has to convert it to the OpenSSH format first i.e. through ssh-keygen
It would be useful to automatically convert these keys into the OpenSSH format so a windows user doesnt have to do that.
As the conversion is pretty simple (basically just string manipulation), this could be done without using ssh-keygen within gogs. To test this, you can create a SSH2 public key from your existing OpenSSH key using
The text was updated successfully, but these errors were encountered: