wohaph / keyczar

Automatically exported from code.google.com/p/keyczar
0 stars 0 forks source link

Support for RSA keys with 4096 bits #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Attached is a fix to KeyType classe to allow KeyczarTool to generate 4096 RSA 
keys, and a test case.
java org.keyczar.KeyczarTool addkey 
--location=/home/lafa/keyczar/keys/testac01/ --status=primary --size=4096

What is the expected output? 
without the fix, no error or warnings are generate but the key size generated 
is 2048 max.

What do you see instead?
with the fix, key size generated is 4096 max.

What version of the product are you using? 
Code from trunk.

On what operating system?
linux/java

This fix I tested the Fix with the RSA4096KeyTest also part of the patch. This 
fix is only for the java version of keyczar.

Please provide any additional information below.

Original issue reported on code.google.com by lafaspot on 21 Jun 2010 at 9:42

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you. Fixed. 

Original comment by stevew...@gmail.com on 22 Jun 2010 at 1:14