>>> ima-evm-utils: Building community/ima-evm-utils 1.6.2-r1 (using abuild 3.15.0-r1) started Wed, 22 Oct 2025 06:41:35 +0000 >>> ima-evm-utils: Validating /home/udu/aports/community/ima-evm-utils/APKBUILD... >>> ima-evm-utils: Analyzing dependencies... >>> ima-evm-utils: Installing for build: build-base asciidoc attr-dev autoconf automake bash diffutils docbook-xsl keyutils-dev libtool libxslt linux-headers openssl-dev>3 tpm2-tss-dev xxd attr e2fsprogs e2fsprogs-extra gawk util-linux-misc WARNING: opening /home/udu/packages//community: No such file or directory WARNING: opening /home/udu/packages//main: No such file or directory (1/64) Installing libxml2 (2.13.9-r0) (2/64) Installing libxml2-utils (2.13.9-r0) (3/64) Installing docbook-xml (4.5-r10) Executing docbook-xml-4.5-r10.post-install (4/64) Installing libxslt (1.1.43-r3) (5/64) Installing docbook-xsl-ns (1.79.2-r11) Executing docbook-xsl-ns-1.79.2-r11.post-install (6/64) Installing docbook-xsl-nons (1.79.2-r11) Executing docbook-xsl-nons-1.79.2-r11.post-install (7/64) Installing docbook-xsl (1.79.2-r11) (8/64) Installing asciidoc-pyc (10.2.1-r0) (9/64) Installing asciidoc (10.2.1-r0) (10/64) Installing libattr (2.5.2-r2) (11/64) Installing attr-dev (2.5.2-r2) (12/64) Installing m4 (1.4.19-r4) (13/64) Installing perl (5.40.3-r0) (14/64) Installing autoconf (2.72-r1) (15/64) Installing automake (1.17-r1) (16/64) Installing diffutils (3.12-r0) (17/64) Installing keyutils-libs (1.6.3-r4) (18/64) Installing keyutils-dev (1.6.3-r4) (19/64) Installing libltdl (2.5.4-r1) (20/64) Installing libtool (2.5.4-r1) (21/64) Installing linux-headers (6.14.2-r0) (22/64) Installing openssl-dev (3.5.4-r0) (23/64) Installing json-c (0.18-r1) (24/64) Installing json-c-dev (0.18-r1) (25/64) Installing brotli (1.1.0-r2) (26/64) Installing brotli-dev (1.1.0-r2) (27/64) Installing c-ares-dev (1.34.5-r0) (28/64) Installing libidn2-dev (2.3.7-r0) (29/64) Installing libpsl-utils (0.21.5-r3) (30/64) Installing libpsl-dev (0.21.5-r3) (31/64) Installing nghttp2-dev (1.65.0-r0) (32/64) Installing zlib-dev (1.3.1-r2) (33/64) Installing zstd (1.5.7-r0) (34/64) Installing zstd-dev (1.5.7-r0) (35/64) Installing curl-dev (8.14.1-r2) (36/64) Installing libeconf (0.6.3-r0) (37/64) Installing libblkid (2.41-r9) (38/64) Installing libuuid (2.41-r9) (39/64) Installing libfdisk (2.41-r9) (40/64) Installing liblastlog2 (2.41-r9) (41/64) Installing libmount (2.41-r9) (42/64) Installing libsmartcols (2.41-r9) (43/64) Installing sqlite (3.49.2-r1) (44/64) Installing sqlite-dev (3.49.2-r1) (45/64) Installing util-linux-dev (2.41-r9) (46/64) Installing tpm2-tss-mu (4.1.2-r0) (47/64) Installing tpm2-tss-tcti-spi-helper (4.1.2-r0) (48/64) Installing tpm2-tss (4.1.2-r0) (49/64) Installing tpm2-tss-dev (4.1.2-r0) (50/64) Installing xxd (9.1.1566-r0) (51/64) Installing attr (2.5.2-r2) (52/64) Installing libcom_err (1.47.2-r2) (53/64) Installing e2fsprogs-libs (1.47.2-r2) (54/64) Installing e2fsprogs (1.47.2-r2) (55/64) Installing e2fsprogs-extra (1.47.2-r2) (56/64) Installing gawk (5.3.2-r2) (57/64) Installing setarch (2.41-r9) (58/64) Installing skalibs-libs (2.14.4.0-r0) (59/64) Installing utmps-libs (0.1.3.1-r0) (60/64) Installing util-linux-misc (2.41-r9) (61/64) Installing .makedepends-ima-evm-utils (20251022.064135) (62/64) Installing perl-error (0.17030-r0) (63/64) Installing perl-git (2.49.1-r0) (64/64) Installing git-perl (2.49.1-r0) Executing busybox-1.37.0-r19.trigger OK: 390 MiB in 153 packages >>> ima-evm-utils: Cleaning up srcdir >>> ima-evm-utils: Cleaning up pkgdir >>> ima-evm-utils: Cleaning up tmpdir >>> ima-evm-utils: Fetching https://github.com/mimizohar/ima-evm-utils/releases/download/v1.6.2/ima-evm-utils-1.6.2.tar.gz >>> ima-evm-utils: Fetching https://github.com/mimizohar/ima-evm-utils/releases/download/v1.6.2/ima-evm-utils-1.6.2.tar.gz >>> ima-evm-utils: Checking sha512sums... ima-evm-utils-1.6.2.tar.gz: OK >>> ima-evm-utils: Unpacking /var/cache/distfiles/ima-evm-utils-1.6.2.tar.gz... libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:10: installing './compile' configure.ac:9: installing './config.guess' configure.ac:9: installing './config.sub' configure.ac:5: installing './install-sh' configure.ac:5: installing './missing' src/Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 2 checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking build system type... x86_64-alpine-linux-musl checking host system type... x86_64-alpine-linux-musl checking whether make supports the include directive... yes (GNU style) checking for x86_64-alpine-linux-musl-gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether cc accepts -g... yes checking for cc option to enable C11 features... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for x86_64-alpine-linux-musl-gcc... (cached) cc checking whether the compiler supports GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to enable C11 features... (cached) none needed checking whether cc understands -c and -o together... (cached) yes checking dependency style of cc... (cached) gcc3 checking for pandoc... no checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by cc... /usr/x86_64-alpine-linux-musl/bin/ld checking if the linker (/usr/x86_64-alpine-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert x86_64-alpine-linux-musl file names to x86_64-alpine-linux-musl format... func_convert_file_noop checking how to convert x86_64-alpine-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-alpine-linux-musl/bin/ld option to reload object files... -r checking for file... file checking for x86_64-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-alpine-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alpine-linux-musl-ranlib... no checking for ranlib... ranlib checking for x86_64-alpine-linux-musl-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alpine-linux-musl-strip... no checking for strip... strip checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-alpine-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/x86_64-alpine-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-alpine-linux-musl-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libcrypto >= 0.9.8 ... yes checking for unistd.h... (cached) yes checking for openssl/conf.h... yes checking for Esys_Free in -ltss2-esys... no checking for Tss2_RC_Decode in -ltss2-rc... no checking for ibmtss/tss.h... no checking for sys/xattr.h... yes checking for keyutils.h... yes checking for ENGINE_init in -lcrypto... yes checking for openssl/engine.h... yes checking for OSSL_PROVIDER_load in -lcrypto... yes checking whether to enable debug... yes checking for xmlcatalog... /usr/bin/xmlcatalog checking for XML catalog (/etc/xml/catalog)... found configure: using /usr/share/xml/docbook/xsl-stylesheets-1.79.2-nons/manpages/docbook.xsl for generating doc checking for a sed that does not truncate output... (cached) /bin/sed checking for /lib/modules/6.8.12-11-pve/source/include/uapi/linux/hash_info.h... no configure: WARNING: /lib/modules/6.8.12-11-pve/source/include/uapi/linux/hash_info.h not found. using Lsha256E algorithm as default hash algorith checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating doc/Makefile config.status: creating doc/sf/Makefile config.status: creating packaging/ima-evm-utils.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Configuration: debug: yes default-hash: Lsha256E openssl-conf: yes tss2-esys: no tss2-rc-decode: no ibmtss: no sigv1: no engine: yes provider: yes doc: yes pandoc: no make all-recursive make[1]: Entering directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2' Making all in src make[2]: Entering directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/src' ./hash_info.gen /lib/modules/6.8.12-11-pve/source >hash_info.h make all-am make[3]: Entering directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/src' cc -DHAVE_CONFIG_H -I. -I.. -I.. -include config.h -DCONFIG_IMA_EVM_ENGINE -DCONFIG_IMA_EVM_PROVIDER -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O1 -Wall -Wstrict-prototypes -pipe -MT evmctl-evmctl.o -MD -MP -MF .deps/evmctl-evmctl.Tpo -c -o evmctl-evmctl.o `test -f 'evmctl.c' || echo './'`evmctl.c cc -DHAVE_CONFIG_H -I. -I.. -I.. -include config.h -DCONFIG_IMA_EVM_ENGINE -DCONFIG_IMA_EVM_PROVIDER -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O1 -Wall -Wstrict-prototypes -pipe -MT evmctl-utils.o -MD -MP -MF .deps/evmctl-utils.Tpo -c -o evmctl-utils.o `test -f 'utils.c' || echo './'`utils.c cc -DHAVE_CONFIG_H -I. -I.. -I.. -include config.h -DCONFIG_IMA_EVM_ENGINE -DCONFIG_IMA_EVM_PROVIDER -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O1 -Wall -Wstrict-prototypes -pipe -MT evmctl-pcr_tsspcrread.o -MD -MP -MF .deps/evmctl-pcr_tsspcrread.Tpo -c -o evmctl-pcr_tsspcrread.o `test -f 'pcr_tsspcrread.c' || echo './'`pcr_tsspcrread.c /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I.. -include config.h -DCONFIG_IMA_EVM_ENGINE -DCONFIG_IMA_EVM_PROVIDER -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O1 -Wall -Wstrict-prototypes -pipe -MT libimaevm_la-libimaevm.lo -MD -MP -MF .deps/libimaevm_la-libimaevm.Tpo -c -o libimaevm_la-libimaevm.lo `test -f 'libimaevm.c' || echo './'`libimaevm.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I.. -include config.h -DCONFIG_IMA_EVM_ENGINE -DCONFIG_IMA_EVM_PROVIDER -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O1 -Wall -Wstrict-prototypes -pipe -MT libimaevm_la-libimaevm.lo -MD -MP -MF .deps/libimaevm_la-libimaevm.Tpo -c libimaevm.c -fPIC -DPIC -o .libs/libimaevm_la-libimaevm.o mv -f .deps/evmctl-utils.Tpo .deps/evmctl-utils.Po mv -f .deps/evmctl-pcr_tsspcrread.Tpo .deps/evmctl-pcr_tsspcrread.Po evmctl.c: In function 'setup_engine': evmctl.c:3047:9: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3047 | ENGINE *eng = ENGINE_by_id(engine_id); | ^~~~~~ In file included from evmctl.c:46: /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ evmctl.c:3052:9: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3052 | } else if (!ENGINE_init(eng)) { | ^ /usr/include/openssl/engine.h:620:27: note: declared here 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e); | ^~~~~~~~~~~ evmctl.c:3055:17: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3055 | ENGINE_free(eng); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ evmctl.c:3059:17: warning: 'ENGINE_set_default' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3059 | ENGINE_set_default(eng, ENGINE_METHOD_ALL); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:708:27: note: declared here 708 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default(ENGINE *e, unsigned int flags); | ^~~~~~~~~~~~~~~~~~ evmctl.c: In function 'main': evmctl.c:3313:17: warning: 'ENGINE_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3313 | ENGINE_finish(access_info.u.engine); | ^~~~~~~~~~~~~ /usr/include/openssl/engine.h:628:27: note: declared here 628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e); | ^~~~~~~~~~~~~ evmctl.c:3314:17: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 3314 | ENGINE_free(access_info.u.engine); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ libimaevm.c: In function 'read_priv_pkey_engine': libimaevm.c:1037:17: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1037 | if (!ENGINE_ctrl_cmd_string(e, "PIN", keypass, 0)) { | ^~ In file included from libimaevm.c:42: /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ libimaevm.c:1042:9: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1042 | pkey = ENGINE_load_private_key(e, keyfile, NULL, NULL); | ^~~~ /usr/include/openssl/engine.h:638:11: note: declared here 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/libimaevm_la-libimaevm.Tpo .deps/libimaevm_la-libimaevm.Plo /bin/sh ../libtool --tag=CC --mode=link cc -DCONFIG_IMA_EVM_ENGINE -DCONFIG_IMA_EVM_PROVIDER -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O1 -Wall -Wstrict-prototypes -pipe -version-info 5:0:0 -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o libimaevm.la -rpath /usr/lib libimaevm_la-libimaevm.lo -lcrypto -lcrypto -lcrypto libtool: link: cc -shared -fPIC -DPIC .libs/libimaevm_la-libimaevm.o -lcrypto -Os -Werror=format-security -g -O1 -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -Wl,-soname -Wl,libimaevm.so.5 -o .libs/libimaevm.so.5.0.0 libtool: link: (cd ".libs" && rm -f "libimaevm.so.5" && ln -s "libimaevm.so.5.0.0" "libimaevm.so.5") libtool: link: (cd ".libs" && rm -f "libimaevm.so" && ln -s "libimaevm.so.5.0.0" "libimaevm.so") libtool: link: ( cd ".libs" && rm -f "libimaevm.la" && ln -s "../libimaevm.la" "libimaevm.la" ) mv -f .deps/evmctl-evmctl.Tpo .deps/evmctl-evmctl.Po /bin/sh ../libtool --tag=CC --mode=link cc -DCONFIG_IMA_EVM_ENGINE -DCONFIG_IMA_EVM_PROVIDER -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O1 -Wall -Wstrict-prototypes -pipe -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o evmctl evmctl-evmctl.o evmctl-utils.o evmctl-pcr_tsspcrread.o -lcrypto -lkeyutils libimaevm.la -lcrypto -lcrypto libtool: link: cc -DCONFIG_IMA_EVM_ENGINE -DCONFIG_IMA_EVM_PROVIDER -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O1 -Wall -Wstrict-prototypes -pipe -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -o .libs/evmctl evmctl-evmctl.o evmctl-utils.o evmctl-pcr_tsspcrread.o -lkeyutils ./.libs/libimaevm.so -lcrypto make[3]: Leaving directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/src' make[2]: Leaving directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/src' Making all in tests make[2]: Entering directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/tests' make[2]: Entering directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2' asciidoc -d manpage -b docbook -o evmctl.1.xsl README xsltproc --nonet -o evmctl.1 /usr/share/xml/docbook/xsl-stylesheets-1.79.2-nons/manpages/docbook.xsl evmctl.1.xsl Note: Writing evmctl.1 rm -f evmctl.1.xsl make[2]: Leaving directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2' make[1]: Leaving directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2' Making check in src make[1]: Entering directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/src' make check-am make[2]: Entering directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/src' make[1]: Leaving directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/src' Making check in tests make[1]: Entering directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/tests' make test_mmap ima_hash.test sign_verify.test boot_aggregate.test fsverity.test portable_signatures.test ima_policy_check.test mmap_check.test evm_hmac.test make[2]: Entering directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/tests' cc -DHAVE_CONFIG_H -I. -I.. -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O1 -Wall -Wstrict-prototypes -pipe -MT test_mmap.o -MD -MP -MF .deps/test_mmap.Tpo -c -o test_mmap.o test_mmap.c make[2]: Nothing to be done for 'ima_hash.test'. make[2]: Nothing to be done for 'sign_verify.test'. make[2]: Nothing to be done for 'boot_aggregate.test'. make[2]: Nothing to be done for 'fsverity.test'. make[2]: Nothing to be done for 'portable_signatures.test'. make[2]: Nothing to be done for 'ima_policy_check.test'. make[2]: Nothing to be done for 'mmap_check.test'. make[2]: Nothing to be done for 'evm_hmac.test'. mv -f .deps/test_mmap.Tpo .deps/test_mmap.Po /bin/sh ../libtool --tag=CC --mode=link cc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O1 -Wall -Wstrict-prototypes -pipe -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o test_mmap test_mmap.o -lcrypto -lcrypto libtool: link: cc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -g -O1 -Wall -Wstrict-prototypes -pipe -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z -Wl,pack-relative-relocs -o test_mmap test_mmap.o -lcrypto make[2]: Leaving directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/tests' make check-TESTS make[2]: Entering directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/tests' make[3]: Entering directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/tests' PASS: evm_hmac.test PASS: portable_signatures.test PASS: boot_aggregate.test PASS: mmap_check.test PASS: ima_policy_check.test PASS: fsverity.test FAIL: ima_hash.test SKIP: sign_verify.test ============================================================================ Testsuite summary for ima-evm-utils 1.6.2 ============================================================================ # TOTAL: 8 # PASS: 6 # SKIP: 1 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log for debugging. Some test(s) failed. Please report this to zohar@linux.ibm.com, together with the test-suite.log file (gzipped) and your system information. Thanks. ============================================================================ make[3]: *** [Makefile:670: test-suite.log] Error 1 make[3]: Leaving directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/tests' make[2]: *** [Makefile:805: check-TESTS] Error 2 make[2]: Leaving directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/tests' make[1]: *** [Makefile:870: check-am] Error 2 make[1]: Leaving directory '/home/udu/aports/community/ima-evm-utils/src/ima-evm-utils-1.6.2/tests' make: *** [Makefile:531: check-recursive] Error 1 =============================================== ima-evm-utils 1.6.2: tests/test-suite.log =============================================== # TOTAL: 8 # PASS: 6 # SKIP: 1 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 System information (uname -a): Linux 6.8.12-11-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-11 (2025-05-22T09:39Z) x86_64 Distribution information (/etc/os-release): NAME="Alpine Linux" ID=alpine VERSION_ID=3.22.2 PRETTY_NAME="Alpine Linux v3.22" HOME_URL="https://alpinelinux.org/" BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues" .. contents:: :depth: 2 FAIL: ima_hash ============== declare -i testspass=0 testsfail=0 testsskip=0 ^~~~~~~ ./functions.sh:10: 'declare' doesn't implement flag -i (shopt --set ignore_flags_not_impl) declare -i TNESTED=0 # just for sanity checking ^~~~~~~ ./functions.sh:60: 'declare' doesn't implement flag -i (shopt --set ignore_flags_not_impl) evmctl is ../src/evmctl openssl is /usr/bin/openssl getfattr is /usr/bin/getfattr local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~ ./functions.sh:72: (test) Expected unary operator, got '-gt' (2 args) - openssl dgst -md4 md4-hash.txt Invalid hash for md4 from openssl Expected: 31d6cfe0d16ae931b73c59d7e0c089c0 Returned: local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-1' - openssl dgst -md5 md5-hash.txt + evmctl ima_hash --hashalgo md5 --xattr-user md5-hash.txt hash(md5): 01d41d8cd98f00b204e9800998ecf8427e local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-1' - openssl dgst -sha1 sha1-hash.txt + evmctl ima_hash --hashalgo sha1 --xattr-user sha1-hash.txt hash(sha1): 01da39a3ee5e6b4b0d3255bfef95601890afd80709 if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-1' - openssl dgst -SHA1 SHA1-hash.txt - evmctl ima_hash --hashalgo SHA1 --xattr-user SHA1-hash.txt evmctl ima_hash failed properly with (125) Unknown hash algo: SHA1 if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-1' - openssl dgst -sha512-224 sha512-224-hash.txt - evmctl ima_hash --hashalgo sha512-224 --xattr-user sha512-224-hash.txt evmctl ima_hash failed properly with (125) Unknown hash algo: sha512-224 if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-1' - openssl dgst -sha512-256 sha512-256-hash.txt - evmctl ima_hash --hashalgo sha512-256 --xattr-user sha512-256-hash.txt evmctl ima_hash failed properly with (125) Unknown hash algo: sha512-256 if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-1' - openssl dgst -unknown unknown-hash.txt - evmctl ima_hash --hashalgo unknown --xattr-user unknown-hash.txt evmctl ima_hash failed properly with (125) Unknown hash algo: unknown local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-1' - openssl dgst -sha224 sha224-hash.txt + evmctl ima_hash --hashalgo sha224 --xattr-user sha224-hash.txt hash(sha224): 0407d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-1' - openssl dgst -sha256 sha256-hash.txt + evmctl ima_hash --hashalgo sha256 --xattr-user sha256-hash.txt hash(sha256): 0404e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-1' - openssl dgst -sha384 sha384-hash.txt + evmctl ima_hash --hashalgo sha384 --xattr-user sha384-hash.txt hash(sha384): 040538b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha512 sha512-hash.txt + evmctl ima_hash --hashalgo sha512 --xattr-user sha512-hash.txt hash(sha512): 0406cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -rmd160 rmd160-hash.txt + evmctl ima_hash --hashalgo rmd160 --xattr-user rmd160-hash.txt hash(rmd160): 04039c1185a5c5e9fc54612808977ee8f548b2258d31 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sm3 sm3-hash.txt + evmctl ima_hash --hashalgo sm3 --xattr-user sm3-hash.txt hash(sm3): 04111ab21d8355cfa17f8e61194831e81a8f22bec8c728fefb747ed035eb5082aa2b local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -md_gost12_256 md_gost12_256-hash.txt Invalid hash for md_gost12_256 from openssl Expected: 3f539a213e97c802cc229d474c6aa32a825a360b2a933a949fd925208d9ce1bb Returned: local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -streebog256 streebog256-hash.txt Invalid hash for streebog256 from openssl Expected: 3f539a213e97c802cc229d474c6aa32a825a360b2a933a949fd925208d9ce1bb Returned: local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -md_gost12_512 md_gost12_512-hash.txt Invalid hash for md_gost12_512 from openssl Expected: 8e945da209aa869f0455928529bcae4679e9873ab707b55315f56ceb98bef0a7362f715528356ee83cda5f2aac4c6ad2ba3a715c1bcd81cb8e9f90bf4c1c1a8a Returned: local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -streebog512 streebog512-hash.txt Invalid hash for streebog512 from openssl Expected: 8e945da209aa869f0455928529bcae4679e9873ab707b55315f56ceb98bef0a7362f715528356ee83cda5f2aac4c6ad2ba3a715c1bcd81cb8e9f90bf4c1c1a8a Returned: ================================= Run with FAILEARLY=1 ./ima_hash.test To stop after first failure ================================= PASS: 111111111111 [ $testsskip -gt 0 ] && echo -n "$YELLOW" || echo -n "$NORM" ^~~ ./functions.sh:310: (test) Expected unary operator, got '-gt' (2 args) SKIP: FAIL: 11111 FAIL ima_hash.test (exit status: 1) SKIP: sign_verify ================= declare -i testspass=0 testsfail=0 testsskip=0 ^~~~~~~ ./functions.sh:10: 'declare' doesn't implement flag -i (shopt --set ignore_flags_not_impl) declare -i TNESTED=0 # just for sanity checking ^~~~~~~ ./functions.sh:60: 'declare' doesn't implement flag -i (shopt --set ignore_flags_not_impl) cmp is /usr/bin/cmp evmctl is ../src/evmctl getfattr is /usr/bin/getfattr openssl is /usr/bin/openssl xxd is /usr/bin/xxd local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~ ./functions.sh:72: (test) Expected unary operator, got '-gt' (2 args) IMA signature v1 tests are skipped: not supported local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-1' - openssl dgst -md5 md5.txt - openssl dgst -md5 -sign test-rsa1024.key -hex md5.txt + evmctl ima_sign --sigfile --hashalgo md5 --key test-rsa1024.key --xattr-user md5.txt hash(md5): d41d8cd98f00b204e9800998ecf8427e evm/ima signature: 136 bytes 03020150cadf600080a911c352fdc313cd9f698197dc8969be4fc9915cc07a9058d9fa6a87156074e8585d19323f4f2f6f0b9ad882cbf556120fb5dbd1694538a9412cc0d7caafc77a603dffbea30c330a47f2b4ffa3d9aaf3c5f5d9c7005ecdf8c6cadb691630a0bfcc13d277307090cf6c926780d54ee16cf4cb35c4c78e3128591fc048ec8c7944 Writing to md5.txt.sig - openssl dgst -md5 -verify test-rsa1024.pub -signature md5.txt.sig2 md5.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user md5.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer md5.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user --sigfile md5.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer Reading to md5.txt.sig md5.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-1' - evmctl ima_verify --key test-rsa1024.cer --xattr-user /dev/null md5.txt evmctl ima_verify failed properly with (1) keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer getxattr failed: /dev/null md5.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-1' - openssl dgst -md5 md5.txt - openssl dgst -md5 -sign test-rsa1024.key -hex md5.txt + evmctl sign --uuid --generation 0 --hashalgo md5 --key test-rsa1024.key --xattr-user md5.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(md5): c85064d0368bbb86f32ea1e15e77a1c6 evm/ima signature: 136 bytes 03020150cadf600080c9582115695f0ce6ebf98c6f69c07eea214d3cc2594575b52145d4cc8cdd95f75bc093f866305469e412dd3a0581f6c4e89e0cba6052930a62177b8a4da687479a1b262c712c718136672f56ec00f37c60d4517634cd55a00942cf7767987b7b3a95c765b7025eda1f1c3dc711dddeddff575ed0789c5275f092322870d8ddd2 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-1' + evmctl verify --key test-rsa1024.cer --xattr-user --uuid --generation 0 md5.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability md5.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 md5.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 50cadf60 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-1' - openssl dgst -sha1 sha1.txt - openssl dgst -sha1 -sign test-rsa1024.key -hex sha1.txt + evmctl ima_sign --sigfile --hashalgo sha1 --key test-rsa1024.key --xattr-user sha1.txt hash(sha1): da39a3ee5e6b4b0d3255bfef95601890afd80709 evm/ima signature: 136 bytes 03020250cadf60008037ee344fb956f3e4b8b3f076f7e885702a44e11927fa96ca1835c75dbe6e8b3f1ee59b2fe8ede120268707950b9a603ff18a4e4ae2400985b4d7f43f42f82fe2c7da0cc229fd4e5f958d92e2bdb4139a1579f9731400674aa034fef3e0fda370f474b550a50848a9d87d4f74db281385877e87725b601991f98477c88a00aaf8 Writing to sha1.txt.sig - openssl dgst -sha1 -verify test-rsa1024.pub -signature sha1.txt.sig2 sha1.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user sha1.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer sha1.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user --sigfile sha1.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer Reading to sha1.txt.sig sha1.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-rsa1024.cer --xattr-user /dev/null sha1.txt evmctl ima_verify failed properly with (1) keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer getxattr failed: /dev/null sha1.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha1 sha1.txt - openssl dgst -sha1 -sign test-rsa1024.key -hex sha1.txt + evmctl sign --uuid --generation 0 --hashalgo sha1 --key test-rsa1024.key --xattr-user sha1.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha1): d954cbc3c4ffecb87d7fd10c4bef86bf870718c5 evm/ima signature: 136 bytes 03020250cadf6000807ce94ab2f4e68769b098e92b816fcd79656c49ac7f3097c58a7648bdf13f66f7584eb47e7bc2cfd5be036bcd7995126b74f791a968dd0882017342a515fed4391845fba3075a844e64f037d04489237cf84d9f024e9c52467834c8631a5df5a02cac31fe07d38e7757abdb53021473ed5aaad872f1f8ed9b85e4fef4b48035fe local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-rsa1024.cer --xattr-user --uuid --generation 0 sha1.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha1.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha1.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 50cadf60 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha224 sha224.txt - openssl dgst -sha224 -sign test-rsa1024.key -hex sha224.txt + evmctl ima_sign --sigfile --hashalgo sha224 --key test-rsa1024.key --xattr-user sha224.txt hash(sha224): d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f evm/ima signature: 136 bytes 03020750cadf60008022214006dc4f22c2a783e5fa3ca288d7a7baa54a28d8f867561d84958bfe90fb200023bc5cb7f6ef37838c5d9c5c7b9dd2c70cb54427c71549efa50c628f2622f937e3c20e3de2fe596a3133d17a7b6e7fcc6441754e1165ebf1200e4e8a8c7cda6a65819b2a99b04438f53ad00f1a5b89537fd35397177f912ae58482350a30 Writing to sha224.txt.sig - openssl dgst -sha224 -verify test-rsa1024.pub -signature sha224.txt.sig2 sha224.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user sha224.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer sha224.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user --sigfile sha224.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer Reading to sha224.txt.sig sha224.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-rsa1024.cer --xattr-user /dev/null sha224.txt evmctl ima_verify failed properly with (1) keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer getxattr failed: /dev/null sha224.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha224 sha224.txt - openssl dgst -sha224 -sign test-rsa1024.key -hex sha224.txt + evmctl sign --uuid --generation 0 --hashalgo sha224 --key test-rsa1024.key --xattr-user sha224.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha224): a026211f98eb32b9b91101486bc7cd02b35291d30f32a1adfdc5191c evm/ima signature: 136 bytes 03020750cadf6000808496b7dbc462629dec86a6f3f31ec31b630574795c0eebe1b2071f5784b3edf1d0131444721d18a966e9517ffb397c3da3abf736179b2df89b8b6f2f9ded5eedd5e1aafec21781010ba3a867d7e036068f127e9befa220ad6cb31bf909c50cde2670653f984adf2a7baa1da1ba6e461cd6a0491d077cec411f51bdd86bbda7a9 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-rsa1024.cer --xattr-user --uuid --generation 0 sha224.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha224.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha224.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 50cadf60 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha256 sha224.txt - openssl dgst -sha256 -sign test-rsa1024.key -hex sha224.txt + evmctl ima_sign --keyid=aabbccdd --sigfile --hashalgo sha256 --key test-rsa1024.key --xattr-user sha224.txt hash(sha256): e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evm/ima signature: 136 bytes 030204aabbccdd00808eed23fe2a84bcaad1dfea0ca6c14be5859e122b314934b2d0ed7d331da0a2aa75162284de82e9b8e6544551f00dec97a3bd184b78b8d49c2b7b27af5d80c606068ac3e86ef107bb23a988047e461a59c9954e1053ed75ccd6507c3c9bebfe809ad8c67cf1ca1f86dbd90069e8d6adeac115d983297c7a4651edba692320bac4 Writing to sha224.txt.sig - openssl dgst -sha256 -verify test-rsa1024.pub -signature sha224.txt.sig2 sha224.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha256 sha224.txt - openssl dgst -sha256 -sign test-rsa1024.key -hex sha224.txt + evmctl ima_sign --keyid-from-cert=test-rsa1024.cer --sigfile --hashalgo sha256 --key test-rsa1024.key --xattr-user sha224.txt keyid 50cadf60 (from test-rsa1024.cer) hash(sha256): e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evm/ima signature: 136 bytes 03020450cadf6000808eed23fe2a84bcaad1dfea0ca6c14be5859e122b314934b2d0ed7d331da0a2aa75162284de82e9b8e6544551f00dec97a3bd184b78b8d49c2b7b27af5d80c606068ac3e86ef107bb23a988047e461a59c9954e1053ed75ccd6507c3c9bebfe809ad8c67cf1ca1f86dbd90069e8d6adeac115d983297c7a4651edba692320bac4 Writing to sha224.txt.sig - openssl dgst -sha256 -verify test-rsa1024.pub -signature sha224.txt.sig2 sha224.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha256 sha224.txt - openssl dgst -sha256 -sign test-rsa1024_skid.key -hex sha224.txt + evmctl ima_sign --uuid --generation 0 --sigfile --hashalgo sha256 --key test-rsa1024_skid.key --xattr-user sha224.txt hash(sha256): e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 keyid 12345678 (from test-rsa1024_skid.key) evm/ima signature: 136 bytes 0302041234567800807f380782e515fe806c79fc352d06f6663b910edb6a4afe0ee0026245da259af25aa42d8aeb639dad72d556508a48d6abfbc2784732273bf39b2be53e18a7daa3b22c21abb7beebdc5d72664f7ca54cc29c1222471f889dd572e5e1632455b38e456c8cb2c34177d507f7cd8fc91a47e85d0d3cea1a65b2232ef01077c35d3d88 Writing to sha224.txt.sig - openssl dgst -sha256 -verify test-rsa1024_skid.pub -signature sha224.txt.sig2 sha224.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha256 sha256.txt - openssl dgst -sha256 -sign test-rsa1024.key -hex sha256.txt + evmctl ima_sign --sigfile --hashalgo sha256 --key test-rsa1024.key --xattr-user sha256.txt hash(sha256): e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evm/ima signature: 136 bytes 03020450cadf6000808eed23fe2a84bcaad1dfea0ca6c14be5859e122b314934b2d0ed7d331da0a2aa75162284de82e9b8e6544551f00dec97a3bd184b78b8d49c2b7b27af5d80c606068ac3e86ef107bb23a988047e461a59c9954e1053ed75ccd6507c3c9bebfe809ad8c67cf1ca1f86dbd90069e8d6adeac115d983297c7a4651edba692320bac4 Writing to sha256.txt.sig - openssl dgst -sha256 -verify test-rsa1024.pub -signature sha256.txt.sig2 sha256.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user sha256.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer sha256.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user --sigfile sha256.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer Reading to sha256.txt.sig sha256.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-rsa1024.cer --xattr-user /dev/null sha256.txt evmctl ima_verify failed properly with (1) keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer getxattr failed: /dev/null sha256.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha256 sha256.txt - openssl dgst -sha256 -sign test-rsa1024.key -hex sha256.txt + evmctl sign --uuid --generation 0 --hashalgo sha256 --key test-rsa1024.key --xattr-user sha256.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha256): ad181afe60541b7d454c296f76cdb9948ecbad3548d419fb9a75f0e24e3689d7 evm/ima signature: 136 bytes 03020450cadf6000808f10f7b70d399626eb5644f6e948a4e891a339345477530cf8c73f85fbe614d39f83ac8e314b7354e967f51100f1432ce9d864e99b74c72ac15cd04ca5354c63f9eecfd95ee0fc7b7bcf0be343e59eab48f382e19358295e16ce7035e13d743d4807da4998b5824722330deaeffe9131064a9ad2431d29b6c43fb805940ab3e8 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-rsa1024.cer --xattr-user --uuid --generation 0 sha256.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha256.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha256.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 50cadf60 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-rsa2048.cer,test-rsa1024.cer --xattr-user --uuid --generation 0 sha256.txt keyid 3f7eb244 (from test-rsa2048.cer) key 1: 3f7eb244 test-rsa2048.cer keyid 50cadf60 (from test-rsa1024.cer) key 2: 50cadf60 test-rsa1024.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha256.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key /dev/null,test-rsa1024.cer, --xattr-user --uuid --generation 0 sha256.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha256.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha256.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 50cadf60 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key /dev/null --xattr-user --uuid --generation 0 sha256.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 50cadf60 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key /dev/zero --xattr-user --uuid --generation 0 sha256.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 50cadf60 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha256 sha256.txt - openssl dgst -sha256 -sign test-rsa1024.key -hex sha256.txt + evmctl sign --uuid --generation 0 --imasig --hashalgo sha256 --key test-rsa1024.key --xattr-user sha256.txt hash(sha256): e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evm/ima signature: 136 bytes 03020450cadf6000808eed23fe2a84bcaad1dfea0ca6c14be5859e122b314934b2d0ed7d331da0a2aa75162284de82e9b8e6544551f00dec97a3bd184b78b8d49c2b7b27af5d80c606068ac3e86ef107bb23a988047e461a59c9954e1053ed75ccd6507c3c9bebfe809ad8c67cf1ca1f86dbd90069e8d6adeac115d983297c7a4651edba692320bac4 generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha256): ad181afe60541b7d454c296f76cdb9948ecbad3548d419fb9a75f0e24e3689d7 evm/ima signature: 136 bytes 03020450cadf6000808f10f7b70d399626eb5644f6e948a4e891a339345477530cf8c73f85fbe614d39f83ac8e314b7354e967f51100f1432ce9d864e99b74c72ac15cd04ca5354c63f9eecfd95ee0fc7b7bcf0be343e59eab48f382e19358295e16ce7035e13d743d4807da4998b5824722330deaeffe9131064a9ad2431d29b6c43fb805940ab3e8 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-rsa1024.cer --xattr-user --uuid --generation 0 sha256.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha256.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user --uuid --generation 0 sha256.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer sha256.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha256 sha256.txt - openssl dgst -sha256 -sign test-rsa1024.key -hex sha256.txt + evmctl sign --uuid --generation 0 --imahash --hashalgo sha256 --key test-rsa1024.key --xattr-user sha256.txt hash(sha256): 0404e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha256): ad181afe60541b7d454c296f76cdb9948ecbad3548d419fb9a75f0e24e3689d7 evm/ima signature: 136 bytes 03020450cadf6000808f10f7b70d399626eb5644f6e948a4e891a339345477530cf8c73f85fbe614d39f83ac8e314b7354e967f51100f1432ce9d864e99b74c72ac15cd04ca5354c63f9eecfd95ee0fc7b7bcf0be343e59eab48f382e19358295e16ce7035e13d743d4807da4998b5824722330deaeffe9131064a9ad2431d29b6c43fb805940ab3e8 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-rsa1024.cer --xattr-user --uuid --generation 0 sha256.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha256.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-rsa1024.cer --xattr-user --uuid --generation 0 sha256.txt evmctl ima_verify failed properly with (1) keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer sha256.txt: xattr ima has no signature rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha256 sha256.txt - openssl dgst -sha256 -sign test-rsa1024.key -hex sha256.txt + evmctl sign --uuid --generation 0 --portable --imahash --hashalgo sha256 --key test-rsa1024.key --xattr-user sha256.txt hash(sha256): 0404e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor name: user.ima, size: 34 no xattr: security.capability hash(sha256): 12c5a64665626a483fe7bb72c6e062672ebc471f15e080034e0e5f956a495c30 evm/ima signature: 136 bytes 05020450cadf600080616ec32418e490ced8177353490eebb346416561c7bd6bd4a3bb198623c64056b5f6484fe168b285799aee97e3fd642b2a1dff585378a42e6c1f9730c74805e6e137d55c6b8e4acd47b3857707c6fb98699879c04999057f2d08c48c99140cad7071ee6582ab6177a711e4f48f14d8311634cca84de970cd92627cc2241ad209 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-rsa1024.cer --xattr-user --uuid --generation 0 sha256.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor name: user.ima, size: 34 no xattr: security.capability sha256.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha256 sha256.txt - openssl dgst -sha256 -sign test-rsa1024.key -hex sha256.txt + evmctl sign --uuid --generation 0 -i --hashalgo sha256 --key test-rsa1024.key --xattr-user sha256.txt no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha256): 85db65b16f2265e112222b84c34eaf5615ca673ba6d135a675bd24b413febe69 evm/ima signature: 136 bytes 03030450cadf6000806c01e99cb733ae29e9700df673046e7641a57e45bf34e81a600a081645804684198a58f84c3aa80806b8d537ae01305a2be5e3d433cb613887c423c7faaffc734b2202354afb91c1fd28d87799621c81a71432d47c12cf84048e407cad7f2a64cffe139ab577f9a3eb8df97743f7f007c7175eadafabe88d85296acf76c234e5 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha384 sha384.txt - openssl dgst -sha384 -sign test-rsa1024.key -hex sha384.txt + evmctl ima_sign --sigfile --hashalgo sha384 --key test-rsa1024.key --xattr-user sha384.txt hash(sha384): 38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b evm/ima signature: 136 bytes 03020550cadf600080cbe32ffdaa6223b2b6ba25360277231b8e588901c4e7da02d059d16d45da4e15f2d71af5259f74e08af99f936082a844621fc1c5b1f22906abeddd31cd769bed243a9d426199b970fed95d70f94d081cd0f69ec33863cc92f9d6fb669290b8a7066feb3e86e008a6d602329d87a46e017c27db8d2bd4f68ca3e1eff7bbc9b546 Writing to sha384.txt.sig - openssl dgst -sha384 -verify test-rsa1024.pub -signature sha384.txt.sig2 sha384.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user sha384.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer sha384.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user --sigfile sha384.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer Reading to sha384.txt.sig sha384.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-rsa1024.cer --xattr-user /dev/null sha384.txt evmctl ima_verify failed properly with (1) keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer getxattr failed: /dev/null sha384.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha384 sha384.txt - openssl dgst -sha384 -sign test-rsa1024.key -hex sha384.txt + evmctl sign --uuid --generation 0 --hashalgo sha384 --key test-rsa1024.key --xattr-user sha384.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha384): 08778fc8fe5a2b10726d471d6223b477da84b6e4a3ca2b0018bfce21aa2eb2d6c397773aa457078cf28b44e464276e0d evm/ima signature: 136 bytes 03020550cadf600080aba52af2fb4140cc550fc63d372511e5a9dfb232e7a8c0e6cbb28b14e0f30cc586feba346e45c892a7d5a21a14a9394f380d34eb897266ce0dfaca095b411943e05b18b3030056b669dd1734543c11bf89475d17cbaf81e7ad0eb84cbc6dbe70e0ba4e0bd6c4aa65f7b2798227f7462bf37ad8f9dbfa08dafe3a08bc974c7302 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-rsa1024.cer --xattr-user --uuid --generation 0 sha384.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha384.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha384.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 50cadf60 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha512 sha512.txt - openssl dgst -sha512 -sign test-rsa1024.key -hex sha512.txt + evmctl ima_sign --sigfile --hashalgo sha512 --key test-rsa1024.key --xattr-user sha512.txt hash(sha512): cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e evm/ima signature: 136 bytes 03020650cadf6000801494ab779f51228fec9e6f7d702865a26ff5c8bb6814409ab6f08e2a8b277248efb3c6c49ec626a36d70f9d8582cc99b04c8b4ed612887c7f73a6ba5d5e868e775918672f87a58f2be65abf009feccba3daee01e4ae98083c72ef05f057ac597efb4e2c518834f834ebeb006752bc998b6edfffefc1aa9ec90822aad7b75480e Writing to sha512.txt.sig - openssl dgst -sha512 -verify test-rsa1024.pub -signature sha512.txt.sig2 sha512.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user sha512.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer sha512.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user --sigfile sha512.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer Reading to sha512.txt.sig sha512.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-rsa1024.cer --xattr-user /dev/null sha512.txt evmctl ima_verify failed properly with (1) keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer getxattr failed: /dev/null sha512.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha512 sha512.txt - openssl dgst -sha512 -sign test-rsa1024.key -hex sha512.txt + evmctl sign --uuid --generation 0 --hashalgo sha512 --key test-rsa1024.key --xattr-user sha512.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha512): 026485c5af30c3d53f9f447e9559280f34e07a16a345dbbccaf76fb50a1fae05e72eb69b4e3c99522c7f68c95cb57696c28aabce4fc1ab7d3dcc0f76b1fcea02 evm/ima signature: 136 bytes 03020650cadf600080a7d6ceb046b650c31bb59404c201c5aa750c3e0f482d193fedc3e691f25f64941a4e6486a69dc93ccfa8329a0e3e89afa6b49f69413cc601dea03bf8b4f262eb03fecc8380edbfc0263171a5ff96ba22d94d5c98eced22c65e077bb9fd29ab0b8d78b215577cad3fb59caf9ffefc11ade835ad3da15362d08ea482cbf3be53d5 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-rsa1024.cer --xattr-user --uuid --generation 0 sha512.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha512.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha512.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 50cadf60 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -rmd160 rmd160.txt - openssl dgst -rmd160 -sign test-rsa1024.key -hex rmd160.txt + evmctl ima_sign --sigfile --hashalgo rmd160 --key test-rsa1024.key --xattr-user rmd160.txt hash(rmd160): 9c1185a5c5e9fc54612808977ee8f548b2258d31 evm/ima signature: 136 bytes 03020350cadf6000802a991994831b280a501870af0f4ea1c9b6cd3829a6ae5e0d722b8fd5779af42bc37ff76424fafb64a60b361171e3f2e653831f460240f4c3e39d0564a9b626278f0b442a8bd6824d692b251a3163e30298ab74c6f38afad4f1e4ca6dfff557d8699aea1625cd92d3a912ec3711443274101fdf11fc93687e6ded25b07b9f0eca Writing to rmd160.txt.sig - openssl dgst -rmd160 -verify test-rsa1024.pub -signature rmd160.txt.sig2 rmd160.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user rmd160.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer rmd160.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-rsa1024.cer --xattr-user --sigfile rmd160.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer Reading to rmd160.txt.sig rmd160.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-rsa1024.cer --xattr-user /dev/null rmd160.txt evmctl ima_verify failed properly with (1) keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer getxattr failed: /dev/null rmd160.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -rmd160 rmd160.txt - openssl dgst -rmd160 -sign test-rsa1024.key -hex rmd160.txt + evmctl sign --uuid --generation 0 --hashalgo rmd160 --key test-rsa1024.key --xattr-user rmd160.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(rmd160): 47e63431862ae5f5234879159787741fb8d327eb evm/ima signature: 136 bytes 03020350cadf60008031fb654185ba8b40026f047a743559bae62246d7accdecc9e8a161de7f99d7371591afcf0e7038785b86a3ee2a5684456fc7062252d1c898a8e4b1afa93ab5bcca05fd91f052e71be2b9122cea616e9c67bd4269b48c586c51b4d46671efc1cfd6b301dc3625885f91206195ce2115abe5cd02c5fbd8f18786c433407d50097a local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-rsa1024.cer --xattr-user --uuid --generation 0 rmd160.txt keyid 50cadf60 (from test-rsa1024.cer) key 1: 50cadf60 test-rsa1024.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability rmd160.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 rmd160.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 50cadf60 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha1 sha1.txt - openssl dgst -sha1 -sign test-prime192v1.key -hex sha1.txt + evmctl ima_sign --sigfile --hashalgo sha1 --key test-prime192v1.key --xattr-user sha1.txt hash(sha1): da39a3ee5e6b4b0d3255bfef95601890afd80709 evm/ima signature: 63 bytes 030202ba1b02160037303502190085759cd35077d67d32bdff80293b060b6d65cfcb4f376fe60218199df3de87b8e67deb296765dd4ee2f4aa30c0f2316e7b97 Writing to sha1.txt.sig - openssl dgst -sha1 -verify test-prime192v1.pub -signature sha1.txt.sig2 sha1.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime192v1.cer --xattr-user sha1.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer sha1.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime192v1.cer --xattr-user --sigfile sha1.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer Reading to sha1.txt.sig sha1.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-prime192v1.cer --xattr-user /dev/null sha1.txt evmctl ima_verify failed properly with (1) keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer getxattr failed: /dev/null sha1.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha1 sha1.txt - openssl dgst -sha1 -sign test-prime192v1.key -hex sha1.txt + evmctl sign --uuid --generation 0 --hashalgo sha1 --key test-prime192v1.key --xattr-user sha1.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha1): d954cbc3c4ffecb87d7fd10c4bef86bf870718c5 evm/ima signature: 62 bytes 030202ba1b021600363034021828e4556e90b5ee0cf3a26861d0b74e187fdafb90f020ad9e02183a9e8c9583408139d6d56598b87322f39c453421eb697cb6 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-prime192v1.cer --xattr-user --uuid --generation 0 sha1.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha1.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha1.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: ba1b0216 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha224 sha224.txt - openssl dgst -sha224 -sign test-prime192v1.key -hex sha224.txt + evmctl ima_sign --sigfile --hashalgo sha224 --key test-prime192v1.key --xattr-user sha224.txt hash(sha224): d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f evm/ima signature: 62 bytes 030207ba1b021600363034021821a92f15b014d133f4527ca17e84c5cf86287b0c018ea12d0218183e2564ca0d27240ce6521c03e9a1fbacb5ae0753f34d41 Writing to sha224.txt.sig - openssl dgst -sha224 -verify test-prime192v1.pub -signature sha224.txt.sig2 sha224.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime192v1.cer --xattr-user sha224.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer sha224.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime192v1.cer --xattr-user --sigfile sha224.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer Reading to sha224.txt.sig sha224.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-prime192v1.cer --xattr-user /dev/null sha224.txt evmctl ima_verify failed properly with (1) keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer getxattr failed: /dev/null sha224.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha224 sha224.txt - openssl dgst -sha224 -sign test-prime192v1.key -hex sha224.txt + evmctl sign --uuid --generation 0 --hashalgo sha224 --key test-prime192v1.key --xattr-user sha224.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha224): a026211f98eb32b9b91101486bc7cd02b35291d30f32a1adfdc5191c evm/ima signature: 63 bytes 030207ba1b02160037303502185d9f8cfa5301569f1c2be2544e641b7a2b2eb85292e23a9c02190080c4c88ce39d1a07d70bd61093a0014dba516ee353090fed local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-prime192v1.cer --xattr-user --uuid --generation 0 sha224.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha224.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha224.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: ba1b0216 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha256 sha256.txt - openssl dgst -sha256 -sign test-prime192v1.key -hex sha256.txt + evmctl ima_sign --sigfile --hashalgo sha256 --key test-prime192v1.key --xattr-user sha256.txt hash(sha256): e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evm/ima signature: 63 bytes 030204ba1b021600373035021900fb92a6b5826b9d55c18410fe5796f0c0492919c4d7685d3702183b37e22b394621ee060f9b2acb2cf968d0672cbe4d300258 Writing to sha256.txt.sig - openssl dgst -sha256 -verify test-prime192v1.pub -signature sha256.txt.sig2 sha256.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime192v1.cer --xattr-user sha256.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer sha256.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime192v1.cer --xattr-user --sigfile sha256.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer Reading to sha256.txt.sig sha256.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-prime192v1.cer --xattr-user /dev/null sha256.txt evmctl ima_verify failed properly with (1) keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer getxattr failed: /dev/null sha256.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha256 sha256.txt - openssl dgst -sha256 -sign test-prime192v1.key -hex sha256.txt + evmctl sign --uuid --generation 0 --hashalgo sha256 --key test-prime192v1.key --xattr-user sha256.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha256): ad181afe60541b7d454c296f76cdb9948ecbad3548d419fb9a75f0e24e3689d7 evm/ima signature: 63 bytes 030204ba1b0216003730350218267c56c41b693014ea7e76d0bf5e9a50fc89e8d21bc25f31021900a4cb855d23b0feabd45c40106b5a33e17b4c22566ba79b85 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-prime192v1.cer --xattr-user --uuid --generation 0 sha256.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha256.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha256.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: ba1b0216 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha384 sha384.txt - openssl dgst -sha384 -sign test-prime192v1.key -hex sha384.txt + evmctl ima_sign --sigfile --hashalgo sha384 --key test-prime192v1.key --xattr-user sha384.txt hash(sha384): 38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b evm/ima signature: 62 bytes 030205ba1b02160036303402180d0112fe2eadf0995b28418fff84444b3919ad6900c606ad02181f28f038bf6a1f5e6de7e56ca799ab34cfafbffeef8f259c Writing to sha384.txt.sig - openssl dgst -sha384 -verify test-prime192v1.pub -signature sha384.txt.sig2 sha384.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime192v1.cer --xattr-user sha384.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer sha384.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime192v1.cer --xattr-user --sigfile sha384.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer Reading to sha384.txt.sig sha384.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-prime192v1.cer --xattr-user /dev/null sha384.txt evmctl ima_verify failed properly with (1) keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer getxattr failed: /dev/null sha384.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha384 sha384.txt - openssl dgst -sha384 -sign test-prime192v1.key -hex sha384.txt + evmctl sign --uuid --generation 0 --hashalgo sha384 --key test-prime192v1.key --xattr-user sha384.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha384): 4e89c7bdcee3bc65f358294af35e4d72be8299fea6c3acd93c192d36b357f889ba7b3b5e2b2ad4b3eed5cce6b695937a evm/ima signature: 63 bytes 030205ba1b021600373035021900b3553cd29c304db5cf9da17d76686d57277d4aed2071ed10021805ce672c9043c2f00f12a649af77d74b58d5929a8eb72709 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-prime192v1.cer --xattr-user --uuid --generation 0 sha384.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha384.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha384.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: ba1b0216 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha512 sha512.txt - openssl dgst -sha512 -sign test-prime192v1.key -hex sha512.txt + evmctl ima_sign --sigfile --hashalgo sha512 --key test-prime192v1.key --xattr-user sha512.txt hash(sha512): cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e evm/ima signature: 64 bytes 030206ba1b021600383036021900df270ad79ecf277c545d34941d0a7279549644c6bbdf64b0021900dd14a25f5b50b92b4a90c11c34f65a43fefa3d617119f919 Writing to sha512.txt.sig - openssl dgst -sha512 -verify test-prime192v1.pub -signature sha512.txt.sig2 sha512.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime192v1.cer --xattr-user sha512.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer sha512.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime192v1.cer --xattr-user --sigfile sha512.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer Reading to sha512.txt.sig sha512.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-prime192v1.cer --xattr-user /dev/null sha512.txt evmctl ima_verify failed properly with (1) keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer getxattr failed: /dev/null sha512.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha512 sha512.txt - openssl dgst -sha512 -sign test-prime192v1.key -hex sha512.txt + evmctl sign --uuid --generation 0 --hashalgo sha512 --key test-prime192v1.key --xattr-user sha512.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha512): 444e272a4cacbfcddf238906d7aa9e59f92539a5edc4cc5a18fea258d0e181532b3f2096fb1a3211397f81ca05e2f9947fb138586537c24b352e676d64f803c4 evm/ima signature: 63 bytes 030206ba1b021600373035021900c82bcf1d13d03b010fcc1d2e4e6b69a4d8c0d026392e066e021813d1fe20c3ffcc875d838fc09473c3824479b2b7f4b37e4f local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-prime192v1.cer --xattr-user --uuid --generation 0 sha512.txt keyid ba1b0216 (from test-prime192v1.cer) key 1: ba1b0216 test-prime192v1.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha512.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha512.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: ba1b0216 (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha1 sha1.txt - openssl dgst -sha1 -sign test-prime256v1.key -hex sha1.txt + evmctl ima_sign --sigfile --hashalgo sha1 --key test-prime256v1.key --xattr-user sha1.txt hash(sha1): da39a3ee5e6b4b0d3255bfef95601890afd80709 evm/ima signature: 79 bytes 030202583879aa0047304502210086c4a5c8b47fe17ca2f1c8ac8951a2d91f2c912074d74a316cf54c08a474236d02205a51a4b72c610218623b1425724a02ebd2b99d23ea6638393cd3b1f8f46ea7ff Writing to sha1.txt.sig - openssl dgst -sha1 -verify test-prime256v1.pub -signature sha1.txt.sig2 sha1.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime256v1.cer --xattr-user sha1.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer sha1.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime256v1.cer --xattr-user --sigfile sha1.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer Reading to sha1.txt.sig sha1.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-prime256v1.cer --xattr-user /dev/null sha1.txt evmctl ima_verify failed properly with (1) keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer getxattr failed: /dev/null sha1.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha1 sha1.txt - openssl dgst -sha1 -sign test-prime256v1.key -hex sha1.txt + evmctl sign --uuid --generation 0 --hashalgo sha1 --key test-prime256v1.key --xattr-user sha1.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha1): d954cbc3c4ffecb87d7fd10c4bef86bf870718c5 evm/ima signature: 78 bytes 030202583879aa00463044021f1e4c89cc8caeec84b2f059138253a4be845db113dd4b74c00418a92854b6a3022100e830c1aae91c3c5e662f957d46f296f9edb5c4e384dd59c53656132aa7af2152 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-prime256v1.cer --xattr-user --uuid --generation 0 sha1.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha1.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha1.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 583879aa (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha224 sha224.txt - openssl dgst -sha224 -sign test-prime256v1.key -hex sha224.txt + evmctl ima_sign --sigfile --hashalgo sha224 --key test-prime256v1.key --xattr-user sha224.txt hash(sha224): d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f evm/ima signature: 79 bytes 030207583879aa00473045022030718c4aa9a0ded7b70f56c2c23e19b7782a925478daafd98dbb17d8d3514cdb022100991f6090a56454f6e29e927c93e9f6d8d2a8c25ae699108c0a21ca42564ab353 Writing to sha224.txt.sig - openssl dgst -sha224 -verify test-prime256v1.pub -signature sha224.txt.sig2 sha224.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime256v1.cer --xattr-user sha224.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer sha224.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime256v1.cer --xattr-user --sigfile sha224.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer Reading to sha224.txt.sig sha224.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-prime256v1.cer --xattr-user /dev/null sha224.txt evmctl ima_verify failed properly with (1) keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer getxattr failed: /dev/null sha224.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha224 sha224.txt - openssl dgst -sha224 -sign test-prime256v1.key -hex sha224.txt + evmctl sign --uuid --generation 0 --hashalgo sha224 --key test-prime256v1.key --xattr-user sha224.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha224): a026211f98eb32b9b91101486bc7cd02b35291d30f32a1adfdc5191c evm/ima signature: 78 bytes 030207583879aa0046304402205c08c77a3367efb327ae35c3ff1c6b64ca4d4b7841196e2866e63457973adb8e022008319843ab107c8f7116f0c61010de188086701c7d2e1904d64a53d6df85dd6f local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-prime256v1.cer --xattr-user --uuid --generation 0 sha224.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha224.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha224.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 583879aa (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha256 sha256.txt - openssl dgst -sha256 -sign test-prime256v1.key -hex sha256.txt + evmctl ima_sign --sigfile --hashalgo sha256 --key test-prime256v1.key --xattr-user sha256.txt hash(sha256): e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evm/ima signature: 80 bytes 030204583879aa00483046022100ea0b61024ab34f22ced7f5b89156c8b77b0ddc2faa6f138a3adbd0048c823252022100c355224a58ca96f99d1a3bbd38caa736d39408cd8a7fce7e7ad97463cd198b54 Writing to sha256.txt.sig - openssl dgst -sha256 -verify test-prime256v1.pub -signature sha256.txt.sig2 sha256.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime256v1.cer --xattr-user sha256.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer sha256.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime256v1.cer --xattr-user --sigfile sha256.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer Reading to sha256.txt.sig sha256.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-prime256v1.cer --xattr-user /dev/null sha256.txt evmctl ima_verify failed properly with (1) keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer getxattr failed: /dev/null sha256.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha256 sha256.txt - openssl dgst -sha256 -sign test-prime256v1.key -hex sha256.txt + evmctl sign --uuid --generation 0 --hashalgo sha256 --key test-prime256v1.key --xattr-user sha256.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha256): ad181afe60541b7d454c296f76cdb9948ecbad3548d419fb9a75f0e24e3689d7 evm/ima signature: 78 bytes 030204583879aa0046304402202f528082f452e60c93e64d61a8b452c6db2470d63e9d2b120a98d78dc5116bf20220454259b3009801ada7d503d9e61e0ef8272adb46a209176bcedcf39dba1a3603 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-prime256v1.cer --xattr-user --uuid --generation 0 sha256.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha256.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha256.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 583879aa (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha384 sha384.txt - openssl dgst -sha384 -sign test-prime256v1.key -hex sha384.txt + evmctl ima_sign --sigfile --hashalgo sha384 --key test-prime256v1.key --xattr-user sha384.txt hash(sha384): 38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da274edebfe76f65fbd51ad2f14898b95b evm/ima signature: 80 bytes 030205583879aa00483046022100e8a08690e70c06410edd9043eea47a02f9405c21f8126db7577ff6f784259bac022100ea39783a9bc940e1f22acc78434a3493392498fcc3fdfadd63a3d5ab7ba20305 Writing to sha384.txt.sig - openssl dgst -sha384 -verify test-prime256v1.pub -signature sha384.txt.sig2 sha384.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime256v1.cer --xattr-user sha384.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer sha384.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime256v1.cer --xattr-user --sigfile sha384.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer Reading to sha384.txt.sig sha384.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-prime256v1.cer --xattr-user /dev/null sha384.txt evmctl ima_verify failed properly with (1) keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer getxattr failed: /dev/null sha384.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha384 sha384.txt - openssl dgst -sha384 -sign test-prime256v1.key -hex sha384.txt + evmctl sign --uuid --generation 0 --hashalgo sha384 --key test-prime256v1.key --xattr-user sha384.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha384): 4e89c7bdcee3bc65f358294af35e4d72be8299fea6c3acd93c192d36b357f889ba7b3b5e2b2ad4b3eed5cce6b695937a evm/ima signature: 79 bytes 030205583879aa0047304502205ea17332e10ecc53ffa1b04aff856eba7c5004a9cd6c5f4a34b8f359579dbdac022100aef623cf5a98730b6fb613f00278155101e6e7bb4a7fe5e21a003c189dbcc05b local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-prime256v1.cer --xattr-user --uuid --generation 0 sha384.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha384.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha384.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 583879aa (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha512 sha512.txt - openssl dgst -sha512 -sign test-prime256v1.key -hex sha512.txt + evmctl ima_sign --sigfile --hashalgo sha512 --key test-prime256v1.key --xattr-user sha512.txt hash(sha512): cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e evm/ima signature: 79 bytes 030206583879aa0047304502207d60030bd2dc252be194dc07e355e39a369860f71513026904fb38f51b96eeb10221009bb83aa1a35f0c103084a14c6915b4708d140ec0b655391dbcc9758a2b9c3860 Writing to sha512.txt.sig - openssl dgst -sha512 -verify test-prime256v1.pub -signature sha512.txt.sig2 sha512.txt Verified OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime256v1.cer --xattr-user sha512.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer sha512.txt: verification is OK local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl ima_verify --key test-prime256v1.cer --xattr-user --sigfile sha512.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer Reading to sha512.txt.sig sha512.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_verify --key test-prime256v1.cer --xattr-user /dev/null sha512.txt evmctl ima_verify failed properly with (1) keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer getxattr failed: /dev/null sha512.txt: verification is OK errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sha512 sha512.txt - openssl dgst -sha512 -sign test-prime256v1.key -hex sha512.txt + evmctl sign --uuid --generation 0 --hashalgo sha512 --key test-prime256v1.key --xattr-user sha512.txt generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha512): 444e272a4cacbfcddf238906d7aa9e59f92539a5edc4cc5a18fea258d0e181532b3f2096fb1a3211397f81ca05e2f9947fb138586537c24b352e676d64f803c4 evm/ima signature: 78 bytes 030206583879aa004630440220562aff5fd776c1104fe2f5e9942b3549a9cf3f315162d97677ae0b8ebf95207a022015a82aa781fbb92650d7d22ac4b6fafb7d41315ab45153a41356c11ec2e9a3b6 local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' + evmctl verify --key test-prime256v1.cer --xattr-user --uuid --generation 0 sha512.txt keyid 583879aa (from test-prime256v1.cer) key 1: 583879aa test-prime256v1.cer generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability sha512.txt: verification is OK if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl verify --key rsa2048 --xattr-user --uuid --generation 0 sha512.txt evmctl verify failed properly with (125) generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability key 1: 583879aa (unknown keyid) errno: No data available (61) rm "$out" "$ADD_DEL" ^ ./functions.sh:232: Can't remove '': No such file or directory local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sm3 sm3.txt sm3 (test-sm2.key) test is skipped (key file not found) local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -sm3 sm3.txt sm3 (test-sm2.key) test is skipped (key file not found) local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -md_gost12_256 md_gost12_256.txt dgst: Unknown option or message digest: md_gost12_256 dgst: Use -help for summary. 285BB8A858760000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:375:Global default library context, Algorithm (md_gost12_256 : 0), Properties () md_gost12_256 (test-gost2012_256-A.key) test is skipped (openssl is unable to digest) local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -md_gost12_256 md_gost12_256.txt dgst: Unknown option or message digest: md_gost12_256 dgst: Use -help for summary. 288B05988B7D0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:375:Global default library context, Algorithm (md_gost12_256 : 0), Properties () md_gost12_256 (test-gost2012_256-A.key) test is skipped (openssl is unable to digest) local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -md_gost12_256 md_gost12_256.txt dgst: Unknown option or message digest: md_gost12_256 dgst: Use -help for summary. 28EB3D8D45700000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:375:Global default library context, Algorithm (md_gost12_256 : 0), Properties () md_gost12_256 (test-gost2012_256-B.key) test is skipped (openssl is unable to digest) local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -md_gost12_256 md_gost12_256.txt dgst: Unknown option or message digest: md_gost12_256 dgst: Use -help for summary. 285B8779D9700000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:375:Global default library context, Algorithm (md_gost12_256 : 0), Properties () md_gost12_256 (test-gost2012_256-B.key) test is skipped (openssl is unable to digest) local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -md_gost12_256 md_gost12_256.txt dgst: Unknown option or message digest: md_gost12_256 dgst: Use -help for summary. 288B7C3ACC7D0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:375:Global default library context, Algorithm (md_gost12_256 : 0), Properties () md_gost12_256 (test-gost2012_256-C.key) test is skipped (openssl is unable to digest) local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -md_gost12_256 md_gost12_256.txt dgst: Unknown option or message digest: md_gost12_256 dgst: Use -help for summary. 28FBDCB98B750000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:375:Global default library context, Algorithm (md_gost12_256 : 0), Properties () md_gost12_256 (test-gost2012_256-C.key) test is skipped (openssl is unable to digest) local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -md_gost12_512 md_gost12_512.txt dgst: Unknown option or message digest: md_gost12_512 dgst: Use -help for summary. 28ABD2C8B67C0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:375:Global default library context, Algorithm (md_gost12_512 : 0), Properties () md_gost12_512 (test-gost2012_512-A.key) test is skipped (openssl is unable to digest) local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -md_gost12_512 md_gost12_512.txt dgst: Unknown option or message digest: md_gost12_512 dgst: Use -help for summary. 283BF8E9DB7B0000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:375:Global default library context, Algorithm (md_gost12_512 : 0), Properties () md_gost12_512 (test-gost2012_512-A.key) test is skipped (openssl is unable to digest) local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -md_gost12_512 md_gost12_512.txt dgst: Unknown option or message digest: md_gost12_512 dgst: Use -help for summary. 280BE16206700000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:375:Global default library context, Algorithm (md_gost12_512 : 0), Properties () md_gost12_512 (test-gost2012_512-B.key) test is skipped (openssl is unable to digest) local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - openssl dgst -md_gost12_512 md_gost12_512.txt dgst: Unknown option or message digest: md_gost12_512 dgst: Use -help for summary. 282BC5D9D2750000:error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported:crypto/evp/evp_fetch.c:375:Global default library context, Algorithm (md_gost12_512 : 0), Properties () md_gost12_512 (test-gost2012_512-B.key) test is skipped (openssl is unable to digest) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_sign --sigfile --hashalgo md_gost12_256 --key test-gost2012_512-B.key --xattr-user md_gost12_512.txt~ evmctl ima_sign failed properly with (1) EVP_get_digestbyname(md_gost12_256) failed if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:123: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' - evmctl ima_sign --sigfile --hashalgo md_gost12_512 --key test-gost2012_256-B.key --xattr-user md_gost12_512.txt~ evmctl ima_sign failed properly with (1) EVP_get_digestbyname(md_gost12_512) failed softhsm_setup setup failed: Need p11tool from gnutls local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' pkcs11 test is skipped: could not setup softhsm local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' pkcs11 test is skipped: could not setup softhsm local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' pkcs11 test is skipped: could not setup softhsm local -i ret ^~~~~ ./functions.sh:64: 'local' doesn't implement flag -i (shopt --set ignore_flags_not_impl) if [ $TNESTED -gt 0 ]; then ^~~~~~~~ ./functions.sh:72: (test) Invalid integer '1-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-11-1' pkcs11 test is skipped: could not setup softhsm if [ $testsfail -gt 0 ]; then ^~~ ./functions.sh:302: (test) Expected unary operator, got '-gt' (2 args) [ $testspass -gt 0 ] && echo -n "$GREEN" || echo -n "$NORM" ^~~~~~~~~~ ./functions.sh:308: (test) Invalid integer '111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111' PASS: 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 SKIP: 11111111111111111 [ $testsfail -gt 0 ] && echo -n "$RED" || echo -n "$NORM" ^~~ ./functions.sh:312: (test) Expected unary operator, got '-gt' (2 args) FAIL: if [ $testsfail -gt 0 ]; then ^~~ ./functions.sh:334: (test) Expected unary operator, got '-gt' (2 args) elif [ $testspass -gt 0 ]; then ^~~~~~~~~~ ./functions.sh:336: (test) Invalid integer '111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111' SKIP sign_verify.test (exit status: 77) >>> ERROR: ima-evm-utils: check failed >>> ima-evm-utils: Uninstalling dependencies... (1/64) Purging .makedepends-ima-evm-utils (20251022.064135) (2/64) Purging asciidoc-pyc (10.2.1-r0) (3/64) Purging asciidoc (10.2.1-r0) (4/64) Purging attr-dev (2.5.2-r2) (5/64) Purging autoconf (2.72-r1) (6/64) Purging m4 (1.4.19-r4) (7/64) Purging automake (1.17-r1) (8/64) Purging diffutils (3.12-r0) (9/64) Purging docbook-xsl (1.79.2-r11) (10/64) Purging docbook-xsl-ns (1.79.2-r11) Executing docbook-xsl-ns-1.79.2-r11.pre-deinstall (11/64) Purging docbook-xsl-nons (1.79.2-r11) Executing docbook-xsl-nons-1.79.2-r11.pre-deinstall (12/64) Purging docbook-xml (4.5-r10) Executing docbook-xml-4.5-r10.pre-deinstall (13/64) Purging libxml2-utils (2.13.9-r0) (14/64) Purging keyutils-dev (1.6.3-r4) (15/64) Purging keyutils-libs (1.6.3-r4) (16/64) Purging libtool (2.5.4-r1) (17/64) Purging libltdl (2.5.4-r1) (18/64) Purging libxslt (1.1.43-r3) (19/64) Purging linux-headers (6.14.2-r0) (20/64) Purging tpm2-tss-dev (4.1.2-r0) (21/64) Purging tpm2-tss (4.1.2-r0) (22/64) Purging xxd (9.1.1566-r0) (23/64) Purging attr (2.5.2-r2) (24/64) Purging e2fsprogs-extra (1.47.2-r2) (25/64) Purging e2fsprogs (1.47.2-r2) (26/64) Purging gawk (5.3.2-r2) (27/64) Purging util-linux-misc (2.41-r9) (28/64) Purging setarch (2.41-r9) (29/64) Purging curl-dev (8.14.1-r2) (30/64) Purging e2fsprogs-libs (1.47.2-r2) (31/64) Purging git-perl (2.49.1-r0) (32/64) Purging perl-git (2.49.1-r0) (33/64) Purging perl-error (0.17030-r0) (34/64) Purging perl (5.40.3-r0) (35/64) Purging json-c-dev (0.18-r1) (36/64) Purging json-c (0.18-r1) (37/64) Purging libattr (2.5.2-r2) (38/64) Purging libcom_err (1.47.2-r2) (39/64) Purging libpsl-dev (0.21.5-r3) (40/64) Purging libpsl-utils (0.21.5-r3) (41/64) Purging libxml2 (2.13.9-r0) (42/64) Purging nghttp2-dev (1.65.0-r0) (43/64) Purging openssl-dev (3.5.4-r0) (44/64) Purging tpm2-tss-tcti-spi-helper (4.1.2-r0) (45/64) Purging util-linux-dev (2.41-r9) (46/64) Purging libfdisk (2.41-r9) (47/64) Purging liblastlog2 (2.41-r9) (48/64) Purging libmount (2.41-r9) (49/64) Purging libsmartcols (2.41-r9) (50/64) Purging libuuid (2.41-r9) (51/64) Purging utmps-libs (0.1.3.1-r0) (52/64) Purging zlib-dev (1.3.1-r2) (53/64) Purging zstd-dev (1.5.7-r0) (54/64) Purging zstd (1.5.7-r0) (55/64) Purging brotli-dev (1.1.0-r2) (56/64) Purging brotli (1.1.0-r2) (57/64) Purging c-ares-dev (1.34.5-r0) (58/64) Purging libblkid (2.41-r9) (59/64) Purging libeconf (0.6.3-r0) (60/64) Purging libidn2-dev (2.3.7-r0) (61/64) Purging skalibs-libs (2.14.4.0-r0) (62/64) Purging sqlite-dev (3.49.2-r1) (63/64) Purging sqlite (3.49.2-r1) (64/64) Purging tpm2-tss-mu (4.1.2-r0) Executing busybox-1.37.0-r19.trigger OK: 296 MiB in 89 packages