[MacPorts] #67252: p11-kit fails assertions

MacPorts noreply at macports.org
Sun Apr 16 22:11:36 UTC 2023


#67252: p11-kit fails assertions
------------------------+---------------------
 Reporter:  mouse07410  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  p11-kit
------------------------+---------------------
 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67252>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list