Opened 19 months ago

Last modified 19 months ago

#67252 new defect

p11-kit @0.24.1: fails assertions

Reported by: mouse07410 (Mouse) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: p11-kit

Description

MacOS Ventura 13.3.1, Xcode-14.3, Macports-installed OpenSSL-3.1.0. Examples (invoked via shell script):

$ echo -n 2655f7ada545dd3babe253655c527f12fee4337c7bfe402c8822081d5a5c74fc | xxd -r -p -c 200 | openssl pkeyutl  -encrypt -pubin -inkey "pkcs11:id=%03;type=public" -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha384 -pkeyopt rsa_mgf1_md:sha384 -out /tmp/derive.47555.key.enc
p11-kit: 'bound != NULL' not true at fixed4_C_CloseSession
p11-kit: 'bound != NULL' not true at fixed4_C_CloseSession
p11-kit: 'bound != NULL' not true at fixed4_C_CloseSession
p11-kit: 'bound != NULL' not true at fixed4_C_Finalize

$ openssl pkeyutl  -decrypt -inkey "pkcs11:id=%03;type=private" -pkeyopt rsa_padding_mode:oaep -pkeyopt rsa_oaep_md:sha384 -pkeyopt rsa_mgf1_md:sha384 -in /tmp/derive.47555.key.enc | xxd -p -c 200
Enter pass phrase for PKCS#11 Token (Slot 17 - Yubico YubiKey OTP+FIDO+CCID):
p11-kit: 'bound != NULL' not true at fixed4_C_CloseSession
p11-kit: 'bound != NULL' not true at fixed4_C_CloseSession
p11-kit: 'bound != NULL' not true at fixed4_C_CloseSession
p11-kit: 'bound != NULL' not true at fixed4_C_CloseSession
p11-kit: 'bound != NULL' not true at fixed4_C_CloseSession
p11-kit: 'bound != NULL' not true at fixed4_C_Finalize

KEY1="2655f7ada545dd3babe253655c527f12fee4337c7bfe402c8822081d5a5c74fc"
KEY2="2655f7ada545dd3babe253655c527f12fee4337c7bfe402c8822081d5a5c74fc"

Original and decrypted keys  match

Change History (1)

comment:1 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: p11-kit fails assertionsp11-kit @0.24.1: fails assertions

Thanks for reporting it and also for filing it upstream at https://github.com/p11-glue/p11-kit/issues/495

Note: See TracTickets for help on using tickets.