Re: Unable to load PKCS#12 with password and no MAC

2022-02-28 Thread Hubert Kario
On Thursday, 17 February 2022 10:31:40 CET, Florin Spătar wrote: I see. Thanks for the suggested workaround. Are there any plans for PKCS12_parse to support PKCS12 files without MAC or any plans to use a FIPS approved algorithm for PKCS12 MAC? Any of these would help dealing with PKCS12 files

Re: EVP_PKEY_fromdata_init returns unsupported.

2022-02-28 Thread William Roberts
On Mon, Feb 28, 2022 at 2:59 AM Matt Caswell wrote: > > > > On 25/02/2022 22:07, William Roberts wrote: > > Hello, > > > > In openssl 3.0.1 the following code hits the ctx->keymgt is null check > > and thus returns -2 > > in pmeth_gn.c: > > static int fromdata_init(EVP_PKEY_CTX *ctx, int

Re: EVP_PKEY_fromdata_init returns unsupported.

2022-02-28 Thread Matt Caswell
On 25/02/2022 22:07, William Roberts wrote: Hello, In openssl 3.0.1 the following code hits the ctx->keymgt is null check and thus returns -2 in pmeth_gn.c: static int fromdata_init(EVP_PKEY_CTX *ctx, int operation) { if (ctx == NULL || ctx->keytype == NULL) goto not_supported;