Hi,
    while trying to discover the reason of a failure while doing
RSASSA_PKCS1v15_MD5_Signer rsaPriv(privateKey), I discovered that optional
PKCS#8 attributes are never decoded (rsa.h, line#98).
This in turn is called from asn.cpp, line#534. Nex line raises an exception
since overal seq length does not match actual fetched length (in
MessageEnd).
I feel that the passed private key is ok even with such attributes, thus it
looks like a Crypto++ bug.
Thanks,

Renzo Tomaselli

Reply via email to