openssl dgst -sha256 -binary -out ${TMPPDIR}/sha256.bin ${SEEDFILE}
openssl
pkeyutl -sign -inkey "${PRIURI}"
-in ${TMPPDIR}/sha256.bin
-out ${TMPPDIR}/sha256-sig.bin
openssl
pkeyutl -verify -inkey "${PUBURI}"
-pubin
-in ${TMPPDIR}/sha256.bin
-sigfile ${TMPPDIR}/sha256-sig.bin
Signature Verified Successfully
## Sign and Verify with provided Hash and RSA with DigestInfo struct
openssl dgst -sha256 -binary -out ${TMPPDIR}/sha256.bin ${SEEDFILE}
openssl
pkeyutl -sign -inkey "${PRIURI}" -pkeyopt digest:sha256
-in ${TMPPDIR}/sha256.bin
-out ${TMPPDIR}/sha256-sig.bin
openssl
pkeyutl -verify -inkey "${PUBURI}" -pkeyopt digest:sha256
-pubin
-in ${TMPPDIR}/sha256.bin
-sigfile ${TMPPDIR}/sha256-sig.bin
Signature Verified Successfully
## DigestSign and DigestVerify with RSA
openssl
pkeyutl -sign -inkey "${BASEURI}"
-digest sha256
-in ${RAND64FILE}
-rawin
-out ${TMPPDIR}/sha256-dgstsig.bin
openssl
pkeyutl -verify -inkey "${BASEURI}" -pubin
-digest sha256
-in ${RAND64FILE}
-rawin
-sigfile ${TMPPDIR}/sha256-dgstsig.bin
Signature Verified Successfully
openssl
pkeyutl -verify -inkey "${PUBURI}"
-pubin
-digest sha256
-in ${RAND64FILE}
-rawin
-sigfile ${TMPPDIR}/sha256-dgstsig.bin
Signature Verified Successfully
RSA basic encrypt and decrypt
openssl
pkeyutl -encrypt -inkey "${PUBURI}" -pubin
-in ${SECRETFILE}
-out ${SECRETFILE}.enc
openssl
pkeyutl -decrypt -inkey "${PRIURI}"
-in ${SECRETFILE}.enc
-out ${SECRETFILE}.dec
## Test Disallow Public Export
openssl pkey -in $PUBURI -pubin -pubout -text
## Test CSR generation from RSA private keys
openssl
req -new -batch -key "${PRIURI}" -out ${TMPPDIR}/rsa_csr.pem
openssl
req -in ${TMPPDIR}/rsa_csr.pem -verify -noout
Certificate request self-signature verify OK
## Test fetching public keys without PIN in config files
openssl pkey -in $PUBURI -pubin -pubout -out ${TMPPDIR}/rsa.pub.nopin.pem
openssl pkey -in $ECPUBURI -pubin -pubout -out ${TMPPDIR}/ec.pub.nopin.pem
openssl pkey -in $EDPUBURI -pubin -pubout -out ${TMPPDIR}/ed.pub.nopin.pem
## Test fetching public keys with a PIN in URI
openssl pkey -in $BASEURIWITHPINVALUE -pubin -pubout -out ${TMPPDIR}/rsa.pub.uripin.pem
openssl pkey -in $ECBASEURIWITHPINVALUE -pubin -pubout -out ${TMPPDIR}/ec.pub.uripin.pem
openssl pkey -in $EDBASEURIWITHPINVALUE -pubin -pubout -out ${TMPPDIR}/ed.pub.uripin.pem
openssl pkey -in $ED2BASEURIWITHPINVALUE -pubin -pubout -out ${TMPPDIR}/ed2.pub.uripin.pem
## Test fetching public keys with a PIN source in URI
openssl pkey -in $BASEURIWITHPINSOURCE -pubin -pubout -out ${TMPPDIR}/rsa.pub.uripinsource.pem
openssl pkey -in $ECBASEURIWITHPINSOURCE -pubin -pubout -out ${TMPPDIR}/ec.pub.uripinsource.pem
openssl pkey -in $EDBASEURIWITHPINSOURCE -pubin -pubout -out ${TMPPDIR}/ed.pub.uripinsource.pem
openssl pkey -in $ED2BASEURIWITHPINSOURCE -pubin -pubout -out ${TMPPDIR}/ed2.pub.uripinsource.pem
## Test prompting without PIN in config fileshalt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=246 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper basic-kryoptic.t
## Test EVP_PKEY_eq on public RSA key both on token
## Test EVP_PKEY_eq on public EC key both on token
## Test EVP_PKEY_eq on public RSA key via import
## Match private RSA key against public key
## Match private RSA key against public key (commutativity)
## Test EVP_PKEY_eq on public EC key via import
## Match private EC key against public key
## Match private EC key against public key (commutativity)
## Test EVP_PKEY_eq with key exporting disabled
## Test RSA key
## Test EC key
## Test PIN caching
Prompt: "Enter pass phrase for PKCS#11 Token (Slot 1294896537 - SoftHSM slot ID 0x4d2e8d99):"
Returning: 12345678
Child Done
ALL A-OK!
Prompt: "Enter pass phrase for PKCS#11 Token (Slot 1294896537 - SoftHSM slot ID 0x4d2e8d99):"
Returning: 12345678
Child Done
ALL A-OK!
## Test interactive Login on key without ALWAYS AUTHENTICATE
expect: spawn id exp3 not open
while executing
"expect "ALL A-OK""
## Test interactive Login repeated for operation on key with ALWAYS AUTHENTICATE
expect: spawn id exp3 not open
while executing
"expect "ALL A-OK""
## Test Key generation
Performed tests: 4 ==============================================================================
==================================== 7/92 ====================================
test: pkcs11-provider:kryoptic / basic
start time: 10:06:44
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
==============================================================================tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper basic-kryoptic.
==================================== 8/92 ====================================
test: pkcs11-provider:kryoptic.nss / basic
start time: 10:06:44
duration: 0.01s
result: exit status 77
command: MALLOC_PERTURB_=111 TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
==============================================================================halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=94 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper pubkey-softokn.t
==================================== 9/92 ====================================
test: pkcs11-provider:softokn / pubkey
start time: 10:06:44
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
==============================================================================halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=240 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper pubkey-softhsm.t
=================================== 10/92 ====================================
test: pkcs11-provider:softhsm / pubkey
start time: 10:06:44
duration: 0.35s
result: exit status 0
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
----------------------------------- stdout -----------------------------------
Executing /build/reproducible-path/pkcs11-provider-1.0/tests/tpubkey
## Export RSA Public key to a file
openssl pkey -in $BASEURI -pubin -pubout -out ${TMPPDIR}/baseout.pub
Export Public key to a file (pub-uri)
openssl pkey -in $PUBURI -pubin -pubout -out ${TMPPDIR}/pubout.pub
Print Public key from private
openssl pkey -in $PRIURI -pubout -text
## Export Public check error
openssl pkey -in pkcs11:id=%de%ad -pubin
-pubout -out ${TMPPDIR}/pubout-invlid.pub
Could not find private key of Public Key from pkcs11:id=%de%ad
## Export EC Public key to a file
openssl pkey -in $ECBASEURI -pubin -pubout -out ${TMPPDIR}/baseecout.pub
Export EC Public key to a file (pub-uri)
openssl pkey -in $ECPUBURI -pubin -pubout -out ${TMPPDIR}/pubecout.pub
Print EC Public key from private
openssl pkey -in $ECPRIURI -pubout -text
## Check we can get RSA public keys from certificate objects
Export Public key to a file (priv-uri)
openssl pkey -in $PRI2URI -pubout -out ${TMPPDIR}/priv-cert.pub
Export Public key to a file (base-uri)
openssl pkey -in $BASE2URI -pubout -out ${TMPPDIR}/base-cert.pub
## Check we can get EC public keys from certificate objectshalt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=107 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper pubkey-kryoptic.t
Export Public EC key to a file (priv-uri)
openssl pkey -in $ECPRI2URI -pubout -out ${TMPPDIR}/ec-priv-cert.pub
Export Public key to a file (base-uri)
openssl pkey -in $ECBASE2URI -pubout -out ${TMPPDIR}/ec-base-cert.pub
==============================================================================
=================================== 11/92 ====================================
test: pkcs11-provider:kryoptic / pubkey
start time: 10:06:44
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
==============================================================================halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=93 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper pubkey-kryoptic.
=================================== 12/92 ====================================
test: pkcs11-provider:kryoptic.nss / pubkey
start time: 10:06:44
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
==============================================================================halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=21 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper certs-softokn.t
=================================== 13/92 ====================================
test: pkcs11-provider:softokn / certs
start time: 10:06:44
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
==============================================================================tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper certs-softhsm.t
=================================== 14/92 ====================================
test: pkcs11-provider:softhsm / certs
start time: 10:06:44
duration: 0.21s
result: exit status 0
command: MALLOC_PERTURB_=68 TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
----------------------------------- stdout -----------------------------------
Executing /build/reproducible-path/pkcs11-provider-1.0/tests/tcerts
## Check we can fetch certifiatce objects
openssl
x509 -in ${CRTURI} -subject -out ${TMPPDIR}/crt-subj.txt
openssl
x509 -in ${ECCRTURI} -subject -out ${TMPPDIR}/eccrt-subj.txt
## Use storeutl command to match specific certs via params
openssl
storeutl -certs -subject "${subj}"
-out ${TMPPDIR}/storeutl-crt-subj.txt
pkcs11:type=cert
0: Certificate
openssl
storeutl -certs -subject "${subj}"
-out ${TMPPDIR}/storeutl-crt-subj.txt
pkcs11:type=cert
0: Certificate
openssl
storeutl -certs -subject "${subj}"
-out ${TMPPDIR}/storeutl-crt-subj.txt
pkcs11:type=cert
0: Certificate
openssl
storeutl -certs -subject "${subj}"
-out ${TMPPDIR}/storeutl-crt-subj.txt
pkcs11:type=cert
0: Certificate
## Test fetching certificate without PIN in config files
openssl x509 -in $CRTURI -subject -out ${TMPPDIR}/crt-subj-nopin.txt
## Test fetching certificate via STORE apitests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper certs-kryoptic.t
Cert load successfully ==============================================================================
=================================== 15/92 ====================================
test: pkcs11-provider:kryoptic / certs
start time: 10:06:44
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=127 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
==============================================================================tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper certs-kryoptic.
=================================== 16/92 ====================================
test: pkcs11-provider:kryoptic.nss / certs
start time: 10:06:44
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=194 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
==============================================================================tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper ecc-softokn.t
=================================== 17/92 ====================================
test: pkcs11-provider:softokn / ecc
start time: 10:06:44
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MALLOC_PERTURB_=71 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
==============================================================================halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=115 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper ecc-softhsm.t
=================================== 18/92 ====================================
test: pkcs11-provider:softhsm / ecc
start time: 10:06:44
duration: 0.44s
result: exit status 0
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
----------------------------------- stdout -----------------------------------tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper ecc-kryoptic.t
Executing /build/reproducible-path/pkcs11-provider-1.0/tests/tecc
## Export EC Public key to a file
openssl pkey -in $ECPUBURI -pubin -pubout -out ${TMPPDIR}/ecout.pub
Print EC Public key from private
openssl pkey -in $ECPRIURI -pubout -text
## Sign and Verify with provided Hash and EC
openssl dgst -sha256 -binary -out ${TMPPDIR}/sha256.bin ${SEEDFILE}
openssl
pkeyutl -sign -inkey "${ECBASEURI}"
-in ${TMPPDIR}/sha256.bin
-out ${TMPPDIR}/sha256-ecsig.bin
openssl
pkeyutl -verify -inkey "${ECBASEURI}" -pubin
-in ${TMPPDIR}/sha256.bin
-sigfile ${TMPPDIR}/sha256-ecsig.bin
Signature Verified Successfully
openssl
pkeyutl -verify -inkey "${TMPPDIR}/ecout.pub" -pubin
-in ${TMPPDIR}/sha256.bin
-sigfile ${TMPPDIR}/sha256-ecsig.bin
Signature Verified Successfully
## DigestSign and DigestVerify with ECC (SHA-256)
openssl
pkeyutl -sign -inkey "${ECBASEURI}"
-digest sha256
-in ${RAND64FILE}
-rawin
-out ${TMPPDIR}/sha256-ecdgstsig.bin
openssl
pkeyutl -verify -inkey "${ECBASEURI}" -pubin
-digest sha256
-in ${RAND64FILE}
-rawin
-sigfile ${TMPPDIR}/sha256-ecdgstsig.bin
Signature Verified Successfully
## DigestSign and DigestVerify with ECC (SHA-384)
openssl
pkeyutl -sign -inkey "${ECBASEURI}"
-digest sha384
-in ${RAND64FILE}
-rawin
-out ${TMPPDIR}/sha384-ecdgstsig.bin
openssl
pkeyutl -verify -inkey "${ECBASEURI}" -pubin
-digest sha384
-in ${RAND64FILE}
-rawin
-sigfile ${TMPPDIR}/sha384-ecdgstsig.bin
Signature Verified Successfully
## DigestSign and DigestVerify with ECC (SHA-512)
openssl
pkeyutl -sign -inkey "${ECBASEURI}"
-digest sha512
-in ${RAND64FILE}
-rawin
-out ${TMPPDIR}/sha512-ecdgstsig.bin
openssl
pkeyutl -verify -inkey "${ECBASEURI}" -pubin
-digest sha512
-in ${RAND64FILE}
-rawin
-sigfile ${TMPPDIR}/sha512-ecdgstsig.bin
Signature Verified Successfully
## DigestSign and DigestVerify with ECC (SHA3-256)
openssl
pkeyutl -sign -inkey "${ECBASEURI}"
-digest sha3-256
-in ${RAND64FILE}
-rawin
-out ${TMPPDIR}/sha3-256-ecdgstsig.bin
openssl
pkeyutl -verify -inkey "${ECBASEURI}" -pubin
-digest sha3-256
-in ${RAND64FILE}
-rawin
-sigfile ${TMPPDIR}/sha3-256-ecdgstsig.bin
Signature Verified Successfully
## DigestSign and DigestVerify with ECC (SHA3-384)
openssl
pkeyutl -sign -inkey "${ECBASEURI}"
-digest sha3-384
-in ${RAND64FILE}
-rawin
-out ${TMPPDIR}/sha3-384-ecdgstsig.bin
openssl
pkeyutl -verify -inkey "${ECBASEURI}" -pubin
-digest sha3-384
-in ${RAND64FILE}
-rawin
-sigfile ${TMPPDIR}/sha3-384-ecdgstsig.bin
Signature Verified Successfully
## DigestSign and DigestVerify with ECC (SHA3-512)
openssl
pkeyutl -sign -inkey "${ECBASEURI}"
-digest sha3-512
-in ${RAND64FILE}
-rawin
-out ${TMPPDIR}/sha3-512-ecdgstsig.bin
openssl
pkeyutl -verify -inkey "${ECBASEURI}" -pubin
-digest sha3-512
-in ${RAND64FILE}
-rawin
-sigfile ${TMPPDIR}/sha3-512-ecdgstsig.bin
Signature Verified Successfully
## Test CSR generation from private ECC keys
openssl
req -new -batch -key "${ECPRIURI}" -out ${TMPPDIR}/ecdsa_csr.pem
openssl
req -in ${TMPPDIR}/ecdsa_csr.pem -verify -noout
Certificate request self-signature verify OK ==============================================================================
=================================== 19/92 ====================================
test: pkcs11-provider:kryoptic / ecc
start time: 10:06:45
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=161 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
==============================================================================tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper ecc-kryoptic.nss.t
=================================== 20/92 ====================================
test: pkcs11-provider:kryoptic.nss / ecc
start time: 10:06:45
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=5 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
==============================================================================tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper edwards-softhsm.t
=================================== 21/92 ====================================
test: pkcs11-provider:softhsm / edwards
start time: 10:06:45
duration: 1.00s
result: exit status 0
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MALLOC_PERTURB_=242 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
----------------------------------- stdout -----------------------------------halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=73 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper edwards-kryoptic.t
Executing /build/reproducible-path/pkcs11-provider-1.0/tests/tedwards
## Export ED25519 Public key to a file
openssl pkey -in $EDPUBURI -pubin -pubout -out ${TMPPDIR}/edout.pub
Print ED25519 Public key from private
openssl pkey -in $EDPRIURI -pubout -text
## DigestSign and DigestVerify with ED25519
openssl
pkeyutl -sign -inkey "${EDBASEURI}"
-in ${RAND64FILE}
-rawin
-out ${TMPPDIR}/sha256-eddgstsig.bin
openssl
pkeyutl -verify -inkey "${EDBASEURI}" -pubin
-in ${RAND64FILE}
-rawin
-sigfile ${TMPPDIR}/sha256-eddgstsig.bin
Signature Verified Successfully
## Test CSR generation from private ED25519 keys
openssl
req -new -batch -key "${EDPRIURI}" -out ${TMPPDIR}/ed25519_csr.pem
openssl
req -in ${TMPPDIR}/ed25519_csr.pem -verify -noout
Certificate request self-signature verify OK
## Test EVP_PKEY_eq on public Edwards key both on token
## Test EVP_PKEY_eq on public ED key via import
## Match private ED key against public key
## Match private ED key against public key (commutativity)
## Test Key generation
Performed tests: 1
## Export ED448 Public key to a file
openssl pkey -in $ED2PUBURI -pubin -pubout -out ${TMPPDIR}/ed2out.pub
Print ED448 Public key from private
openssl pkey -in $ED2PRIURI -pubout -text
## DigestSign and DigestVerify with ED448
openssl
pkeyutl -sign -inkey "${ED2BASEURI}"
-in ${RAND64FILE}
-rawin
-out ${TMPPDIR}/sha256-eddgstsig.bin
openssl
pkeyutl -verify -inkey "${ED2BASEURI}" -pubin
-in ${RAND64FILE}
-rawin
-sigfile ${TMPPDIR}/sha256-eddgstsig.bin
Signature Verified Successfully
## Test CSR generation from private ED448 keys
openssl
req -new -batch -key "${ED2PRIURI}" -out ${TMPPDIR}/ed448_csr.pem
openssl
req -in ${TMPPDIR}/ed448_csr.pem -verify -noout
Certificate request self-signature verify OK
## Test EVP_PKEY_eq on public Edwards key both on token
## Test EVP_PKEY_eq on public ED448 key via import
## Match private ED448 key against public key
## Match private ED448 key against public key (commutativity)
## Test Ed448 Key generation
Performed tests: 1
## Test interactive Login on key without ALWAYS AUTHENTICATE
expect: spawn id exp3 not open
while executing
"expect "ALL A-OK"" ==============================================================================
=================================== 22/92 ====================================
test: pkcs11-provider:kryoptic / edwards
start time: 10:06:46
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
==============================================================================halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=172 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper edwards-kryoptic.
=================================== 23/92 ====================================
test: pkcs11-provider:kryoptic.nss / edwards
start time: 10:06:46
duration: 0.02s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
==============================================================================halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=81 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper ecdh-softokn.t
=================================== 24/92 ====================================
test: pkcs11-provider:softokn / ecdh
start time: 10:06:46
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
==============================================================================path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests MALLOC_PERTURB_=88 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper ecdh-kryoptic.t
=================================== 25/92 ====================================
test: pkcs11-provider:kryoptic / ecdh
start time: 10:06:46
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 TESTBLDDIR=/build/reproducible-
==============================================================================halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=47 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper ecdh-kryoptic.nss.
=================================== 26/92 ====================================
test: pkcs11-provider:kryoptic.nss / ecdh
start time: 10:06:46
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
==============================================================================halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=44 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper democa-softokn.t
=================================== 27/92 ====================================
test: pkcs11-provider:softokn / democa
start time: 10:06:46
duration: 0.01s
result: exit status 77
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/tests ASAN_OPTIONS=
==============================================================================tests ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MESON_TEST_ITERATION=1 /build/reproducible-path/pkcs11-provider-1.0/tests/test-wrapper democa-softhsm.t
=================================== 28/92 ====================================
test: pkcs11-provider:softhsm / democa
start time: 10:06:46
duration: 0.78s
result: exit status 0
command: TEST_PATH=/build/reproducible-path/pkcs11-provider-1.0/tests MALLOC_PERTURB_=156 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 TESTBLDDIR=/build/reproducible-path/pkcs11-provider-1.0/obj-x86_64-linux-gnu/
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (1 / 15) |
Uptime: | 159:50:29 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,056 |
Messages: | 6,416,491 |