EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SecureBlackBox PGP .NET

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#29118
Posted: 04/04/2014 03:56:46
by Rosso (Basic support level)
Joined: 04/03/2014
Posts: 18

Hello,

i have some questions about the SecureBlackbox.PGP.


When i create an RSA key with the following method:

Code
await SecretKey.GenerateAsync("pass", 4096, SBPGPConstants.Unit.SB_PGP_ALGORITHM_PK_RSA, "name", false, 0);


i get an 4096 bit RSA keypair, which works fine.

1. Whats the maximum length i can define for RSA keys?


I also found the parameter
Code
Curve
in your documentation.

2. So is it possible to generate keypairs with elliptic curves for encrypting files with PGP (and which
Code
SBPGPConstants.Unit
i must use for this)?

3. Are there plans for curve22519?
#29119
Posted: 04/04/2014 04:28:01
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Quote
1. Whats the maximum length i can define for RSA keys?

The limit is set to 8192 bits by default. You can increase it using SBCryptoProvBuiltInEx.Unit.BuiltInCryptoProviderEx().Options.MaxPublicKeySize property.

Quote
2. So is it possible to generate keypairs with elliptic curves for encrypting files with PGP (and which

Yes its possible. Please use SB_PGP_ALGORITHM_PK_ECDSA constant.

Quote
3. Are there plans for curve22519?

They are, but its not implemented yet.

Reply

Statistics

Topic viewed 291 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!