summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authormainboarder <git@mainboarder.de>2023-08-28 02:53:16 +0200
committerGitHub <noreply@github.com>2023-08-28 00:53:16 +0000
commitc533991519816313dfaa0ddcec183756a97b9348 (patch)
tree66ce0853585a3403c597ad40f40f4e7d28b6a3fa /custom
parent2401e6e1210cb41481e7443ab256a0ee9bda44f4 (diff)
downloadgitea-c533991519816313dfaa0ddcec183756a97b9348.tar.gz
gitea-c533991519816313dfaa0ddcec183756a97b9348.zip
Expanded minimum RSA Keylength to 3072 (#26604)
German Federal Office for Information Security requests in its technical guideline BSI TR-02102-1 RSA Keylength not shorter than 3000bits starting 2024, in the year 2023 3000bits as a recommendation. Gitea should request longer RSA Keys by default in favor of security and drop old clients which do not support longer keys. https://www.bsi.bund.de/SharedDocs/Downloads/DE/BSI/Publikationen/TechnischeRichtlinien/TR02102/BSI-TR-02102.pdf?__blob=publicationFile&v=9 - Page 19, Table 1.2 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index a3d24b1961..96a0a3ede9 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -1339,7 +1339,7 @@ LEVEL = Info
;; Define allowed algorithms and their minimum key length (use -1 to disable a type)
;ED25519 = 256
;ECDSA = 256
-;RSA = 2047 ; we allow 2047 here because an otherwise valid 2048 bit RSA key can be reported as having 2047 bit length
+;RSA = 3071 ; we allow 3071 here because an otherwise valid 3072 bit RSA key can be reported as having 3071 bit length
;DSA = -1 ; set to 1024 to switch on
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;