Skip to content

MINIMUM_KEY_SIZE_CHECK value wrongly evaluated #28451

Closed
@karolyi

Description

@karolyi

Description

Hey,

when MINIMUM_KEY_SIZE_CHECK = true in the config (default), the UI settings will say:
image

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions