]> git.ipfire.org Git - thirdparty/openssl.git/commit
PROV & STORE: Don't decode keys in the 'file:' store loader
authorRichard Levitte <levitte@openssl.org>
Fri, 2 Jul 2021 10:29:23 +0000 (12:29 +0200)
committerRichard Levitte <levitte@openssl.org>
Sat, 3 Jul 2021 17:44:15 +0000 (19:44 +0200)
commit0550cdeb802a2462c4d59e0fc15a1f773054bc65
treed7abad8fcf8413342903ebf5393610986f2967aa
parenta9fa32c2a082dc91fc2c2255c2ccef7dce0e9ee4
PROV & STORE: Don't decode keys in the 'file:' store loader

This makes the 'file:' store loader only read the file, and only decode
down to a base level binary format, and simply pass that blob of data
back to the OSSL_FUNC_store_load() object callback.

This offloads the decoding into specific OpenSSL types to libcrypto,
which takes away the issue of origins, which provider is it that holds
the key (or other future types of objects).

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15981)
providers/implementations/storemgmt/file_store.c