-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
MINIMUM_KEY_SIZE_CHECK value wrongly evaluated #28451
Comments
I thought I understood it wrong, but it seems I still was right. Setting the option Aside from it being worded completely confusing, it's evaluated wrongly too. |
Regression of #13860 The old code has commented out the code. Actually IMO this code block could (should) be removed completely, because there is another code block below: |
…ys (#28492) Resolves #28451. This change follows the recommendation by wxiaoguang to remove the "Disable Minimum Key Size Check" from the "Service Configuration" section of the UI, because this option belongs to the "SSH Configuration" section of the administration menu and already has a functioning indicator in that section of the UI. --------- Co-authored-by: wxiaoguang <[email protected]>
…ys (go-gitea#28492) Resolves go-gitea#28451. This change follows the recommendation by wxiaoguang to remove the "Disable Minimum Key Size Check" from the "Service Configuration" section of the UI, because this option belongs to the "SSH Configuration" section of the administration menu and already has a functioning indicator in that section of the UI. --------- Co-authored-by: wxiaoguang <[email protected]>
…ys (go-gitea#28492) Resolves go-gitea#28451. This change follows the recommendation by wxiaoguang to remove the "Disable Minimum Key Size Check" from the "Service Configuration" section of the UI, because this option belongs to the "SSH Configuration" section of the administration menu and already has a functioning indicator in that section of the UI. --------- Co-authored-by: wxiaoguang <[email protected]>
…ys (go-gitea#28492) Resolves go-gitea#28451. This change follows the recommendation by wxiaoguang to remove the "Disable Minimum Key Size Check" from the "Service Configuration" section of the UI, because this option belongs to the "SSH Configuration" section of the administration menu and already has a functioning indicator in that section of the UI. --------- Co-authored-by: wxiaoguang <[email protected]>
Description
Hey,
when
MINIMUM_KEY_SIZE_CHECK = true
in the config (default), the UI settings will say:Which is false. Turning the option off will place a checkmark in place of the 'option disabled' icon.
I think the configuration option is badly evaluated and thus confusing. Or the option description is worded wrongly.
Gitea Version
1.21.2
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
irrelevant
How are you running Gitea?
In a FreeBSD jail.
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: