]> source.dussan.org Git - gitea.git/commit
Set default ssh.minimum_key_sizes (#9466)
authormrsdizzie <info@mrsdizzie.com>
Sun, 22 Dec 2019 22:46:35 +0000 (17:46 -0500)
committerAntoine GIRARD <sapk@users.noreply.github.com>
Sun, 22 Dec 2019 22:46:35 +0000 (23:46 +0100)
commit2f9564f993ba02ba503d7088eb8cc70536b7a6df
tree9450b0b327cc2c0bcf745bf422652f49081f4989
parent1df701fd1abbcee93dfcd3cdb114a0f35cb6be45
Set default ssh.minimum_key_sizes (#9466)

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
modules/setting/setting.go