SecureBlackbox 16: How Do I Create Keys Compatible with PGP 2.6.x?


PGP 2.6.x accepts only RSA keys without subkeys, encrypted with the IDEA algorithm. Thus, you should use the following call to the Generate method:

Generate("your-password", // key password 1024, // bits SB_PGP_ALGORITHM_PK_RSA, // RSA algorithm true, // use old (2.6.x ) format 0 // never expires );

We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@nsoftware.com.