How to create non-standard key pair
ben at adversary.org
Fri Jan 14 22:01:55 CET 2011
On 13/01/11 6:10 AM, jack seth wrote:
> I am needing to do some testing with these size keys. Can someone
> advise me on how to modify the code to generate these keys?
Seriously? Really? Well, okay ... this is for GnuPG 1.4.11 on a *nix
Extract the tarball, cd to /path/to/gnupg-1.4.11/g10 then open
keygen.c in a text editor. Jump down to line no. 1,580 and change
unsigned nbits, min, def=2048, max=4096;
unsigned nbits, min, def=2048, max=16384;
Then do the configure, make, make install dance.
There are, of course, no guarantees that this will play nice with
others and if you're trying to do this on Windows, I can't help.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 227 bytes
Desc: OpenPGP digital signature
More information about the Gnupg-users