-
Notifications
You must be signed in to change notification settings - Fork 117
Redmine cuts SSH-Key uploaded by user #185
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
Comments
Hi!
This is called a bug...
The bug?
That's the purpose of a bug... Which version of the plugin are you running? |
Hello Rodiguez Well it may not be a bug but a hidden feature you never know until you ask :). Yeah anyway the plugin version is 0.7.2, installed about 2 weeks ago |
This is weird... The field format should be text... Can you check this? |
I have wrote a quick script and it seems like the maximum number of characters allowed in the field is 255. |
This is what was happening in #183 |
Has that been solved than ?, should i re-install plugin ? |
Take a look at your 'gitolite_public_keys' database table, and check the type of the 'key' column |
I have checked and that seems to be the problem, the Key field specifies that char limit is 255 |
Ok so i changed the field size - so that is a temp fix for this bug, however this should be addressed for further releases i believe :) Aside from that this plugin rocks ;) ! |
This is fixed in commit ae48a33. Btw, be sure to use a stable branch (or a tarball release) and not the |
Hello
I have found a problem that is quite irritating. On the user account page where you paste your deploy ssh-key, when you paste your .pub and click save - and then view the key (either on redmine or on server) it is actually cut in half ??
i.e.
The generated key on my windows machine inside .ssh looks like this
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArPAhHP5+5eeiV/W6t4zUvGTPDp/e65lLVCq/180WiTMZJ5jOj+/lnrC/AF4LRlawr2mXUIOgf5i8QM0vNuoC+2oGEz7oymZJxS6fQmWfYz8fG2AXfsXjVwnlk9itp3IYMFXODYFTrgNSwxYHVF2j/4HYnzc7KFId6C9o/+hzK+LAae/1SufFd18nwJhSQmPwDBIX0dW6N/nbQ7hOkJFOQzHIh7D3KdP3KyhobsKOa1Q1zM3TIvOp7nzVcr416SNfxCYAw9Vs0v7X1L+6sD2x5Jkej5xYbJwYSIdKkgtTCPSBs7zG9Q05hHtSe7kOh/VJfWroUKn1nvxHXe/rbw421w== Maciek@MACIEK-PC
When i paste the content of the public key into redmine it generate this file
[email protected]
Content of this looks like this::
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArPAhHP5+5eeiV/W6t4zUvGTPDp/e65lLVCq/180WiTMZJ5jOj+/lnrC/AF4LRlawr2mXUIOgf5i8QM0vNuoC+2oGEz7oymZJxS6fQmWfYz8fG2AXfsXjVwnlk9itp3IYMFXODYFTrgNSwxYHVF2j/4HYnzc7KFId6C9o/+hzK+LAae/1SufFd18nwJhSQmPwDBIX0dW6N/nbQ7hOkJFOQzHIh7D
so it is cut ? is there a reason behind this ?. Everytime i want to add a key i actually have to manually edit the key on the server, which is a bit pain in the ass tbh.
Thank you
The text was updated successfully, but these errors were encountered: