Some that cannot be decrypted and get the above error are:
Format: PKCS8, Keycipher: aes-128-cfb | fail |
Format: PKCS8, Keycipher: aes-128-ofb | fail |
Any clarity you could provide would be very helpful.
TREND MICRO EMAIL NOTICE
The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and
we request that you notify us by reply mail or telephone and delete the original message from your mail system.
For details about what personal information we collect and why, please see our Privacy Notice on our website at:
Re: Clarity on "no key size for algorithm" exception
As you can see there are lots of algorithms. We add support for them as
they are reported to us. Usually we already support all the crypto and
are just missing an OID entry in a table, which is the immediate cause
of this failure (missing an entry for RC2_CBC, although we have e.g.
pbeWithSHAAnd128BitRC2_CBC) - it's not always obvious what is the best
OID to use, nor what other software will choose.
It might be best to open an issue at https://github.com/bcgit/bc-java,
including the exact openssl command line(s) and sample Java code that
you are using so that we can be sure that we are fixing your use case.