Large keys

When generating a new key pair, you have to choose how large the private key should be.

As of October 2014, GnuPG's default is to use 2048 bit RSA keys. This recommendation will serve most users best. Please also refer to the FAQs on keysize.

There is an ongoing debate on the gnupg-users mailing list about what the future default length should be and what sizes should be supported.

Note that the principle author of GnuPG, Werner Koch recommends to not use private keys larger than 4 KiB. He believes 8 KiB to be a practical upper limit that GnuPG should technically support. See, for instance, his statement in Debian Issue739424. Since version 2.0.27 and 1.4.19 GnuPG can be compiled with --enable-large-secmem to offer a --enable-large-rsa option that can create keys up to 8 KiB. Some elder versions supported creating of keys up to 16 KiB.

The main arguments (TODO) are:

LargeKeys (last edited 2016-03-11 16:37:34 by bernhard)