diff options
| author | 2023-08-08 18:43:06 -0400 | |
|---|---|---|
| committer | 2025-12-05 19:37:19 -0500 | |
| commit | 9e006675f1e49e5e1a016cab3df99dabccfe4ab0 (patch) | |
| tree | b2cd94e22ccd259e18a2ca233607aa7109f48a93 | |
| parent | 929d672361707b3ebeb28547eb8491fae8d01e4a (diff) | |
d/p/debian/0004-increase_rsa_key_size.patch: Increase RSA key size to 4096.
| -rw-r--r-- | debian/patches/debian/0004-increase_rsa_key_size.patch | 20 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/debian/0004-increase_rsa_key_size.patch b/debian/patches/debian/0004-increase_rsa_key_size.patch new file mode 100644 index 0000000..92093c1 --- /dev/null +++ b/debian/patches/debian/0004-increase_rsa_key_size.patch @@ -0,0 +1,20 @@ +From: Unit 193 <unit193@unit193.net> +Date: Thu, 10 Dec 2015 09:47:41 +0000 +Description: Increase RSA key size to 4096. +Forwarded: not-needed + +--- + deluge/crypto_utils.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/deluge/crypto_utils.py 2022-07-01 22:33:34.774344554 -0400 ++++ b/deluge/crypto_utils.py 2022-07-01 22:33:34.766344584 -0400 +@@ -106,7 +106,7 @@ + + # Generate key pair + pkey = crypto.PKey() +- pkey.generate_key(crypto.TYPE_RSA, 2048) ++ pkey.generate_key(crypto.TYPE_RSA, 4096) + + # Generate cert request + req = crypto.X509Req() diff --git a/debian/patches/series b/debian/patches/series index 75fc3a0..77ccee8 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ debian/0001-release-check.patch debian/0002-setuptools-60.patch #debian/0003-systemd.patch +debian/0004-increase_rsa_key_size.patch |
