>>> ima-evm-utils: Building community/ima-evm-utils 1.6.2-r1 (using abuild 3.15.0-r1) started Sun, 02 Nov 2025 17:14:30 +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 fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz (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 (20251102.171430) (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 mv -f .deps/evmctl-utils.Tpo .deps/evmctl-utils.Po 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-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: mmap_check.test PASS: boot_aggregate.test PASS: portable_signatures.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 030201088715bf008063c59b067bdd578993fa8c435d39529f04543c4d877b9930a09016c94cb49b510bb851cdf1838d149a2e4164261c833908a1db925bc1101554923c9db25da53288187272e617511d156efb4c9b2b381253a5e2679df2726e93f34ceb0810ff9b97c713b78fc5bcf76a7dc26ba284c18024d039d39c6f78502b2679873830d14a 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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): 21e8e68ce3fde71ec71b10611956d5b2 evm/ima signature: 136 bytes 030201088715bf00801d70018ae6808103df01e7b698cf71df4538ab75a5bc470332bb573e57d999c4e04c0b1781c55ff9ac1c7a9e8c0e6dd83cd0d548cc99ac4e0b261e6afe7b24e0e94bbfefad7eb96718bd5ad56d6c3d7572e3d1d357c6017dbf6141b4581372cf09579f494983d9b32646ed326877313f4d7b55d863a521ddb9ed63781489c55e 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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: 88715bf (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 030202088715bf008084d9b3a8a742f1359d8e8a6b97d324a5d813db4fdc5910d6a1e0c1dbfdba20ccee9ee805705a4b63fb26c2378047c40339bb0bf0bd2376f3c395098eb8b9e5f2503b3f7f6103ede369545e5699a52cf8c49bd3cd115590021fecfbf9f59b395b751a04596844c480a934f5c2f3558aaaee5d76910470434baf1b1880a4efa7b3 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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): baa853a6b1942476adde1e42bb94478c0bcad76f evm/ima signature: 136 bytes 030202088715bf0080baba5b94f143e146f089d9b04e67e2e23aad67cb7ceab8eed1dee3073b2745508dd07d4211a5e7ec2a3aadf0c0ae5aa93f302eb55601a7721b97a01a2a1c4a3c270e37594b1d84ae78b5e7b9cc3e184088aeabc9a4a9017ce63ed8ce9903bad0fb914550ad76100c3ea404d3e1063ecd89b9d1c7c78ad7e507a9595c98f5c19b 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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: 88715bf (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 030207088715bf00800f36c786564b6e2861bfd12191e4e3c0e73675c94e34718db8d5751d45bbb0b1d2c8b36a567366349e5537e58dea4f54104c7523c4f643db7b39f385577e44ffddd05aac126d990ba0b4ea847131b80ef493b94224ded830a6fcdb4a69a668f61d74b5e181b3010570e676a20c2bb5c205b9a1f440f2a0b1dc392736cb6f6bc1 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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): 932001d558d02df4ab144ffeff8daf543d98625696e49062076c10c1 evm/ima signature: 136 bytes 030207088715bf008063335a87573d70e14999956e0248c20dadb5d2ccfc2e21b42ec9ff51d38d3bd125e40943826a7cf718f2c418e94e7646034e5e943073b86a14234029024731ae43badc36be15ea6f45d840ed58ec614b5756765a80b6974a6e1df2b01a74a1aa22de60a8bbe99169fe77af07757e36e92759184e7d1646702cce5b32e16ac65b 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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: 88715bf (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 030204aabbccdd00807e0d5269546f62b80e818f45e4dd45d1dd690568378e3d9f8a366b281fcfbdd784db2c16e7ea46bf081dd0a8b4400d068b70d17aa670a4649f074dae6f94cb169649fdf39cf3e5b24460ce9c61b7e6327091431730c0f8481515c5d6af83be4244144f5acdc19fa70748548737580371d1ca59feb2268c22bfa7a90b96f10df8 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 88715bf (from test-rsa1024.cer) hash(sha256): e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 evm/ima signature: 136 bytes 030204088715bf00807e0d5269546f62b80e818f45e4dd45d1dd690568378e3d9f8a366b281fcfbdd784db2c16e7ea46bf081dd0a8b4400d068b70d17aa670a4649f074dae6f94cb169649fdf39cf3e5b24460ce9c61b7e6327091431730c0f8481515c5d6af83be4244144f5acdc19fa70748548737580371d1ca59feb2268c22bfa7a90b96f10df8 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 030204123456780080dc8a4675163da06e700cbce343b68160d3b4539bf92d6b0ec33f27f28b972bc172b0ccbff974c11e9009ec738008cc4b8d971f874ddba022e24d3a4236bc71b9a66d5103425201974f508836c9470e9f1ac736418ae5dc268290302626547dfecf79c38ce8c162948ddd4e52007c53db668cbd1e63ecd86284b2b719db1ffead 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 030204088715bf00807e0d5269546f62b80e818f45e4dd45d1dd690568378e3d9f8a366b281fcfbdd784db2c16e7ea46bf081dd0a8b4400d068b70d17aa670a4649f074dae6f94cb169649fdf39cf3e5b24460ce9c61b7e6327091431730c0f8481515c5d6af83be4244144f5acdc19fa70748548737580371d1ca59feb2268c22bfa7a90b96f10df8 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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): 53c0c8cb7657b44ea21a24591db08aa81aa6603a54e43821646c217c0300d3d8 evm/ima signature: 136 bytes 030204088715bf008045ab399a2b193eb2627a7c8cdfaae93769d7b477d95c3902a6e381ea02792ff45e3bd7d18ccc686e8fea08d3df24bba9ad97312bb9833645b5798da9ecc75b4dfd69fe9a15091a1970d17b4e8c32c82093d12eb2a24d4237dfe886d3f5e79b0da98d6e67aee829bbdd65ca6ccd0709ba657b32cd2f59f2dcee3b77d67ac64c2d 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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: 88715bf (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 d6126e87 (from test-rsa2048.cer) key 1: d6126e87 test-rsa2048.cer keyid 88715bf (from test-rsa1024.cer) key 2: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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: 88715bf (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: 88715bf (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: 88715bf (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 030204088715bf00807e0d5269546f62b80e818f45e4dd45d1dd690568378e3d9f8a366b281fcfbdd784db2c16e7ea46bf081dd0a8b4400d068b70d17aa670a4649f074dae6f94cb169649fdf39cf3e5b24460ce9c61b7e6327091431730c0f8481515c5d6af83be4244144f5acdc19fa70748548737580371d1ca59feb2268c22bfa7a90b96f10df8 generation: 0 no xattr: security.selinux no xattr: security.SMACK64 no xattr: security.apparmor no xattr: security.ima no xattr: security.capability hash(sha256): 53c0c8cb7657b44ea21a24591db08aa81aa6603a54e43821646c217c0300d3d8 evm/ima signature: 136 bytes 030204088715bf008045ab399a2b193eb2627a7c8cdfaae93769d7b477d95c3902a6e381ea02792ff45e3bd7d18ccc686e8fea08d3df24bba9ad97312bb9833645b5798da9ecc75b4dfd69fe9a15091a1970d17b4e8c32c82093d12eb2a24d4237dfe886d3f5e79b0da98d6e67aee829bbdd65ca6ccd0709ba657b32cd2f59f2dcee3b77d67ac64c2d 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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): 53c0c8cb7657b44ea21a24591db08aa81aa6603a54e43821646c217c0300d3d8 evm/ima signature: 136 bytes 030204088715bf008045ab399a2b193eb2627a7c8cdfaae93769d7b477d95c3902a6e381ea02792ff45e3bd7d18ccc686e8fea08d3df24bba9ad97312bb9833645b5798da9ecc75b4dfd69fe9a15091a1970d17b4e8c32c82093d12eb2a24d4237dfe886d3f5e79b0da98d6e67aee829bbdd65ca6ccd0709ba657b32cd2f59f2dcee3b77d67ac64c2d 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 050204088715bf00808a311814f9275b8673fe6b83bf99ebfb972af69e1c6ac21af97abdb95f30a53dbca2d4225c47cb6d25e3c39a62f212ce7f64ea28b7226020591244747dd68734d8b542e4411db66fe77abdcaf8b524af0f126a8e586852e99685875ba0e958fad2b3c9ace19712c663554337216f483bd3b0ec16cdae8ead308253375eb64e68 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 030304088715bf008013f618eab848eaa9b1ecde14d955a00c47cbaa84cdce6fac404b65c6d51a26963f55b3fc5da769a0acc65f488680baaafa06bdd6a16542adbb50ff7f173eb3666046a5af61e35f67551654449ed86b9b41cc0e66900ff67747e0d1f7269113173d70fa881ea2b71bf0bc11570995eca4aee163e2db376eff230b7a936e86a0e2 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 030205088715bf0080a0f03ace996c214869e63bf0e8469c012a994b9c401fba2df9055c0735907a99dacd26e061e16a0ae1a1b1ba63a048d47922847bc285ff38e2d95e0e3abf5feb4b227dbf00db7ed9686406d0466be57844501de54c7a058d9e919c833c24513937ef10227284576df36699465c77a57466ac255fd5bf762b7399a3e4c550ae29 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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): 35a771e3e1743c4e90f5c4b0401ef62b24ad2f143b8d165694cfdc83ce99626e1ed7492b5cb182363084f73407111304 evm/ima signature: 136 bytes 030205088715bf00805d18bc2abb80add5adf69f41cc8ac6edffa056b05d46b9c865d41d85fc1485721108373b9f98eecc53c14b19c8bbc18ed8f1beee7c6d1f3dc02cdeddb29720e3816968ee0d5b42e9c0ee71948f74c2be96c502b4a697d3c466ff755a8189ca3c9435bff1f68288acdf0c7df4fefda88cbde0f66789bccbf9b367d74eb12d6111 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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: 88715bf (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 030206088715bf00806ba81565a63f1ad232e0d0d74f2bc5580acc4ebf559098f194b2a1dd5a844e66037656c8ae79cb201b8fdb2b8841213e4e07a276a046424f2c31b3490ff3b02f207c54846ace6d15e77330e12ffdbad1e564222c788cfcd3494a8e33952b90b92eda31ecb6d424311326f7ce07978a7ca0619d9f2a71302aa20dcae3822cea69 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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): e9afca27a3d413f56e5afd931e5d51db25815d0ee7e6a3b4a9ebf5f234eef7c4e96d8f9612025675c1bf3c29b31218bc813de37d091e4503966cb6df9842ded1 evm/ima signature: 136 bytes 030206088715bf008029edfcf92fa17ea6d4ab9a3c3bdd1c2d1359acbf6ef4fb35311e638735cce1dc34f033eb380e07ed9278c88319137a6f9a741ca2b6ba4c4068d7b2fea4a573d003f37876cc92e5923cdd11e47d8c092b06a591fda2e90660a396e817cb845986d39c4a9b04b64aafb514836b10fbef5093cf0e25c1bc08f69e8fdba2cfc6a0ab 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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: 88715bf (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 030203088715bf0080708a2fd0006fa3c4296c140cf9b058517b65ff04d370f8e65e1c787c8da483c87b39717cebcc17e67d11035dae29d8877dfa083cbb3d4f45b055740107052ab43e355993dbfc9ebafea9e66a9dd335567a377108c9e78bb9ca94a383a0ab53cc90446e8c94173da60429cae500ed61aca27afab226245aca1377583cc543caae 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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): 5d3482f7b5ba67c75131bbd2d839d1b338411c44 evm/ima signature: 136 bytes 030203088715bf00803cacf94e6b081f4c597d84d7e943429014fae60ef4dc72b66a04b81beefc0094a8e7fb9f6b35edc6986ad15adbfed1accf13e03a3ce12690a88b44afab5355e2571eb464ce8b8302fbcb8bc4d7c92515523532ed76801e3e01f809ab2f2bad108e4cc543fc24ba9be138215891b20d8fcc0e2a58c6673ce086d95a74eeafd6fd 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 88715bf (from test-rsa1024.cer) key 1: 88715bf 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: 88715bf (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 030202b57f588200373035021854f64367e9737747677f38f5dd7db74ef27cc8f52d9194ad021900dc1edc5604f8b41915711fb8e9fc303a896ea30899ef5273 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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): baa853a6b1942476adde1e42bb94478c0bcad76f evm/ima signature: 64 bytes 030202b57f588200383036021900a7b61abd03eeb09b70294c3802899db834dc4f65f8557f13021900d92ddd448b1bbb1422419b9a2138161311473a03bb792d20 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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: b57f5882 (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 030207b57f58820036303402183b6ee3fdf97e139ce7aec883671e7911e651bd2457f8b8b202180fddf0ef20163312cda6108a8e4b5c4a493dd90b5f01dfea 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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): 932001d558d02df4ab144ffeff8daf543d98625696e49062076c10c1 evm/ima signature: 62 bytes 030207b57f5882003630340218498ead4411266f76adce167f0500a3a18a445c59004f0a0d021821d0e05d2bfdbeafaacb8e46455ffbd28387a1addca15bcf 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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: b57f5882 (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: 62 bytes 030204b57f588200363034021804d6d74a5791f6f90e57b993bfd3983d32c056773610e96d02185d6d76647f2403e8edcbee34fdd17263d65586e81d10aa16 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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): 53c0c8cb7657b44ea21a24591db08aa81aa6603a54e43821646c217c0300d3d8 evm/ima signature: 63 bytes 030204b57f588200373035021837c3f29b93b86f9ba22828d9ec4e9101bc52ab76f998b4b1021900aacc9cf0501f31a4e8a13f73c0dc9538804ba3493228f84a 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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: b57f5882 (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 030205b57f58820036303402184d242ba71f823d6e349819e78495b0824ef0709087b873a30218328bf58d9486b8c769c61f14ae83acfdb4fc013c37b59288 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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): b71c7d0f38446e4e9eac332df08826aa9c186ac517e08157a23aee52ba0542c99fad7b4c66433da1b08f04212fa057d5 evm/ima signature: 63 bytes 030205b57f588200373035021872464ec83634081d20f4e0fafc92244564aab2939ac2289d021900b97e19aabb03e8df2e1cbf1dfef0971d85e2486c51f3c168 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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: b57f5882 (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: 63 bytes 030206b57f588200373035021900cf75d540f4f1abbf129e2d6b6fc2a676349ce03bd287f0e3021838742f4aa1e79f6f26dc7ffd9300442e22242a860211625b 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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): 001976f6cb9524c5ed4c29d9afac5e325a99f22987c21ef4ac92ecb9b600e6ab3450091af52b87c070a015abe0667dda09a26e414095616dc721e03da0e43f9c evm/ima signature: 64 bytes 030206b57f588200383036021900c79e3471355743ab504ba2f7f761efef2bdc5ea3378acac6021900917916dcb679be9ddf8a6d70942d2eb346271b61b67ddb76 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 b57f5882 (from test-prime192v1.cer) key 1: b57f5882 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: b57f5882 (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: 80 bytes 030202bbfdfb9600483046022100df831d03d2b0767cec0a1b74d5f3221fa10a0aa01eceebcd158c2d86bfcdfcc4022100dc5417c60c21e62f281485a82aa099d827b3a2792da3cdf18577d5ea785da049 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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): baa853a6b1942476adde1e42bb94478c0bcad76f evm/ima signature: 80 bytes 030202bbfdfb9600483046022100e45f3697530c74d4d0f1fa4eb9b728d92bbc151d950207ca1bcbb6792cd01e3a022100ea56e8691732601079d50728e5e8201b941984a0e9f9d8bf56516779977ca143 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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: bbfdfb96 (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: 78 bytes 030207bbfdfb960046304402203e169f9aff9a159a0b41d3d14f8cbebee1ec68f0c4f18238833c6c1d2fc590c202200559fc41ad140d7002f2280d8255c30873ed112c5f26e6ca7ec9c092ede7b69a 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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): 932001d558d02df4ab144ffeff8daf543d98625696e49062076c10c1 evm/ima signature: 80 bytes 030207bbfdfb9600483046022100b8e672a54cd676b5e456c3b12d2aed2c9d9493ce0e9bc909a83246ec81d53d60022100bcd8e3cfbcc0fbeeea35e1ee1400b1a7d7c32f46a6977d4739f8d646a5781f05 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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: bbfdfb96 (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: 78 bytes 030204bbfdfb960046304402201d7b3c296e5ac23ecd3cb0cf8860f52442fa2d90eb366a0038b1e93b3cf154160220310237298abfeea46be82612f6c054fb76d98ac8a81802d1074c643a92f4df46 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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): 53c0c8cb7657b44ea21a24591db08aa81aa6603a54e43821646c217c0300d3d8 evm/ima signature: 79 bytes 030204bbfdfb960047304502200e3d2c64a1a14451aa3af215e6e1b24ccae1c6085c9c93211a9d304b671da1b2022100bcdcd41b4ff03df8e79f4b6189543ae8957612ce4e9f6eaa56cf39223fff6d3a 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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: bbfdfb96 (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 030205bbfdfb9600483046022100b36492255754d638cf665269ad3d3ac92344f5ef75bb4564b224a818db8205410221009000edaf8079b3efc65424215f644983d4606d3c3c3430d12366755c24ed6d1b 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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): b71c7d0f38446e4e9eac332df08826aa9c186ac517e08157a23aee52ba0542c99fad7b4c66433da1b08f04212fa057d5 evm/ima signature: 79 bytes 030205bbfdfb9600473045022048e54e6536fc83953f823111d32352b9db7e45053f1e8125c209e10a2e211a63022100c0d794c5f0faea3935cbf3ef3af9e53977485c60bc725cfd2b0d7703f6cb0aab 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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: bbfdfb96 (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 030206bbfdfb960047304502210086cd721e3ffac629e473f5a0c594743f2e8aedc064d85f349dd1523d47f5f524022002c05b3d5cfd9ee95f9df6e930e8805c5d12f3a0d2e379d50b3ddeae8600df05 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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): 001976f6cb9524c5ed4c29d9afac5e325a99f22987c21ef4ac92ecb9b600e6ab3450091af52b87c070a015abe0667dda09a26e414095616dc721e03da0e43f9c evm/ima signature: 79 bytes 030206bbfdfb9600473045022030707c6da75e52a9438585811fb987e86eb1d627784ec54bd584f5a7d8220bd2022100941633ad43be81e006aa75626e62e4fc3ef22490f38cb5f9ff415e69549c4202 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 bbfdfb96 (from test-prime256v1.cer) key 1: bbfdfb96 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: bbfdfb96 (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. 286BE48E3C770000: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. 282BD90A45790000: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. 284B46E30E780000: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. 285BC224C7750000: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. 280BCC5616700000: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. 28DB60B3F37A0000: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. 28AB11BBDB780000: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. 28BBBF86AD750000: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. 289BD9B90F7E0000: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. 28CBFDB91A7B0000: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 (20251102.171430) (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