Skip to contentSkip to conversation

Hash sha3-512 vs scripts/sign-file vs openssl

DISCUSSION Genes Lists 1 participant 2 messages Nov 5, 2023 Keys/keyrings

lore
Share & tools
lore
#0 lore raw

Mainline modules signing supports sha3-xxx.

However, unless I'm doing something wonky, signing fails and it appears to come from scripts/sign-file failing in CMS_add1_signer() :

At main.c:321:
- SSL error:2EFFF06F:CMS routines:CRYPTO_internal:ctrl failure: cms/cms_sd.c:269

openssl version here on arch is 3.1.4 and this may quite possibly be related to the following issue with sha3 and ecdsa, but not clear to me.

https://github.com/openssl/openssl/pull/22147

regards,

gene

#1 lore raw
Quoted 2 lines · Genes Lists

Mainline modules signing supports sha3-xxx.

..

Quoted 5 lines

 At main.c:321:
- SSL error:2EFFF06F:CMS routines:CRYPTO_internal:ctrl failure:
cms/cms_sd.c:269

openssl version here on arch is 3.1.4 and this may quite possibly be

..

I confirm that linking sign-file against openssl git head works fine.

So it should be fixed in openssl 3.2

regards,

gene