[openssl-users] Unable to decrypt CMS object encrypted with EC prime256v1 certificate
Dr. Stephen Henson
steve at openssl.org
Wed Jul 6 22:16:48 UTC 2016
On Wed, Jul 06, 2016, Stephan M?hlstrasser wrote:
>
> While doing research on this, we found one thing that looks
> suspicious in the CMS objects generated by OpenSSL 1.0.2. When
> dumping the CMS object with dumpasn1, the key wrap algorithm is
> encoded as follows:
>
> SEQUENCE {
> OBJECT IDENTIFIER '1 3 132 1 11 3'
> SEQUENCE {
> OBJECT IDENTIFIER aes256-wrap (2 16 840 1 101 3 4 1 45)
> NULL
> }
> }
>
That's strange: I just tried OpenSSL 1.0.2 and the master branch and I don't
get a NULL in either case.
Also that algorithm isn't something you'd get by default with OpenSSL. Has it
been modified in some way?
Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
More information about the openssl-users
mailing list