Describe the bug
Clean build from 8055658 and the first two basic test scripts are failing. Looks like some tests are expected to fail but the script doesn't seem to handle it
## Meant to fail? But testsuite does not handle the expected FAIL?
## Raw Sign check error
openssl
pkeyutl -sign -inkey "${BASEURI}"
-pkeyopt pad-mode:none
-in ${TMPPDIR}/64Brandom.bin
-out ${TMPPDIR}/raw-sig.bin
Public Key operation error
009E8656B27F0000:error:0200007A:rsa routines:p11prov_sig_operate:data too small for key size:signature.c:894:
To Reproduce
Steps to reproduce the behavior:
autoreconf -fi; ./configure; make; make check
Executing ./tbasic (softhsm)
## Raw Sign check error
openssl
pkeyutl -sign -inkey "${BASEURI}"
-pkeyopt pad-mode:none
-in ${TMPPDIR}/64Brandom.bin
-out ${TMPPDIR}/raw-sig.bin
Public Key operation error
009E8656B27F0000:error:0200007A:rsa routines:p11prov_sig_operate:data too small for key size:signature.c:894:
Executing ./tbasic (nss-softokn)
## Raw Sign check error
openssl
pkeyutl -sign -inkey "${BASEURI}"
-pkeyopt pad-mode:none
-in ${TMPPDIR}/64Brandom.bin
-out ${TMPPDIR}/raw-sig.bin
Public Key operation error
009EC039B67F0000:error:0200007A:rsa routines:p11prov_sig_operate:data too small for key size:signature.c:894:
$ grep error *.log
basic-softhsm.log:## Raw Sign check error
basic-softhsm.log:Public Key operation error
basic-softhsm.log:009E8656B27F0000:error:0200007A:rsa routines:p11prov_sig_operate:data too small for key size:signature.c:894:
basic-softokn.log:## Raw Sign check error
basic-softokn.log:Public Key operation error
basic-softokn.log:009EC039B67F0000:error:0200007A:rsa routines:p11prov_sig_operate:data too small for key size:signature.c:894:
democa-softhsm.log:000E95C1B67F0000:error:40800054:pkcs11:p11prov_GetOperationState:reason(84):interface.gen.c:279:Error returned by C_GetOperationState
democa-softhsm.log:005E457B767F0000:error:40800054:pkcs11:p11prov_GetOperationState:reason(84):interface.gen.c:279:Error returned by C_GetOperationState
democa-softhsm.log:004EE6435C7F0000:error:40800054:pkcs11:p11prov_GetOperationState:reason(84):interface.gen.c:279:Error returned by C_GetOperationState
democa-softhsm.log:00AEAE62067F0000:error:40800054:pkcs11:p11prov_GetOperationState:reason(84):interface.gen.c:279:Error returned by C_GetOperationState
democa-softhsm.log:009E8EA8ED7F0000:error:40800054:pkcs11:p11prov_GetOperationState:reason(84):interface.gen.c:279:Error returned by C_GetOperationState
democa-softokn.log:00BE807D427F0000:error:40800091:pkcs11:p11prov_GetOperationState:There is no active operation of appropriate type in the specified session:interface.gen.c:279:Error returned by C_GetOperationState
democa-softokn.log:008E0E6D637F0000:error:40800091:pkcs11:p11prov_GetOperationState:There is no active operation of appropriate type in the specified session:interface.gen.c:279:Error returned by C_GetOperationState
democa-softokn.log:006E63D3B17F0000:error:40800091:pkcs11:p11prov_GetOperationState:There is no active operation of appropriate type in the specified session:interface.gen.c:279:Error returned by C_GetOperationState
democa-softokn.log:006EB4574F7F0000:error:40800091:pkcs11:p11prov_GetOperationState:There is no active operation of appropriate type in the specified session:interface.gen.c:279:Error returned by C_GetOperationState
rand-softhsm.log:00DE2DE1D87F0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:341:Global default library context, Algorithm (PKCS11-RAND : 0), Properties (<null>)
rand-softhsm.log:00DE2DE1D87F0000:error:12000090:random number generator:rand_new_drbg:unable to fetch drbg:crypto/rand/rand_lib.c:571:
rand-softokn.log:00FE3F16067F0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:341:Global default library context, Algorithm (PKCS11-RAND : 0), Properties (<null>)
rand-softokn.log:00FE3F16067F0000:error:12000090:random number generator:rand_new_drbg:unable to fetch drbg:crypto/rand/rand_lib.c:571:
Describe the bug Clean build from 8055658 and the first two basic test scripts are failing. Looks like some tests are expected to fail but the script doesn't seem to handle it
To Reproduce Steps to reproduce the behavior:
autoreconf -fi; ./configure; make; make check
Expected behavior All tests PASS
Operating environment (please complete the following information):
Token and application used (please complete the following information):
Additional context