H Concept,
...because it doesn't have the dmp1 (m_dp) and dmq1 (m_dq) values stored.
It's part of the private key (p and q). Is Load() throwing and error? Forgive my ignorance - I've never tried to load a PGP key. But I thought Crypto++ has PGP support (though I don't know all the details). I recently tried the encoding/decoding. See http://groups.google.com/group/cryptopp-users/browse_frm/thread/3fb20aaa9b71de8c/b0f9438b7feba5e7?hl=en& For a private key, call Load() on an decryptor (I'm not sure if an Encryption object has the other parameters besides the public exponent). Jeff On 1/8/07, Concept <[EMAIL PROTECTED]> wrote:
I am currently using 1024 bit RSA encryption, and I need to support openPGP key files. I can convert the BER encoded private key file to openPGP easily enough, but converting from openPGP to a BER encoded file is difficult because it doesn't have the dmp1 (m_dp) and dmq1 (m_dq) values stored. I really don't want to have to write my own functions to compute them. Is there a way to read/write directly to an openPGP compatible format? >
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cryptopp-users?hl=en -~----------~----~----~----~------~----~------~--~---
