diff options
Diffstat (limited to 'app_new.ini')
-rw-r--r-- | app_new.ini | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app_new.ini b/app_new.ini index c28ec844463c..5e15e5557754 100644 --- a/app_new.ini +++ b/app_new.ini @@ -11,6 +11,12 @@ RUN_MODE = dev [repository] ROOT = /srv/gogs/repo SCRIPT_TYPE = bash +; Default ANSI charset +ANSI_CHARSET = +; Force every new repository to be private +FORCE_PRIVATE = false +; Patch test queue length, make it as large as possible +PULL_REQUEST_QUEUE_LENGTH = 10000 [ui] ; Number of repositories that are showed in one explore page @@ -110,6 +116,16 @@ DISABLE_MINIMUM_KEY_SIZE_CHECK = false ; Enable captcha validation for registration ENABLE_CAPTCHA = true +; used to filter keys which are too short +[service.minimum_key_sizes] +ED25519 = 256 +ECDSA = 256 +NTRU = 1087 +MCE = 1702 +McE = 1702 +RSA = 1024 +DSA = 1024 + [webhook] ; Hook task queue length QUEUE_LENGTH = 1000 |