Page MenuHome GnuPG

410_0001-gpg-Compile-time-flag-for-RSA-key-sizes-4096.patch
AbandonedPublic

Authored by ido on Nov 29 2013, 4:37 PM.

Details

Reviewers
None
Summary

From a187a0e0263045c7217b89b02e972bb7e407771f Mon Sep 17 00:00:00 2001
From: Ido Rosen <code@idorosen.com>
Date: Thu, 28 Nov 2013 17:31:14 -0500
Subject: [PATCH] gpg: Compile-time flag for RSA key sizes > 4096.

  • configure.ac: Added --enable-max-rsa-key-size=SIZE.
  • g10/keygen.c (ask_keysize): Support max RSA key sizes > 4096 when configured by compile-time flag.
  • g10/gpg.c (main): Support larger secmem init size when max RSA key size compile-time flag is set > 4096. --- configure.ac | 33 +++++++++++++++++++++++++++++++++ g10/gpg.c | 5 +++++ g10/keygen.c | 3 +++ 3 files changed, 41 insertions(+)

1.8.4.2

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped