Blame SOURCES/0002-Use-2048-bit-keys-in-tests-to-avoid-issues-with-mode.patch

bb4267
From 68e2c532e610e1c91dd10ff176b673d6190adef4 Mon Sep 17 00:00:00 2001
bb4267
From: Jakub Hrozek <jakub.hrozek@posteo.se>
bb4267
Date: Mon, 6 Aug 2018 21:43:53 +0200
bb4267
Subject: [PATCH] Use 2048-bit keys in tests to avoid issues with modern
bb4267
 systems
bb4267
bb4267
---
bb4267
 tests/default_pw_test | 2 +-
bb4267
 tests/ldap_test       | 2 +-
bb4267
 2 files changed, 2 insertions(+), 2 deletions(-)
bb4267
bb4267
diff --git a/tests/default_pw_test b/tests/default_pw_test
bb4267
index 6da406cf3f67cee2084e730361d43c88df83b81c..733c85c090e07c87a9a7ef8b58c5396bf5f91197 100755
bb4267
--- a/tests/default_pw_test
bb4267
+++ b/tests/default_pw_test
bb4267
@@ -30,7 +30,7 @@ rm -rf "$workdir"
bb4267
 mkdir "$workdir"
bb4267
 
bb4267
 # Create a SSL key
bb4267
-/usr/bin/openssl req -newkey rsa:1024 -keyout "$workdir"/key1 -nodes \
bb4267
+/usr/bin/openssl req -newkey rsa:2048 -keyout "$workdir"/key1 -nodes \
bb4267
     -x509 -days 2 -out "$workdir"/key3 2>/dev/null <
bb4267
 .
bb4267
 .
bb4267
diff --git a/tests/ldap_test b/tests/ldap_test
bb4267
index f82c2795ef283e323f49c8a400d6c628b3a3e331..54609b14d54b2c5638445262e7fb25307ba6db4c 100755
bb4267
--- a/tests/ldap_test
bb4267
+++ b/tests/ldap_test
bb4267
@@ -30,7 +30,7 @@ rm -rf "$workdir"
bb4267
 mkdir "$workdir"
bb4267
 
bb4267
 # Create a SSL key
bb4267
-/usr/bin/openssl req -newkey rsa:1024 -keyout "$workdir"/key1 -nodes \
bb4267
+/usr/bin/openssl req -newkey rsa:2048 -keyout "$workdir"/key1 -nodes \
bb4267
     -x509 -days 2 -out "$workdir"/key3 2>/dev/null <
bb4267
 .
bb4267
 .
bb4267
-- 
bb4267
2.14.4
bb4267