PKCS12 APIs with fips 3.0
jb-openssl at wisemo.com
Tue Jan 26 11:05:48 UTC 2021
On 2021-01-25 17:53, Zeke Evans wrote:
> Many of the PKCS12 APIs (ie: PKCS12_create, PKCS12_parse,
> PKCS12_verify_mac) do not work in OpenSSL 3.0 when using the fips
> provider. It looks like that is because they try to load PKCS12KDF
> which is not implemented in the fips provider. These were all working
> in 1.0.2 with the fips 2.0 module. Will they be supported in 3.0 with
> fips? If not, is there a way for applications running in fips
> approved mode to support the same functionality and use existing
> stores/files that contain PKCS12 objects?
This is an even larger issue: Is OpenSSL 3.x so badly designed
that the "providers" need to separately implement every standard
or non-standard combination of algorithm invocations?
In a properly abstracted design PKCS12KDF would be implemented by
invoking general EVP functions for underlying algorithms, which
would in turn invoke the provider versions of those algorithms.
The only exception would be if FIPS allowed implementing PKCS12KDF
using an otherwise unapproved algorithm such as SHA1. In that
particular case, it would make sense to check if a provider offered
such as PKCS12KDF variant before trying (and failing) to run
provider-independent code that invokes the provider implementation
of a FIPS-unapproved algorithm.
Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openssl-users