I have an RSA decrypt key generated with crypto++ 4.2 that throws an
BERDecodeError in 5.2.1. The stack trace is:CryptoPP::BERDecodeError() line 49 + 28 bytesThe key works just fine in 4.2. Walking 5.2.1 and 4.2 in parallel, the difference to be code in 4.2 absent from 5.2.1: InvertibleRSAFunction::InvertibleRSAFunction(BufferedTransformation &bt)In 4.2, the _expression_ "privateKeyInfo.PeekByte() == INTEGER" is true. This is obviously a compatibility problem. Is there a) a way to get 5.2.1 to accept my key, or b) a way to reconstruct my keys from 4.2 to 5.2.1. I was quite content with 4.2, which strikes me has smaller and more suitable for embedded use, but I have been unable to get it work on AMD64. I really need only RSA, SHA, DES, and probably AES for the future, so almost any cross platform solution is acceptable, whether 4.2 or 5.2.1. |
- Re: RSA Key Format Compatibility Problem Jim Starkey
- Re: RSA Key Format Compatibility Problem Jim Starkey
- Re[2]: RSA Key Format Compatibility Problem Russell Robinson
