Allow RSA 2048 and 4096 bit keys

Just for reference, here is an old thread with a request for ECC support: