How to create non-standard key pair
Ben McGinnes
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
platform:
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
this:
unsigned nbits, min, def=2048, max=4096;
To this:
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.
Regards,
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20110115/25ac5087/attachment.pgp>
More information about the Gnupg-users
mailing list