From 4e7dadd2057029741d2a8cc764442083706305d2 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 13 Jan 2023 09:48:53 +1100 Subject: [PATCH] get_algorithms.py: use FIPS compatible bit size The minimum RSA key size that can be used in FIPS mode is 2048 bits. --- bin/tests/system/get_algorithms.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/tests/system/get_algorithms.py b/bin/tests/system/get_algorithms.py index e21e208ce9..ca4b68c2d1 100755 --- a/bin/tests/system/get_algorithms.py +++ b/bin/tests/system/get_algorithms.py @@ -53,9 +53,9 @@ class AlgorithmSet(NamedTuple): "disable-algorithms" configuration option.""" -RSASHA1 = Algorithm("RSASHA1", 5, 1280) -RSASHA256 = Algorithm("RSASHA256", 8, 1280) -RSASHA512 = Algorithm("RSASHA512", 10, 1280) +RSASHA1 = Algorithm("RSASHA1", 5, 2048) +RSASHA256 = Algorithm("RSASHA256", 8, 2048) +RSASHA512 = Algorithm("RSASHA512", 10, 2048) ECDSAP256SHA256 = Algorithm("ECDSAP256SHA256", 13, 256) ECDSAP384SHA384 = Algorithm("ECDSAP384SHA384", 14, 384) ED25519 = Algorithm("ED25519", 15, 256)