-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Cannot add SSH key #9465
Comments
Do yo have |
The minimum key size defaults weren't set as suggested in app.ini.sample so if you enabled MINIMUM_KEY_SIZE_CHECK it would always fail since there would be no matching values to check against. This pr adds the default values that should have been there. Should fix go-gitea#9465
Yes, |
Yes if you disable that it should avoid this bug until it is fixed |
Perfect, thanks a lot for the quick help. |
The minimum key size defaults weren't set as suggested in app.ini.sample so if you enabled MINIMUM_KEY_SIZE_CHECK it would always fail since there would be no matching values to check against. This pr adds the default values that should have been there. Should fix #9465
[x]
):Log shows nothing but the
[SQL]
stuff.Description
I cannot add any SSH key (tried ed25519, ecdsa 512Bit, rsa 4096 Bit), neither to my user's authorized keys, nor as deploy keys. Not sure if it ever worked, the keys still originate from before I migrated from Gogs to Gitea. UI says:
One of the keys in question is:
The key works fine on https://try.gitea.io and it is valid, so at least the error message is misleading.
Regarding #974:
ssh-keygen
is available at the same place asgit
(being/usr/bin
), so I doubt this is the source for the issue.Regarding #6715:
drwx------ 2 git git 4096 Dec 22 15:34 .ssh/
, Gitea runs asgit
The text was updated successfully, but these errors were encountered: