>>> clevis: Building testing/clevis 18-r0 (using abuild 3.9.0-r1) started Fri, 17 Jun 2022 22:13:39 +0000 >>> clevis: Checking sanity of /home/buildozer/aports/testing/clevis/APKBUILD... >>> clevis: Analyzing dependencies... >>> clevis: Installing for build: build-base bash cryptsetup jose libpwquality asciidoc bash-completion meson tpm2-tools cryptsetup-dev jansson-dev jose-dev audit-dev udisks2-dev luksmeta-dev jq tang (1/146) Installing readline (8.1.2-r0) (2/146) Installing bash (5.1.16-r2) Executing bash-5.1.16-r2.post-install (3/146) Installing libblkid (2.38-r1) (4/146) Installing argon2-libs (20190702-r1) (5/146) Installing device-mapper-libs (2.02.187-r2) (6/146) Installing json-c (0.16-r0) (7/146) Installing libuuid (2.38-r1) (8/146) Installing cryptsetup-libs (2.4.3-r0) (9/146) Installing cryptsetup (2.4.3-r0) (10/146) Installing jansson (2.14-r0) (11/146) Installing libjose (11-r1) (12/146) Installing jose (11-r1) (13/146) Installing cracklib-words (2.9.7-r4) (14/146) Installing cracklib (2.9.7-r4) (15/146) Installing libintl (0.21-r2) (16/146) Installing linux-pam (1.5.2-r0) (17/146) Installing libpwquality (1.4.4-r3) (18/146) Installing libffi (3.4.2-r1) (19/146) Installing gdbm (1.23-r0) (20/146) Installing mpdecimal (2.5.1-r1) (21/146) Installing sqlite-libs (3.38.5-r0) (22/146) Installing python3 (3.10.5-r0) (23/146) Installing libxml2 (2.9.14-r0) (24/146) Installing libxml2-utils (2.9.14-r0) (25/146) Installing libgpg-error (1.45-r0) (26/146) Installing libgcrypt (1.10.1-r0) (27/146) Installing libxslt (1.1.35-r0) (28/146) Installing docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-install (29/146) Installing docbook-xsl (1.79.2-r4) Executing docbook-xsl-1.79.2-r4.post-install (30/146) Installing source-highlight (3.1.9-r5) (31/146) Installing asciidoc (9.1.1-r0) (32/146) Installing bash-completion (2.11-r4) (33/146) Installing samurai (1.2-r2) (34/146) Installing meson (0.62.2-r0) (35/146) Installing meson-bash-completion (0.62.2-r0) (36/146) Installing tpm2-tss-mu (3.1.0-r0) (37/146) Installing tpm2-tss-sys (3.1.0-r0) (38/146) Installing tpm2-tss-esys (3.1.0-r0) (39/146) Installing acl (2.3.1-r0) (40/146) Installing tpm2-tss-tctildr (3.1.0-r0) (41/146) Installing tpm2-tss-fapi (3.1.0-r0) Executing tpm2-tss-fapi-3.1.0-r0.pre-install Executing tpm2-tss-fapi-3.1.0-r0.post-install (42/146) Installing tpm2-tss-rc (3.1.0-r0) (43/146) Installing tpm2-tools (5.2-r1) (44/146) Installing tpm2-tools-bash-completion (5.2-r1) (45/146) Installing cryptsetup-dev (2.4.3-r0) (46/146) Installing jansson-dev (2.14-r0) (47/146) Installing openssl-dev (1.1.1o-r0) (48/146) Installing zlib-dev (1.2.12-r1) (49/146) Installing jose-dev (11-r1) (50/146) Installing linux-headers (5.16.7-r1) (51/146) Installing libcap-ng (0.8.3-r1) (52/146) Installing audit-libs (3.0.8-r0) (53/146) Installing audit-dev (3.0.8-r0) (54/146) Installing cairo-tools (1.17.6-r1) (55/146) Installing libpng (1.6.37-r1) (56/146) Installing freetype (2.12.1-r0) (57/146) Installing fontconfig (2.14.0-r0) (58/146) Installing expat-dev (2.4.8-r0) (59/146) Installing brotli-dev (1.0.9-r6) (60/146) Installing libpng-dev (1.6.37-r1) (61/146) Installing freetype-dev (2.12.1-r0) (62/146) Installing fontconfig-dev (2.14.0-r0) (63/146) Installing libxau (1.0.9-r0) (64/146) Installing xorgproto (2022.1-r0) (65/146) Installing libxau-dev (1.0.9-r0) (66/146) Installing libmd (1.0.4-r0) (67/146) Installing libbsd (0.11.6-r2) (68/146) Installing libxdmcp (1.1.3-r0) (69/146) Installing libxcb (1.15-r0) (70/146) Installing libx11 (1.8.1-r1) (71/146) Installing libxext (1.3.4-r0) (72/146) Installing xcb-proto (1.15-r0) (73/146) Installing libxdmcp-dev (1.1.3-r0) (74/146) Installing libxcb-dev (1.15-r0) (75/146) Installing xtrans (1.4.0-r1) (76/146) Installing libx11-dev (1.8.1-r1) (77/146) Installing libxext-dev (1.3.4-r0) (78/146) Installing libxrender (0.9.10-r3) (79/146) Installing libxrender-dev (0.9.10-r3) (80/146) Installing pixman (0.40.0-r3) (81/146) Installing pixman-dev (0.40.0-r3) (82/146) Installing util-macros (1.19.3-r0) (83/146) Installing xcb-util (0.4.0-r3) (84/146) Installing xcb-util-dev (0.4.0-r3) (85/146) Installing cairo (1.17.6-r1) (86/146) Installing libmount (2.38-r1) (87/146) Installing pcre (8.45-r2) (88/146) Installing glib (2.72.2-r0) (89/146) Installing cairo-gobject (1.17.6-r1) (90/146) Installing gettext-asprintf (0.21-r2) (91/146) Installing libunistring (1.0-r0) (92/146) Installing gettext-libs (0.21-r2) (93/146) Installing gettext (0.21-r2) (94/146) Installing gettext-dev (0.21-r2) (95/146) Installing bzip2-dev (1.0.8-r1) (96/146) Installing libffi-dev (3.4.2-r1) (97/146) Installing libpcre16 (8.45-r2) (98/146) Installing libpcre32 (8.45-r2) (99/146) Installing libpcrecpp (8.45-r2) (100/146) Installing pcre-dev (8.45-r2) (101/146) Installing libfdisk (2.38-r1) (102/146) Installing libsmartcols (2.38-r1) (103/146) Installing util-linux-dev (2.38-r1) (104/146) Installing glib-dev (2.72.2-r0) (105/146) Installing cairo-dev (1.17.6-r1) (106/146) Installing libltdl (2.4.7-r0) (107/146) Installing libtool (2.4.7-r0) (108/146) Installing gobject-introspection (1.72.0-r0) (109/146) Installing gobject-introspection-dev (1.72.0-r0) (110/146) Installing polkit-libs (0.120-r2) (111/146) Installing polkit-common (0.120-r2) Executing polkit-common-0.120-r2.pre-install (112/146) Installing dbus-libs (1.14.0-r1) (113/146) Installing dbus-glib (0.112-r0) (114/146) Installing dbus-dev (1.14.0-r1) (115/146) Installing dbus-glib-dev (0.112-r0) (116/146) Installing polkit-dev (0.120-r2) (117/146) Installing udev-init-scripts (35-r0) Executing udev-init-scripts-35-r0.post-install (118/146) Installing eudev-libs (3.2.11-r0) (119/146) Installing kmod-libs (29-r2) (120/146) Installing eudev (3.2.11-r0) (121/146) Installing eudev-dev (3.2.11-r0) (122/146) Installing libatasmart (0.19-r1) (123/146) Installing libatasmart-dev (0.19-r1) (124/146) Installing libgudev (237-r1) (125/146) Installing libgudev-dev (237-r1) (126/146) Installing acl-dev (2.3.1-r0) (127/146) Installing device-mapper-event-libs (2.02.187-r2) (128/146) Installing libaio (0.3.112-r2) (129/146) Installing lvm2-libs (2.02.187-r2) (130/146) Installing lvm2-dev (2.02.187-r2) (131/146) Installing udisks2-libs (2.9.4-r1) (132/146) Installing udisks2-dev (2.9.4-r1) (133/146) Installing luksmeta (9-r0) (134/146) Installing luksmeta-dev (9-r0) (135/146) Installing oniguruma (6.9.8-r0) (136/146) Installing jq (1.6-r1) (137/146) Installing http-parser (2.9.4-r0) (138/146) Installing tang (11-r0) Executing tang-11-r0.pre-install (139/146) Installing .makedepends-clevis (20220617.221340) (140/146) Installing cryptsetup-openrc (2.4.3-r0) (141/146) Installing socat (1.7.4.3-r0) (142/146) Installing tang-openrc (11-r0) (143/146) Installing udev-init-scripts-openrc (35-r0) (144/146) Installing eudev-openrc (3.2.11-r0) (145/146) Installing openrc-bash-completion (0.44.10-r7) (146/146) Installing git-bash-completion (2.36.1-r0) Executing busybox-1.35.0-r16.trigger Executing cracklib-2.9.7-r4.trigger Executing glib-2.72.2-r0.trigger No schema files found: removed existing output file. Executing eudev-3.2.11-r0.trigger OK: 503 MiB in 246 packages >>> clevis: Cleaning up srcdir >>> clevis: Cleaning up pkgdir >>> clevis: Fetching https://distfiles.alpinelinux.org/distfiles/edge/clevis-18.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> clevis: Fetching https://github.com/latchset/clevis/archive/v18/clevis-18.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 78191 100 78191 0 0 181k 0 --:--:-- --:--:-- --:--:-- 3470k >>> clevis: Fetching https://distfiles.alpinelinux.org/distfiles/edge/clevis-18.tar.gz >>> clevis: Checking sha512sums... clevis-18.tar.gz: OK musl.patch: OK >>> clevis: Unpacking /var/cache/distfiles/edge/clevis-18.tar.gz... >>> clevis: musl.patch patching file src/pins/sss/sss.h The Meson build system Version: 0.62.2 Source dir: /home/buildozer/aports/testing/clevis/src/clevis-18 Build dir: /home/buildozer/aports/testing/clevis/src/clevis-18/output Build type: native build Project name: clevis Project version: 18 C compiler for the host machine: gcc (gcc 11.2.1 "gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219") C linker for the host machine: gcc ld.bfd 2.38 Host machine cpu family: x86_64 Host machine cpu: x86_64 meson.build:39: WARNING: Consider using the built-in warning_level option instead of using "-Wall". meson.build:39: WARNING: Consider using the built-in warning_level option instead of using "-Wextra". meson.build:39: WARNING: Consider using the built-in werror option instead of using "-Werror". Found pkg-config: /usr/bin/pkg-config (1.8.0) Run-time dependency jansson found: YES 2.14 Run-time dependency jose found: YES 11 Program a2x found: YES (/usr/bin/a2x) Run-time dependency bash-completion found: YES 2.11 Run-time dependency luksmeta found: YES 9 Program pwmake found: YES (/usr/bin/pwmake) Run-time dependency libcryptsetup found: YES 2.4.3 Configuring clevis-luks-common-functions using configuration Configuring clevis-luks-unbind using configuration Did not find CMake 'cmake' Found CMake: NO Run-time dependency systemd found: NO (tried pkgconfig and cmake) Program /usr/lib/systemd/systemd-reply-password /usr/lib/systemd/systemd-reply-password /usr/lib/systemd/systemd-reply-password /usr/lib/systemd/systemd-reply-password found: NO src/luks/systemd/meson.build:33: WARNING: Will not install systemd support due to missing dependencies! Run-time dependency audit found: YES 3.0.8 Run-time dependency udisks2 found: YES 2.9.4 Run-time dependency gio-2.0 found: YES 2.72.2 Configuring clevis-luks-udisks2.desktop using configuration Program jq found: YES (/usr/bin/jq) Program cryptsetup found: YES (/sbin/cryptsetup) Configuring tests-common-functions using configuration Program bind-wrong-pass-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-wrong-pass-luks1) Program bind-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-luks1) Program unbind-unbound-slot-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unbind-unbound-slot-luks1) Program unbind-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unbind-luks1) Program bind-key-file-non-interactive-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-key-file-non-interactive-luks1) Program bind-pass-with-newline-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-pass-with-newline-luks1) Program bind-pass-with-newline-keyfile-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-pass-with-newline-keyfile-luks1) Program bind-binary-keyfile-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-binary-keyfile-luks1) Program bind-already-used-luksmeta-slot found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-already-used-luksmeta-slot) Program bad-sss found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bad-sss) Program list-recursive-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-recursive-luks1) Program list-tang-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-tang-luks1) Program list-sss-tang-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-sss-tang-luks1) Program unlock-tang-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unlock-tang-luks1) Program assume-yes found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/assume-yes) Program regen-inplace-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-inplace-luks1) Program regen-not-inplace-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-not-inplace-luks1) Program report-tang-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-tang-luks1) Program report-sss-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-sss-luks1) Program edit-tang-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/edit-tang-luks1) Program backup-restore-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/backup-restore-luks1) Program pass-tang-luks1 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/pass-tang-luks1) Program bind-wrong-pass-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-wrong-pass-luks2) Program bind-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-luks2) Program unbind-unbound-slot-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unbind-unbound-slot-luks2) Program unbind-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unbind-luks2) Program list-recursive-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-recursive-luks2) Program list-tang-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-tang-luks2) Program list-sss-tang-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-sss-tang-luks2) Program unlock-tang-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unlock-tang-luks2) Program assume-yes-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/assume-yes-luks2) Program regen-inplace-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-inplace-luks2) Program regen-not-inplace-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-not-inplace-luks2) Program report-tang-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-tang-luks2) Program report-sss-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-sss-luks2) Program edit-tang-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/edit-tang-luks2) Program backup-restore-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/backup-restore-luks2) Program pass-tang-luks2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/pass-tang-luks2) Run-time dependency libcrypto found: YES 1.1.1o Program /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss/pin-sss found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss/pin-sss) Program /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss/pin-test found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss/pin-test) Program curl found: YES (/usr/bin/curl) Program /usr/libexec/tangd-keygen found: YES (/usr/libexec/tangd-keygen) Program /usr/libexec/tangd-update /usr/lib/tangd-update /usr/libexec/tangd-update /usr/lib/tangd-update /usr/libexec/tangd-update found: NO Program /usr/libexec/tangd found: YES (/usr/libexec/tangd) Program socat found: YES (/usr/bin/socat) Configuring tang-common-test-functions using configuration Program pin-tang found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/tests/pin-tang) Program tang-validate-adv found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/tests/tang-validate-adv) Program default-thp-alg found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/tests/default-thp-alg) Program tpm2_createprimary found: YES (/usr/bin/tpm2_createprimary) Program tpm2_pcrread found: YES (/usr/bin/tpm2_pcrread) Program tpm2_createpolicy found: YES (/usr/bin/tpm2_createpolicy) Program tpm2_create found: YES (/usr/bin/tpm2_create) Program tpm2_load found: YES (/usr/bin/tpm2_load) Program tpm2_unseal found: YES (/usr/bin/tpm2_unseal) Program pin-tpm2 found: YES (/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2/pin-tpm2) Program update-initramfs found: NO src/initramfs-tools/meson.build:15: WARNING: Will not install initramfs-tools module due to missing dependencies! Build targets in project: 17 clevis 18 User defined options auto_features : auto bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir: /var/lib sysconfdir : /etc wrap_mode : nodownload b_lto : false b_pie : true b_staticpic : true Found ninja-1.9 at /usr/bin/ninja ninja: entering directory '/home/buildozer/aports/testing/clevis/src/clevis-18/output' [1/22] Generating clevis.1 with a custom command [2/22] Generating clevis-decrypt.1 with a custom command [3/22] Generating clevis-encrypt-tpm2.1 with a custom command [4/22] Generating clevis-encrypt-tang.1 with a custom command [5/22] Generating clevis-encrypt-sss.1 with a custom command [6/22] Generating clevis-luks-pass.1 with a custom command [7/22] Generating clevis-luks-edit.1 with a custom command [8/22] Generating clevis-luks-report.1 with a custom command [9/22] Generating clevis-luks-regen.1 with a custom command [10/22] Generating clevis-luks-unlock.1 with a custom command [11/22] Generating clevis-luks-list.1 with a custom command [12/22] Generating clevis-luks-unlockers.7 with a custom command [13/22] Generating clevis-luks-bind.1 with a custom command [14/22] Generating clevis-luks-unbind.1 with a custom command [15/22] Compiling C object src/pins/sss/clevis-encrypt-sss.p/sss.c.o [16/22] Compiling C object src/pins/sss/clevis-encrypt-sss.p/clevis-encrypt-sss.c.o [17/22] Compiling C object src/pins/sss/clevis-decrypt-sss.p/sss.c.o [18/22] Compiling C object src/pins/sss/clevis-decrypt-sss.p/clevis-decrypt-sss.c.o [19/22] Compiling C object src/luks/udisks2/clevis-luks-udisks2.p/clevis-luks-udisks2.c.o [20/22] Linking target src/pins/sss/clevis-encrypt-sss [21/22] Linking target src/pins/sss/clevis-decrypt-sss [22/22] Linking target src/luks/udisks2/clevis-luks-udisks2 1/44 bind-wrong-pass-luks1 RUNNING >>> MALLOC_PERTURB_=116 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-wrong-pass-luks1 2/44 bind-luks1 RUNNING >>> PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MALLOC_PERTURB_=20 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-luks1 3/44 unbind-unbound-slot-luks1 RUNNING >>> MALLOC_PERTURB_=16 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unbind-unbound-slot-luks1 4/44 unbind-luks1 RUNNING >>> MALLOC_PERTURB_=232 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unbind-luks1 5/44 bind-key-file-non-interactive RUNNING >>> PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MALLOC_PERTURB_=91 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-key-file-non-interactive-luks1 6/44 bind-pass-with-newline RUNNING >>> PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MALLOC_PERTURB_=119 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-pass-with-newline-luks1 7/44 bind-pass-with-newline-keyfile RUNNING >>> MALLOC_PERTURB_=236 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-pass-with-newline-keyfile-luks1 8/44 bind-binary-keyfile RUNNING >>> MALLOC_PERTURB_=83 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-binary-keyfile-luks1 9/44 bind-already-used-luksmeta-slot RUNNING >>> MALLOC_PERTURB_=101 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-already-used-luksmeta-slot 10/44 bad-sss RUNNING >>> MALLOC_PERTURB_=51 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bad-sss 11/44 list-recursive-luks1 RUNNING >>> MALLOC_PERTURB_=253 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-recursive-luks1 12/44 list-tang-luks1 RUNNING >>> MALLOC_PERTURB_=146 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-tang-luks1 13/44 list-sss-tang-luks1 RUNNING >>> MALLOC_PERTURB_=231 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-sss-tang-luks1 14/44 unlock-tang-luks1 RUNNING >>> PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MALLOC_PERTURB_=229 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unlock-tang-luks1 15/44 assume-yes RUNNING >>> PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MALLOC_PERTURB_=184 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/assume-yes 16/44 regen-inplace-luks1 RUNNING >>> MALLOC_PERTURB_=156 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-inplace-luks1 17/44 regen-not-inplace-luks1 RUNNING >>> MALLOC_PERTURB_=138 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-not-inplace-luks1 18/44 report-tang-luks1 RUNNING >>> PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MALLOC_PERTURB_=41 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-tang-luks1 19/44 report-sss-luks1 RUNNING >>> MALLOC_PERTURB_=103 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-sss-luks1 20/44 edit-tang-luks1 RUNNING >>> PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MALLOC_PERTURB_=32 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/edit-tang-luks1 21/44 backup-restore-luks1 RUNNING >>> MALLOC_PERTURB_=226 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/backup-restore-luks1 22/44 pass-tang-luks1 RUNNING >>> MALLOC_PERTURB_=103 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/pass-tang-luks1 23/44 bind-wrong-pass-luks2 RUNNING >>> MALLOC_PERTURB_=47 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-wrong-pass-luks2 24/44 bind-luks2 RUNNING >>> MALLOC_PERTURB_=80 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-luks2 25/44 unbind-unbound-slot-luks2 RUNNING >>> MALLOC_PERTURB_=244 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unbind-unbound-slot-luks2 26/44 unbind-luks2 RUNNING >>> PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MALLOC_PERTURB_=255 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unbind-luks2 27/44 list-recursive-luks2 RUNNING >>> MALLOC_PERTURB_=232 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-recursive-luks2 28/44 list-tang-luks2 RUNNING >>> MALLOC_PERTURB_=228 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-tang-luks2 29/44 list-sss-tang-luks2 RUNNING >>> PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MALLOC_PERTURB_=167 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-sss-tang-luks2 30/44 unlock-tang-luks2 RUNNING >>> PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MALLOC_PERTURB_=219 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unlock-tang-luks2 31/44 assume-yes-luks2 RUNNING >>> MALLOC_PERTURB_=240 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/assume-yes-luks2 32/44 regen-inplace-luks2 RUNNING >>> MALLOC_PERTURB_=161 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-inplace-luks2 1/44 bind-wrong-pass-luks1 SKIP 0.27s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-wrong-pass-luks1 + TEST=bind-wrong-pass-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR ++ mktemp -d + TMP=/tmp/tmp.okpfGd + ADV=/tmp/tmp.okpfGd/adv.jws + tang_create_adv /tmp/tmp.okpfGd /tmp/tmp.okpfGd/adv.jws + local basedir=/tmp/tmp.okpfGd + local adv=/tmp/tmp.okpfGd/adv.jws + local SIG=/tmp/tmp.okpfGd/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.okpfGd/sig.jwk + local EXC=/tmp/tmp.okpfGd/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.okpfGd/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.okpfGd/sig.jwk --input=/tmp/tmp.okpfGd/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.okpfGd/sig.jwk --output=/tmp/tmp.okpfGd/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.okpfGd/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.okpfGd/adv.jws"}' + DEV=/tmp/tmp.okpfGd/luks1-device + new_device luks1 /tmp/tmp.okpfGd/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.okpfGd/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.okpfGd ']' + rm -rf /tmp/tmp.okpfGd ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 2/44 bind-luks1 SKIP 0.27s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-luks1 + TEST=bind-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR ++ mktemp -d + TMP=/tmp/tmp.njPHEN + ADV=/tmp/tmp.njPHEN/adv.jws + tang_create_adv /tmp/tmp.njPHEN /tmp/tmp.njPHEN/adv.jws + local basedir=/tmp/tmp.njPHEN + local adv=/tmp/tmp.njPHEN/adv.jws + local SIG=/tmp/tmp.njPHEN/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.njPHEN/sig.jwk + local EXC=/tmp/tmp.njPHEN/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.njPHEN/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.njPHEN/sig.jwk --input=/tmp/tmp.njPHEN/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.njPHEN/sig.jwk --output=/tmp/tmp.njPHEN/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.njPHEN/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.njPHEN/adv.jws"}' + DEV=/tmp/tmp.njPHEN/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks1 /tmp/tmp.njPHEN/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.njPHEN/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.njPHEN ']' + rm -rf /tmp/tmp.njPHEN ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 3/44 unbind-unbound-slot-luks1 SKIP 0.26s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unbind-unbound-slot-luks1 + TEST=unbind-unbound-slot-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR ++ mktemp -d + TMP=/tmp/tmp.ddjbdN + DEV=/tmp/tmp.ddjbdN/luks1-device + new_device luks1 /tmp/tmp.ddjbdN/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.ddjbdN/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.ddjbdN ']' + rm -rf /tmp/tmp.ddjbdN ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 4/44 unbind-luks1 SKIP 0.26s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unbind-luks1 + TEST=unbind-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR ++ mktemp -d + TMP=/tmp/tmp.OFenFh + ADV=/tmp/tmp.OFenFh/adv.jws + tang_create_adv /tmp/tmp.OFenFh /tmp/tmp.OFenFh/adv.jws + local basedir=/tmp/tmp.OFenFh + local adv=/tmp/tmp.OFenFh/adv.jws + local SIG=/tmp/tmp.OFenFh/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.OFenFh/sig.jwk + local EXC=/tmp/tmp.OFenFh/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.OFenFh/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.OFenFh/sig.jwk --input=/tmp/tmp.OFenFh/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.OFenFh/sig.jwk --output=/tmp/tmp.OFenFh/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.OFenFh/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.OFenFh/adv.jws"}' + DEV=/tmp/tmp.OFenFh/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks1 /tmp/tmp.OFenFh/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.OFenFh/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.OFenFh ']' + rm -rf /tmp/tmp.OFenFh ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 5/44 bind-key-file-non-interactive SKIP 0.26s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + TEST=/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-key-file-non-interactive-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR ++ mktemp -d + TMP=/tmp/tmp.EfPHcK + ADV=/tmp/tmp.EfPHcK/adv.jws + tang_create_adv /tmp/tmp.EfPHcK /tmp/tmp.EfPHcK/adv.jws + local basedir=/tmp/tmp.EfPHcK + local adv=/tmp/tmp.EfPHcK/adv.jws + local SIG=/tmp/tmp.EfPHcK/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.EfPHcK/sig.jwk + local EXC=/tmp/tmp.EfPHcK/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.EfPHcK/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.EfPHcK/sig.jwk --input=/tmp/tmp.EfPHcK/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.EfPHcK/sig.jwk --output=/tmp/tmp.EfPHcK/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.EfPHcK/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.EfPHcK/adv.jws"}' + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + KEYFILE=/tmp/tmp.EfPHcK/key ++ new_passphrase ++ jose jwk gen '--input={"kty":"oct","bytes":8}' --output=- ++ jose fmt --json=- --object --get k --unquote=- + PASS=_nK6P7J9C7c + echo -n _nK6P7J9C7c + DEV=/tmp/tmp.EfPHcK/luks1-device + new_device_keyfile luks1 /tmp/tmp.EfPHcK/luks1-device /tmp/tmp.EfPHcK/key + local LUKS=luks1 + local DEV=/tmp/tmp.EfPHcK/luks1-device + local KEYFILE=/tmp/tmp.EfPHcK/key ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.EfPHcK ']' + rm -rf /tmp/tmp.EfPHcK ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 6/44 bind-pass-with-newline SKIP 0.25s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + TEST=/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-pass-with-newline-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR ++ mktemp -d + TMP=/tmp/tmp.GfHBaJ + ADV=/tmp/tmp.GfHBaJ/adv.jws + tang_create_adv /tmp/tmp.GfHBaJ /tmp/tmp.GfHBaJ/adv.jws + local basedir=/tmp/tmp.GfHBaJ + local adv=/tmp/tmp.GfHBaJ/adv.jws + local SIG=/tmp/tmp.GfHBaJ/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.GfHBaJ/sig.jwk + local EXC=/tmp/tmp.GfHBaJ/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.GfHBaJ/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.GfHBaJ/sig.jwk --input=/tmp/tmp.GfHBaJ/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.GfHBaJ/sig.jwk --output=/tmp/tmp.GfHBaJ/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.GfHBaJ/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.GfHBaJ/adv.jws"}' + DEV=/tmp/tmp.GfHBaJ/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + PASS='foo bar \\&#@@&@*!)( 38017$ ' + new_device luks1 /tmp/tmp.GfHBaJ/luks1-device 'foo bar \\&#@@&@*!)( 38017$ ' + local LUKS=luks1 + local DEV=/tmp/tmp.GfHBaJ/luks1-device + local 'PASS=foo bar \\&#@@&@*!)( 38017$ ' ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.GfHBaJ ']' + rm -rf /tmp/tmp.GfHBaJ ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 7/44 bind-pass-with-newline-keyfile SKIP 0.25s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + TEST=/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-pass-with-newline-keyfile-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR ++ mktemp -d + TMP=/tmp/tmp.fIoGOC + ADV=/tmp/tmp.fIoGOC/adv.jws + tang_create_adv /tmp/tmp.fIoGOC /tmp/tmp.fIoGOC/adv.jws + local basedir=/tmp/tmp.fIoGOC + local adv=/tmp/tmp.fIoGOC/adv.jws + local SIG=/tmp/tmp.fIoGOC/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.fIoGOC/sig.jwk + local EXC=/tmp/tmp.fIoGOC/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.fIoGOC/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.fIoGOC/sig.jwk --input=/tmp/tmp.fIoGOC/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.fIoGOC/sig.jwk --output=/tmp/tmp.fIoGOC/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.fIoGOC/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.fIoGOC/adv.jws"}' + DEV=/tmp/tmp.fIoGOC/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + PASS='foo bar \\&#@@&@*!)( 38026$ ' + KEYFILE=/tmp/tmp.fIoGOC/key + echo -n 'foo bar \\&#@@&@*!)( 38026$ ' + new_device_keyfile luks1 /tmp/tmp.fIoGOC/luks1-device /tmp/tmp.fIoGOC/key + local LUKS=luks1 + local DEV=/tmp/tmp.fIoGOC/luks1-device + local KEYFILE=/tmp/tmp.fIoGOC/key ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.fIoGOC ']' + rm -rf /tmp/tmp.fIoGOC ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 8/44 bind-binary-keyfile SKIP 0.25s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + TEST=/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-binary-keyfile-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.GPOEnK ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=3830 + tang_run /tmp/tmp.GPOEnK 3830 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.GPOEnK + local port=3830 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.GPOEnK ']' + '[' -z 3830 ']' + tang_new_keys /tmp/tmp.GPOEnK '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.GPOEnK + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.GPOEnK ']' + local db=/tmp/tmp.GPOEnK/db + mkdir -p /tmp/tmp.GPOEnK/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.GPOEnK/db Unable to change owner/group for /tmp/tmp.GPOEnK/db/TgCB8PwQTbYAveFFP-wY4ucSKVmoDGMOzFnqrR6pMbM.jwk to tang:tang Unable to change owner/group for /tmp/tmp.GPOEnK/db/6tVN73lUb73VPZ2iXJSlBmljOuWRqkEBCFmBgZFZmks.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.GPOEnK/cache + '[' -z '' ']' + KEYS=/tmp/tmp.GPOEnK/db + local pid pidfile + pidfile=/tmp/tmp.GPOEnK/tang.pid + pid=38110 + echo 38110 + /usr/bin/socat -v -v TCP-LISTEN:3830,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.GPOEnK/db' + tang_wait_until_ready 3830 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=3830 + '[' -z 3830 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:3830/adv > 2022/06/17 22:13:55.000104132 length=81 from=0 to=80 GET /adv HTTP/1.1\r Host: localhost:3830\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000107863 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFabmd4MlAxMDZ2Ulo0c3ozVGZVaFhYWHJDMkhJbk93c1l0QTVFRjJFdlRlN3gtemtRV3ZTMXN5UEJyclVXNFNPYVAzNkNWNUZXMk1lY0dDU1FZaVlTZHIiLCAieSI6ICJBTmMzMVczVDBwMU1BTExKVi1qSFhRanN5alVkUkJ5MTBlNW1obS1Rb1hZaVZnNUEwMTJlbFpsNERUOWNnbE8tLXJ5ZzVnRFFsME5PUTlKVTdLT2t6aGxzIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUFhWC05TldmNTZXLXcxRWQ3UldoeEVLWnF4NGZzZ3JVSElzQ1loX3UwR1E1SmtxTE1xeUZ6UVdSRk83S09kUkJxOFp0SUhVcGVqaGhBc1djT1ZvMHJpaiIsICJ5IjogIkFZZ3FaSzZ4MWFNVUFhNHFfSTFkUkFocWcycEdGTFhkMUtRZk92bXh4YlpKUXItZkxoX0dWRkpnem1QeFd3SkFkY3VCOGdnNGkxeGctR2NpVDBEd2FSZVIifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "APv_hQe03fTFaY2xFzGMxvREnlIbvccCm5jZnsGkDk26aNsDR_hoPYz_hE6ZMd9V2HL0FFjbt159OKJdvudkoO2wATeY4YVa0s2TVsit18rNN5jSF7HD5XhPr5W3XQo0sdzkHfgrI8qUbZC3GmfK5seXOQErus2skRC_pySgUYNHQWlO"}+ url=http://localhost:3830 + ADV=/tmp/tmp.GPOEnK/adv.jws + tang_get_adv 3830 /tmp/tmp.GPOEnK/adv.jws + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=3830 + local adv=/tmp/tmp.GPOEnK/adv.jws + '[' -z 3830 ']' + curl -L -o /tmp/tmp.GPOEnK/adv.jws http://localhost:3830/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000114404 length=81 from=0 to=80 GET /adv HTTP/1.1\r Host: localhost:3830\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000118077 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFabmd4MlAxMDZ2Ulo0c3ozVGZVaFhYWHJDMkhJbk93c1l0QTVFRjJFdlRlN3gtemtRV3ZTMXN5UEJyclVXNFNPYVAzNkNWNUZXMk1lY0dDU1FZaVlTZHIiLCAieSI6ICJBTmMzMVczVDBwMU1BTExKVi1qSFhRanN5alVkUkJ5MTBlNW1obS1Rb1hZaVZnNUEwMTJlbFpsNERUOWNnbE8tLXJ5ZzVnRFFsME5PUTlKVTdLT2t6aGxzIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUFhWC05TldmNTZXLXcxRWQ3UldoeEVLWnF4NGZzZ3JVSElzQ1loX3UwR1E1SmtxTE1xeUZ6UVdSRk83S09kUkJxOFp0SUhVcGVqaGhBc1djT1ZvMHJpaiIsICJ5IjogIkFZZ3FaSzZ4MWFNVUFhNHFfSTFkUkFocWcycEdGTFhkMUtRZk92bXh4YlpKUXItZkxoX0dWRkpnem1QeFd3SkFkY3VCOGdnNGkxeGctR2NpVDBEd2FSZVIifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AGxpNCI-kVRCZDed3LzRQszX7oFmMCTvjfeuPHOuYsAiBBWe9PU3vyLG2ClWZR4TLRjQ2lhcL71ZziEKH72i7uraAerSfYu1lUQBeCt91ws5vI0TFzti4fWldc-XjU4NC6gnzNilLhmueIWjxQ3UXPmHaj1G714vUCatq1UJ0bCiQrBm"} 100 993 100 993 0 0 179k 0 --:--:-- --:--:-- --:--:-- 193k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:3830 /tmp/tmp.GPOEnK/adv.jws + CFG='{"url":"http://localhost:3830","adv":"/tmp/tmp.GPOEnK/adv.jws"}' + DEV=/tmp/tmp.GPOEnK/luks1-device + KEYFILE=/tmp/tmp.GPOEnK/key + dd if=/dev/urandom bs=4096 count=1 + new_device_keyfile luks1 /tmp/tmp.GPOEnK/luks1-device /tmp/tmp.GPOEnK/key + local LUKS=luks1 + local DEV=/tmp/tmp.GPOEnK/luks1-device + local KEYFILE=/tmp/tmp.GPOEnK/key ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + local exit_status=77 + tang_stop /tmp/tmp.GPOEnK + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.GPOEnK + '[' -z /tmp/tmp.GPOEnK ']' + local pidfile=/tmp/tmp.GPOEnK/tang.pid + '[' -f /tmp/tmp.GPOEnK/tang.pid ']' + local pid + pid=38110 + kill -9 38110 + '[' -d /tmp/tmp.GPOEnK ']' + rm -rf /tmp/tmp.GPOEnK /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-binary-keyfile-luks1: line 25: 38110 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" + exit 77 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 9/44 bind-already-used-luksmeta-slot SKIP 0.25s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + TEST=/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-already-used-luksmeta-slot + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR ++ mktemp -d + TMP=/tmp/tmp.lJNGHJ + ADV=/tmp/tmp.lJNGHJ/adv.jws + tang_create_adv /tmp/tmp.lJNGHJ /tmp/tmp.lJNGHJ/adv.jws + local basedir=/tmp/tmp.lJNGHJ + local adv=/tmp/tmp.lJNGHJ/adv.jws + local SIG=/tmp/tmp.lJNGHJ/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.lJNGHJ/sig.jwk + local EXC=/tmp/tmp.lJNGHJ/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.lJNGHJ/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.lJNGHJ/sig.jwk --input=/tmp/tmp.lJNGHJ/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.lJNGHJ/sig.jwk --output=/tmp/tmp.lJNGHJ/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.lJNGHJ/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.lJNGHJ/adv.jws"}' + DEV=/tmp/tmp.lJNGHJ/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + SLT=1 + NEW_PASS=new-pass + PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + WRONG_PASS=wrong-password-here + new_device luks1 /tmp/tmp.lJNGHJ/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.lJNGHJ/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.lJNGHJ ']' + rm -rf /tmp/tmp.lJNGHJ ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 10/44 bad-sss SKIP 0.24s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bad-sss + TEST=bad-sss + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.OfNbKP + CFG='{"t":1, "pins":{"tang":[{"url":"foo bar"}]}}' + DEV=/tmp/tmp.OfNbKP/luks1-device + new_device luks1 /tmp/tmp.OfNbKP/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.OfNbKP/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.OfNbKP ']' + rm -rf /tmp/tmp.OfNbKP ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 11/44 list-recursive-luks1 SKIP 0.24s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-recursive-luks1 + TEST=list-recursive-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR ++ mktemp -d + TMP=/tmp/tmp.ldHiII + ADV=/tmp/tmp.ldHiII/adv.jws + tang_create_adv /tmp/tmp.ldHiII /tmp/tmp.ldHiII/adv.jws + local basedir=/tmp/tmp.ldHiII + local adv=/tmp/tmp.ldHiII/adv.jws + local SIG=/tmp/tmp.ldHiII/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.ldHiII/sig.jwk + local EXC=/tmp/tmp.ldHiII/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.ldHiII/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.ldHiII/sig.jwk --input=/tmp/tmp.ldHiII/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.ldHiII/sig.jwk --output=/tmp/tmp.ldHiII/adv.jws + PIN=sss ++ printf ' { "t": 1, "pins": { "sss": { "t": 1, "pins": { "sss": { "t": 1, "pins": { "tang": [ { "url": "ADDR","adv": "%s" } ] } } } } } } ' /tmp/tmp.ldHiII/adv.jws + CFG=' { "t": 1, "pins": { "sss": { "t": 1, "pins": { "sss": { "t": 1, "pins": { "tang": [ { "url": "ADDR","adv": "/tmp/tmp.ldHiII/adv.jws" } ] } } } } } }' + DEV=/tmp/tmp.ldHiII/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks1 /tmp/tmp.ldHiII/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.ldHiII/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.ldHiII ']' + rm -rf /tmp/tmp.ldHiII ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 12/44 list-tang-luks1 SKIP 0.24s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-tang-luks1 + TEST=list-tang-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR ++ mktemp -d + TMP=/tmp/tmp.bBMGmj + ADV=/tmp/tmp.bBMGmj/adv.jws + tang_create_adv /tmp/tmp.bBMGmj /tmp/tmp.bBMGmj/adv.jws + local basedir=/tmp/tmp.bBMGmj + local adv=/tmp/tmp.bBMGmj/adv.jws + local SIG=/tmp/tmp.bBMGmj/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.bBMGmj/sig.jwk + local EXC=/tmp/tmp.bBMGmj/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.bBMGmj/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.bBMGmj/sig.jwk --input=/tmp/tmp.bBMGmj/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.bBMGmj/sig.jwk --output=/tmp/tmp.bBMGmj/adv.jws + PIN=tang ++ printf '{"url": "ADDR","adv": "%s"}' /tmp/tmp.bBMGmj/adv.jws + CFG='{"url": "ADDR","adv": "/tmp/tmp.bBMGmj/adv.jws"}' + DEV=/tmp/tmp.bBMGmj/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks1 /tmp/tmp.bBMGmj/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.bBMGmj/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.bBMGmj ']' + rm -rf /tmp/tmp.bBMGmj ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 13/44 list-sss-tang-luks1 SKIP 0.24s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-sss-tang-luks1 + TEST=list-sss-tang-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR ++ mktemp -d + TMP=/tmp/tmp.eDpkPF + ADV=/tmp/tmp.eDpkPF/adv.jws + tang_create_adv /tmp/tmp.eDpkPF /tmp/tmp.eDpkPF/adv.jws + local basedir=/tmp/tmp.eDpkPF + local adv=/tmp/tmp.eDpkPF/adv.jws + local SIG=/tmp/tmp.eDpkPF/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.eDpkPF/sig.jwk + local EXC=/tmp/tmp.eDpkPF/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.eDpkPF/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.eDpkPF/sig.jwk --input=/tmp/tmp.eDpkPF/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.eDpkPF/sig.jwk --output=/tmp/tmp.eDpkPF/adv.jws + PIN=sss ++ printf ' { "t": 2, "pins": { "tang": [ {"url":"ADDR1","adv":"%s"}, {"url":"ADDR2","adv":"%s"}, {"url":"ADDR3","adv":"%s"}, {"url":"ADDR4","adv":"%s"}, {"url":"ADDR5","adv":"%s"} ] } } ' /tmp/tmp.eDpkPF/adv.jws /tmp/tmp.eDpkPF/adv.jws /tmp/tmp.eDpkPF/adv.jws /tmp/tmp.eDpkPF/adv.jws /tmp/tmp.eDpkPF/adv.jws + CFG=' { "t": 2, "pins": { "tang": [ {"url":"ADDR1","adv":"/tmp/tmp.eDpkPF/adv.jws"}, {"url":"ADDR2","adv":"/tmp/tmp.eDpkPF/adv.jws"}, {"url":"ADDR3","adv":"/tmp/tmp.eDpkPF/adv.jws"}, {"url":"ADDR4","adv":"/tmp/tmp.eDpkPF/adv.jws"}, {"url":"ADDR5","adv":"/tmp/tmp.eDpkPF/adv.jws"} ] } }' + DEV=/tmp/tmp.eDpkPF/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks1 /tmp/tmp.eDpkPF/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.eDpkPF/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.eDpkPF ']' + rm -rf /tmp/tmp.eDpkPF ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 14/44 unlock-tang-luks1 SKIP 0.23s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unlock-tang-luks1 + TEST=unlock-tang-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT + trap on_exit ERR ++ mktemp -d + TMP=/tmp/tmp.pMEkDF ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=55250 + tang_run /tmp/tmp.pMEkDF 55250 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.pMEkDF + local port=55250 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.pMEkDF ']' + '[' -z 55250 ']' + tang_new_keys /tmp/tmp.pMEkDF '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.pMEkDF + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.pMEkDF ']' + local db=/tmp/tmp.pMEkDF/db + mkdir -p /tmp/tmp.pMEkDF/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.pMEkDF/db Unable to change owner/group for /tmp/tmp.pMEkDF/db/eZEDmj-Gb_TT20TFmQ093ImfktN854QbQhqX6jGjkoo.jwk to tang:tang Unable to change owner/group for /tmp/tmp.pMEkDF/db/tsYo19A-NRd0h-vJlhli-7G90tTKEYRDeXynnE_dC6I.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.pMEkDF/cache + '[' -z '' ']' + KEYS=/tmp/tmp.pMEkDF/db + local pid pidfile + pidfile=/tmp/tmp.pMEkDF/tang.pid + pid=38217 + echo 38217 + /usr/bin/socat -v -v TCP-LISTEN:55250,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.pMEkDF/db' + tang_wait_until_ready 55250 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=55250 + '[' -z 55250 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:55250/adv > 2022/06/17 22:13:55.000136485 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:55250\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000140255 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVl1Zjc5aFBrWUU3RGUwMERiZGRxNzl2UG5tRUwtSEg2SnNxMFE2VUtzS1ViTjNfTENUeUtWOGFhaDB1Tkx4YXBFamI1aFFUMndNQkJ3QkF1VDVkVmhsRyIsICJ5IjogIkFSR1lvOHFpWTc1YVBkUDE1UXBxTmFlZTMtNENCSzdZUnJHZFhsajNnc1dTQ0dpdV9pZ1VkaEtiZjk1dG5fTll1UGtsWE5UZEhSVWVUeG1md2FDbV9Bc3IifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUhaZDYxV1dWNkREOExFUDFJQnV2aW45a2Q3UnJKbUNhQzZDcW9fZnNoUnpqZThHcV9keDdSYUZJdnRoWExHX1VaQzg1a2loX3Y3Z2V5dXBxZmt5R0EyWCIsICJ5IjogIkFBR3VTVmxpYkk2SkpDZ2plQU9FRm1lSlZNejZhWG1tbVJXSXJ5QjBLWTQ2dk5NOXJ2ZDR3NmNyUXlmdzFiTV9MRkZ0S1RQbGNaekNnVHRwb3NWUEpReGEifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ABoNJnmBtVTecIzuwQfT_93LvEj4lzY4nGzH0WxVfmX91StX7aOitFlInKcy5nvGNPyQkEmfKlrc6gWqDFm-i_MXARWoACn4od5dkbysDFLqov_lskDjtLSaRLLWAWypF7T1VKo_k5Xy2VvUPZjUM92dw34WaMed1kzStD1NMR3wyRIh"}+ url=http://localhost:55250 + adv=/tmp/tmp.pMEkDF/adv + tang_get_adv 55250 /tmp/tmp.pMEkDF/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=55250 + local adv=/tmp/tmp.pMEkDF/adv + '[' -z 55250 ']' + curl -L -o /tmp/tmp.pMEkDF/adv http://localhost:55250/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000148269 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:55250\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000152053 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVl1Zjc5aFBrWUU3RGUwMERiZGRxNzl2UG5tRUwtSEg2SnNxMFE2VUtzS1ViTjNfTENUeUtWOGFhaDB1Tkx4YXBFamI1aFFUMndNQkJ3QkF1VDVkVmhsRyIsICJ5IjogIkFSR1lvOHFpWTc1YVBkUDE1UXBxTmFlZTMtNENCSzdZUnJHZFhsajNnc1dTQ0dpdV9pZ1VkaEtiZjk1dG5fTll1UGtsWE5UZEhSVWVUeG1md2FDbV9Bc3IifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUhaZDYxV1dWNkREOExFUDFJQnV2aW45a2Q3UnJKbUNhQzZDcW9fZnNoUnpqZThHcV9keDdSYUZJdnRoWExHX1VaQzg1a2loX3Y3Z2V5dXBxZmt5R0EyWCIsICJ5IjogIkFBR3VTVmxpYkk2SkpDZ2plQU9FRm1lSlZNejZhWG1tbVJXSXJ5QjBLWTQ2dk5NOXJ2ZDR3NmNyUXlmdzFiTV9MRkZ0S1RQbGNaekNnVHRwb3NWUEpReGEifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AAty-FLUBhN-pu4um6KhSBxVpZyitAxhF7lPtjTqgOrrkJEE2GnCVDG8pcktDV_LzU0q-WkEIXHXfeeBJakzRMg1AISAZCGOaPKpp1Fa2P_NHsbXhUdq_bkaMwLrXp3hmUz-3pd31z9UD-8jQWXlcXUoeufdPyM6LXszKrgnxEiDsG4y"} 100 993 100 993 0 0 171k 0 --:--:-- --:--:-- --:--:-- 193k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:55250 /tmp/tmp.pMEkDF/adv + cfg='{"url":"http://localhost:55250","adv":"/tmp/tmp.pMEkDF/adv"}' + DEV=/tmp/tmp.pMEkDF/luks1-device + new_device luks1 /tmp/tmp.pMEkDF/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.pMEkDF/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' '!' -d /tmp/tmp.pMEkDF ']' + tang_stop /tmp/tmp.pMEkDF + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.pMEkDF + '[' -z /tmp/tmp.pMEkDF ']' + local pidfile=/tmp/tmp.pMEkDF/tang.pid + '[' -f /tmp/tmp.pMEkDF/tang.pid ']' + local pid + pid=38217 + kill -9 38217 + rm -rf /tmp/tmp.pMEkDF /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unlock-tang-luks1: line 25: 38217 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 16/44 regen-inplace-luks1 SKIP 0.23s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + TEST=/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-inplace-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.FBMKNl ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=53895 + tang_run /tmp/tmp.FBMKNl 53895 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.FBMKNl + local port=53895 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.FBMKNl ']' + '[' -z 53895 ']' + tang_new_keys /tmp/tmp.FBMKNl '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.FBMKNl + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.FBMKNl ']' + local db=/tmp/tmp.FBMKNl/db + mkdir -p /tmp/tmp.FBMKNl/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.FBMKNl/db Unable to change owner/group for /tmp/tmp.FBMKNl/db/uAbAgiwKlitWKMj0kooOtyL2HWgBBZzEru0noyw07gQ.jwk to tang:tang Unable to change owner/group for /tmp/tmp.FBMKNl/db/lCK3f4LWsyRdLN0nJqSXqHjQutNvCMKFDhYa74dPxiA.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.FBMKNl/cache + '[' -z '' ']' + KEYS=/tmp/tmp.FBMKNl/db + local pid pidfile + pidfile=/tmp/tmp.FBMKNl/tang.pid + pid=38225 + + /usr/bin/socat echo -v -v 38225 TCP-LISTEN:53895,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.FBMKNl/db' + tang_wait_until_ready 53895 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=53895 + '[' -z 53895 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:53895/adv > 2022/06/17 22:13:55.000138712 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:53895\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000142594 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFmSUptVlJ0dHNYT2VrX2NYZTBsTElocUNtekUzMlFjYk5oQlJINnZ6YnZqYzZlcGRXNnBNOGVBYU9GaUczYUFRTVA2RVE1S0F2ZUgzeGdHcHFhSm9CbEUiLCAieSI6ICJBQ2JRV0RJa0J4YXJWMWVRWnUtN2puR2Q1SzI0Z0pVMzl1UHRPMzJ6T1FaNDMtZzdCMFYzTW9fZDVaUF8zZURhQjhrVVNaX3A4SWF6LTI1cFFpdnljMWNIIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUZEemhyQ013MTdtTlZHSF9kbnlVWEVJZHNqdXNHQ0lNdDdkR2RBd0lKSmNBRVJ5UTcyZGptc3NQblN3YmxNNGdNNXZ6ZHJjNFZiSzlXaEVTSTZHVVVPRiIsICJ5IjogIkFhbW5yb3FHVXpoZGFyLUhIZlhpZ0JRV3dMUkpPb3Y1ZDNHOGZteEEwTnd0Y29fZ19BVmQ0MkRCVGtPZ045TnBTV0RKS3V4NjJIa25tM0hTb3NOeHN1aWQifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "Abcqn4Zpj7hXA8fWInnmVUMlRRnVrnQ6ypw6u7Ki3Gu_dquW5JDSQpdOgfk-LaBxJZjKf9XR6mKOnSAYuIekkfykARO23mDWpPYVRB_rKCG18S2HpVVXJjiD5iRZAbI9mIB7JX--SHW_KzSQOFUjmuIuF_xp6vBYFVe2bl5L97WMVfqs"}+ url=http://localhost:53895 + adv=/tmp/tmp.FBMKNl/adv + tang_get_adv 53895 /tmp/tmp.FBMKNl/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=53895 + local adv=/tmp/tmp.FBMKNl/adv + '[' -z 53895 ']' + curl -L -o /tmp/tmp.FBMKNl/adv http://localhost:53895/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000151759 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:53895\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000155764 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFmSUptVlJ0dHNYT2VrX2NYZTBsTElocUNtekUzMlFjYk5oQlJINnZ6YnZqYzZlcGRXNnBNOGVBYU9GaUczYUFRTVA2RVE1S0F2ZUgzeGdHcHFhSm9CbEUiLCAieSI6ICJBQ2JRV0RJa0J4YXJWMWVRWnUtN2puR2Q1SzI0Z0pVMzl1UHRPMzJ6T1FaNDMtZzdCMFYzTW9fZDVaUF8zZURhQjhrVVNaX3A4SWF6LTI1cFFpdnljMWNIIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUZEemhyQ013MTdtTlZHSF9kbnlVWEVJZHNqdXNHQ0lNdDdkR2RBd0lKSmNBRVJ5UTcyZGptc3NQblN3YmxNNGdNNXZ6ZHJjNFZiSzlXaEVTSTZHVVVPRiIsICJ5IjogIkFhbW5yb3FHVXpoZGFyLUhIZlhpZ0JRV3dMUkpPb3Y1ZDNHOGZteEEwTnd0Y29fZ19BVmQ0MkRCVGtPZ045TnBTV0RKS3V4NjJIa25tM0hTb3NOeHN1aWQifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ATWLkRqoNUtK_kVqI6Nlh5IJYc9pakNVGq9DrbcJwJJC3Dwd91_8EsvHs8bnRtQeY7EADNB4ocRm1UsLZZ8edQIKACm3Y9EyYvlOv96_qE--RVkVDuRK4tX1s_096g266nbIxe__6v_EDrUTL_SlLCCNav4yPCmXyvFSuRPNYyHbKEQ2"} 100 993 100 993 0 0 157k 0 --:--:-- --:--:-- --:--:-- 161k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:53895 /tmp/tmp.FBMKNl/adv + cfg='{"url":"http://localhost:53895","adv":"/tmp/tmp.FBMKNl/adv"}' + DEV=/tmp/tmp.FBMKNl/luks1-device + new_device luks1 /tmp/tmp.FBMKNl/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.FBMKNl/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.FBMKNl ']' + tang_stop /tmp/tmp.FBMKNl + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.FBMKNl + '[' -z /tmp/tmp.FBMKNl ']' + local pidfile=/tmp/tmp.FBMKNl/tang.pid + '[' -f /tmp/tmp.FBMKNl/tang.pid ']' + local pid + pid=38225 + kill -9 38225 + rm -rf /tmp/tmp.FBMKNl /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-inplace-luks1: line 25: 38225 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 17/44 regen-not-inplace-luks1 SKIP 0.22s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + TEST=/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-not-inplace-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT ++ mktemp -d + export TMP=/tmp/tmp.dMHCLh + TMP=/tmp/tmp.dMHCLh ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=15228 + tang_run /tmp/tmp.dMHCLh 15228 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.dMHCLh + local port=15228 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.dMHCLh ']' + '[' -z 15228 ']' + tang_new_keys /tmp/tmp.dMHCLh '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.dMHCLh + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.dMHCLh ']' + local db=/tmp/tmp.dMHCLh/db + mkdir -p /tmp/tmp.dMHCLh/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.dMHCLh/db Unable to change owner/group for /tmp/tmp.dMHCLh/db/RpJC9XPHVgCWPN6381O7fewy_A4ZFnam24ye8TpxrPs.jwk to tang:tang Unable to change owner/group for /tmp/tmp.dMHCLh/db/_HlZfFNBszR6daoOnP_hydxv0ZvSy34CyulHECjdKAg.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.dMHCLh/cache + '[' -z '' ']' + KEYS=/tmp/tmp.dMHCLh/db + local pid pidfile + pidfile=/tmp/tmp.dMHCLh/tang.pid + pid=38250 + echo 38250 + /usr/bin/socat -v -v TCP-LISTEN:15228,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.dMHCLh/db' + tang_wait_until_ready 15228 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=15228 + '[' -z 15228 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:15228/adv > 2022/06/17 22:13:55.000143286 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:15228\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000149318 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUwxa3NWTzNHMVFONXZWRU80YlBFTWZMMXkxN3JnS040LUk5QlF6eFpOaHdncjYxekNEN2J4NEhaU3oyYWtmcGEwTU5IYkRSU2w0VndQUW94eTN6SE1fMSIsICJ5IjogIkFYMWRmeVZIOUdGeElnbDhFbTFsMzZHa0hRM3FRZ1dUNE1lSFlxclBFd0hXVEVaTlFxSGU0aGJCdktleFM0MmhxQUJXM3E2UzlIaFRlSEQ0TnZXX014UUwifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWI2Y0NUd2hhMC0xUlJMRjZ6WHRkYWFnWFFqNm4wc3pndVpIYkdzMEdDb2hjaFdONGFDSmlRRWtCa1hHb2h2ZER3ZHJUNHcweUtHRjg0aThIN1JDcWdUTiIsICJ5IjogIkFabXFTRFlFTnZZT1kxN04tVEozNGFkLVRkeGxKMXFyNWFyZGtsalo2b3JqWENUOC15NEZxdERHRG1MNjlrRG80OXNVdmN3bzVmbmYxODdzTm5Oa2liYmgifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AXo8rznzKLQJCwbzt8y9ot3qGG_--34paTC0SukrhRjrddp1dmqAqwjXSTbb9G93H49zfCCcsVNyr3eAnx1fi48wAGucXuoQVHbD4IbSGgDn-ng0GEsHnJcDlRhJm7Of4p1FYeBjuTyI77Ylxa0db_HUoiyEiyTerNROTB7qg5T7hMLf"}+ url=http://localhost:15228 + adv=/tmp/tmp.dMHCLh/adv + tang_get_adv 15228 /tmp/tmp.dMHCLh/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=15228 + local adv=/tmp/tmp.dMHCLh/adv + '[' -z 15228 ']' + curl -L -o /tmp/tmp.dMHCLh/adv http://localhost:15228/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000156503 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:15228\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000163179 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUwxa3NWTzNHMVFONXZWRU80YlBFTWZMMXkxN3JnS040LUk5QlF6eFpOaHdncjYxekNEN2J4NEhaU3oyYWtmcGEwTU5IYkRSU2w0VndQUW94eTN6SE1fMSIsICJ5IjogIkFYMWRmeVZIOUdGeElnbDhFbTFsMzZHa0hRM3FRZ1dUNE1lSFlxclBFd0hXVEVaTlFxSGU0aGJCdktleFM0MmhxQUJXM3E2UzlIaFRlSEQ0TnZXX014UUwifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWI2Y0NUd2hhMC0xUlJMRjZ6WHRkYWFnWFFqNm4wc3pndVpIYkdzMEdDb2hjaFdONGFDSmlRRWtCa1hHb2h2ZER3ZHJUNHcweUtHRjg0aThIN1JDcWdUTiIsICJ5IjogIkFabXFTRFlFTnZZT1kxN04tVEozNGFkLVRkeGxKMXFyNWFyZGtsalo2b3JqWENUOC15NEZxdERHRG1MNjlrRG80OXNVdmN3bzVmbmYxODdzTm5Oa2liYmgifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AH9y8hXUzDP-9TkWnG9_FAS3Nywf9JaXQS6VzuneRjhbZeOmTtsk-P1H4PFrx2u_fMHXLZ2IIEg8IJjeTmI3YmHrAISTH-TGJekTZJNl7_z7LALi4qsdwenrhTN1IuFcBAX5RAiFknwpaMcKG4vlbz3dyjDWV2D-uqG5Ykuo-O_ZcfpA"} 100 993 100 993 0 0 106k 0 --:--:-- --:--:-- --:--:-- 121k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:15228 /tmp/tmp.dMHCLh/adv + cfg='{"url":"http://localhost:15228","adv":"/tmp/tmp.dMHCLh/adv"}' + DEV=/tmp/tmp.dMHCLh/luks1-device + new_device luks1 /tmp/tmp.dMHCLh/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.dMHCLh/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.dMHCLh ']' + tang_stop /tmp/tmp.dMHCLh + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.dMHCLh + '[' -z /tmp/tmp.dMHCLh ']' + local pidfile=/tmp/tmp.dMHCLh/tang.pid + '[' -f /tmp/tmp.dMHCLh/tang.pid ']' + local pid + pid=38250 + kill -9 38250 + rm -rf /tmp/tmp.dMHCLh /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-not-inplace-luks1: line 25: 38250 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 18/44 report-tang-luks1 SKIP 0.22s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + TEST=/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-tang-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.Djkoka ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=44025 + tang_run /tmp/tmp.Djkoka 44025 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.Djkoka + local port=44025 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.Djkoka ']' + '[' -z 44025 ']' + tang_new_keys /tmp/tmp.Djkoka '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.Djkoka + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.Djkoka ']' + local db=/tmp/tmp.Djkoka/db + mkdir -p /tmp/tmp.Djkoka/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.Djkoka/db Unable to change owner/group for /tmp/tmp.Djkoka/db/66CWvVogRzPtACrBgbrAJ8dzDLb-sp9HVAHYYwtzusI.jwk to tang:tang Unable to change owner/group for /tmp/tmp.Djkoka/db/W7k3Tu0WH6YeXp4WTaSoDJeXjJkDYxdLIUTQLXEOROM.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.Djkoka/cache + '[' -z '' ']' + KEYS=/tmp/tmp.Djkoka/db + local pid pidfile + pidfile=/tmp/tmp.Djkoka/tang.pid + pid=38277 + echo 38277 + /usr/bin/socat -v -v TCP-LISTEN:44025,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.Djkoka/db' + tang_wait_until_ready 44025 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=44025 + '[' -z 44025 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:44025/adv > 2022/06/17 22:13:55.000149456 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:44025\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000153212 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFlX2kzXzU0ZmNCY294N0E3aU9rWVdIS05vRDJvYkNDNzVUTk5mQ0xwY2d3WGFWa3VXYW9uTWJhWkhLaVNUSmFGa3hpMFpqU2ZudlFsQ0pTWkNnS1RNTXYiLCAieSI6ICJBZXJtTXFxWnc0eWZISzhjNFlZWGhqVGJNTk5PVThLbU1pQVVUS19GemlUdmZJc0xuNmVmbGd4Y3podm5oZ3JLYW1VaWlrclc3eldKZk5zb254MUlORGlXIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVhORGhBX3hBWlR2OGVQMGxnX0NXYnNBNElFdWtqZTVvS2ltR0pWUldscmdvTnJjdmprNExCenJZSXFiOTlEOGM4NlhXUklvUU9QSHVza2RaZXlqN0tEaCIsICJ5IjogIkFmV2RNbHBRdEV6TDFWNTJuM3VzR0ZaSEY0Zy00a0lNUEotOFJfNjR3X3c3cmd0WUlUYUE2RVFxN19oS3d2OEV5RVFBT29XQ09yUXIzcVhVUTRieEdER3oifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ADHaFaPkF4DF8m-ofCyQsDEnh-XjDb19xvx2XkrA3teysqyJ7-AbwgEhpzevbZxN1MhGzS8cA5rbvCfEEOYBnCwnAZ8sX4or9BhDs8RJj1n9f3zJyExx9apz2PTkQLbbOvQZrc9hAYmhJO2ebtfrwV4Y76VtX2nkDadMUa2hlUMeiMmb"}+ url=http://localhost:44025 + adv=/tmp/tmp.Djkoka/adv + tang_get_adv 44025 /tmp/tmp.Djkoka/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=44025 + local adv=/tmp/tmp.Djkoka/adv + '[' -z 44025 ']' + curl -L -o /tmp/tmp.Djkoka/adv http://localhost:44025/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000160451 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:44025\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000166187 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFlX2kzXzU0ZmNCY294N0E3aU9rWVdIS05vRDJvYkNDNzVUTk5mQ0xwY2d3WGFWa3VXYW9uTWJhWkhLaVNUSmFGa3hpMFpqU2ZudlFsQ0pTWkNnS1RNTXYiLCAieSI6ICJBZXJtTXFxWnc0eWZISzhjNFlZWGhqVGJNTk5PVThLbU1pQVVUS19GemlUdmZJc0xuNmVmbGd4Y3podm5oZ3JLYW1VaWlrclc3eldKZk5zb254MUlORGlXIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVhORGhBX3hBWlR2OGVQMGxnX0NXYnNBNElFdWtqZTVvS2ltR0pWUldscmdvTnJjdmprNExCenJZSXFiOTlEOGM4NlhXUklvUU9QSHVza2RaZXlqN0tEaCIsICJ5IjogIkFmV2RNbHBRdEV6TDFWNTJuM3VzR0ZaSEY0Zy00a0lNUEotOFJfNjR3X3c3cmd0WUlUYUE2RVFxN19oS3d2OEV5RVFBT29XQ09yUXIzcVhVUTRieEdER3oifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ADJdyFRtWw0C96vL0nfJXdICcPUI-P8cA8A-oKVbzUs5KIuDP9psfxskGttyHswNg2ss3KF__5T_PTnxj2xvXvFNAKfHbrqBD-bXztf9rjN3KSwKdUao6yj8G3ivTO3KT43lwBLmHJ44Rrcf9XU9lWoFZgGZSCyq7Gd1wI_234m0ye9y"} 100 993 100 993 0 0 112k 0 --:--:-- --:--:-- --:--:-- 121k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:44025 /tmp/tmp.Djkoka/adv + cfg='{"url":"http://localhost:44025","adv":"/tmp/tmp.Djkoka/adv"}' + DEV=/tmp/tmp.Djkoka/luks1-device + new_device luks1 /tmp/tmp.Djkoka/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.Djkoka/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.Djkoka ']' + tang_stop /tmp/tmp.Djkoka + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.Djkoka + '[' -z /tmp/tmp.Djkoka ']' + local pidfile=/tmp/tmp.Djkoka/tang.pid + '[' -f /tmp/tmp.Djkoka/tang.pid ']' + local pid + pid=38277 + kill -9 38277 + rm -rf /tmp/tmp.Djkoka /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-tang-luks1: line 25: 38277 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 19/44 report-sss-luks1 SKIP 0.22s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + TEST=/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-sss-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.AfhKen ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=37703 + tang_run /tmp/tmp.AfhKen 37703 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.AfhKen + local port=37703 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.AfhKen ']' + '[' -z 37703 ']' + tang_new_keys /tmp/tmp.AfhKen '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.AfhKen + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.AfhKen ']' + local db=/tmp/tmp.AfhKen/db + mkdir -p /tmp/tmp.AfhKen/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.AfhKen/db Unable to change owner/group for /tmp/tmp.AfhKen/db/JuwnHYHvKR1Xr0zAhdhpwUJDwYjBhTC82WODzVPkG3s.jwk to tang:tang Unable to change owner/group for /tmp/tmp.AfhKen/db/1BlYy0TrmAxa3elU2tiilR5fdX0a6Et24qLbfo60JnM.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.AfhKen/cache + '[' -z '' ']' + KEYS=/tmp/tmp.AfhKen/db + local pid pidfile + pidfile=/tmp/tmp.AfhKen/tang.pid + pid=38301 + echo 38301 + /usr/bin/socat -v -v TCP-LISTEN:37703,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.AfhKen/db' + tang_wait_until_ready 37703 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=37703 + '[' -z 37703 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:37703/adv > 2022/06/17 22:13:55.000154395 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:37703\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000158149 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFBckhOWWdtblFWakd2Z1V3QWY5ckZmSGFEQ1JOOVlrZ2R1ZjQxX0trQ2s3cVVHOF81U3lqMGl4cjN4NE5pVmEzR21CNUdwTUR4enVBb25XU0ppcnpiWmkiLCAieSI6ICJBTDRzUjFhRTBuWmk5SFkzbUJtSUF2b3ZRcDNWTnVjdHMzRjhpbUxLNTBuSGxPV0l4UWlMYXlpSEh0YnZicVhkUEhodzlEeUdzZmJXNzl1bHR0ZU9EZEdIIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUdXUmkza0Fhc3RMZHBvanhmUkJ5MnluUlVZQ1VOWm1uWTNyZVNGQ3pweWJneWM2NVpkbHpVdEN6N3hxR2JkcGVQbDdkd2ZvQ1ZoQmFWZVlYSndsbC1HMiIsICJ5IjogIkFWam5qenJuVl9uZVlYbFFpcVRoR2RyNFVxRzA1RlZMMWpTLWp1TkJVc1pDQUNtWHJsS3FqbWUtYmgyYjlHYlY5QjdjRTJJVmRENnduUE8xSEYtcEtISTYifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ACSi5QyXxGnE_meZ29_znQwDngN1h9YJGkZMDkNsHXQthe5eYrfh0V0nFFMlN6mpJCjkbPvxLsDPr7jzww5RbOqLAbX2VJaZ_9yDKNn5HhWjPx7y76cfX8b0UKU2hmBnkhljCPAV1jMXozrvSgmvrsJyKQ5cRQHJhSe1bsDK49K4vx27"}+ url=http://localhost:37703 + adv=/tmp/tmp.AfhKen/adv + tang_get_adv 37703 /tmp/tmp.AfhKen/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=37703 + local adv=/tmp/tmp.AfhKen/adv + '[' -z 37703 ']' + curl -L -o /tmp/tmp.AfhKen/adv http://localhost:37703/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000164982 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:37703\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000168745 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFBckhOWWdtblFWakd2Z1V3QWY5ckZmSGFEQ1JOOVlrZ2R1ZjQxX0trQ2s3cVVHOF81U3lqMGl4cjN4NE5pVmEzR21CNUdwTUR4enVBb25XU0ppcnpiWmkiLCAieSI6ICJBTDRzUjFhRTBuWmk5SFkzbUJtSUF2b3ZRcDNWTnVjdHMzRjhpbUxLNTBuSGxPV0l4UWlMYXlpSEh0YnZicVhkUEhodzlEeUdzZmJXNzl1bHR0ZU9EZEdIIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUdXUmkza0Fhc3RMZHBvanhmUkJ5MnluUlVZQ1VOWm1uWTNyZVNGQ3pweWJneWM2NVpkbHpVdEN6N3hxR2JkcGVQbDdkd2ZvQ1ZoQmFWZVlYSndsbC1HMiIsICJ5IjogIkFWam5qenJuVl9uZVlYbFFpcVRoR2RyNFVxRzA1RlZMMWpTLWp1TkJVc1pDQUNtWHJsS3FqbWUtYmgyYjlHYlY5QjdjRTJJVmRENnduUE8xSEYtcEtISTYifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AFrrqBilR-iMKhAXGbsITyE_TYfrtvyDsw4aBUJXwnE5IzTdmLnTN5dQ-7Uz-Gvf1tmojug37C33ijbN5kaj2UDqATYNfhqiCJCizAkfJnGYx4COk0KUfE1Cu2Sv_Zm9cmcTndo1yHg9vKAPTk5bByS4op7hu2rLG2j40advEfPSlPCf"} 100 993 100 993 0 0 175k 0 --:--:-- --:--:-- --:--:-- 193k ++ printf '{"t": 1, "pins":{"tang":[{"url":"%s"}], "sss":{"t":1,"pins":{"tang":[{"url":"%s"}]}}}}' http://localhost:37703 http://localhost:37703 + cfg='{"t": 1, "pins":{"tang":[{"url":"http://localhost:37703"}], "sss":{"t":1,"pins":{"tang":[{"url":"http://localhost:37703"}]}}}}' + DEV=/tmp/tmp.AfhKen/luks1-device + new_device luks1 /tmp/tmp.AfhKen/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.AfhKen/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.AfhKen ']' + tang_stop /tmp/tmp.AfhKen + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.AfhKen + '[' -z /tmp/tmp.AfhKen ']' + local pidfile=/tmp/tmp.AfhKen/tang.pid + '[' -f /tmp/tmp.AfhKen/tang.pid ']' + local pid + pid=38301 + kill -9 38301 + rm -rf /tmp/tmp.AfhKen /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-sss-luks1: line 25: 38301 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 20/44 edit-tang-luks1 SKIP 0.21s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/edit-tang-luks1 + TEST=edit-tang-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT + trap on_exit ERR ++ mktemp -d + TMP=/tmp/tmp.nFmafi ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=4677 + tang_run /tmp/tmp.nFmafi 4677 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.nFmafi + local port=4677 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.nFmafi ']' + '[' -z 4677 ']' + tang_new_keys /tmp/tmp.nFmafi '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.nFmafi + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.nFmafi ']' + local db=/tmp/tmp.nFmafi/db + mkdir -p /tmp/tmp.nFmafi/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.nFmafi/db Unable to change owner/group for /tmp/tmp.nFmafi/db/KqC6n2B02VnS_QmrzKyteECWhaTH6BqymMq96ravjmI.jwk to tang:tang Unable to change owner/group for /tmp/tmp.nFmafi/db/DehLxsiHAKqDtNywm81h9YeeCphP_PCGfOLUY566ZKA.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.nFmafi/cache + '[' -z '' ']' + KEYS=/tmp/tmp.nFmafi/db + local pid pidfile + pidfile=/tmp/tmp.nFmafi/tang.pid + pid=38347 + echo 38347 + /usr/bin/socat -v -v TCP-LISTEN:4677,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.nFmafi/db' + tang_wait_until_ready 4677 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=4677 + '[' -z 4677 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:4677/adv > 2022/06/17 22:13:55.000162869 length=81 from=0 to=80 GET /adv HTTP/1.1\r Host: localhost:4677\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000166606 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFUNHRzZDVkM09XajBGa0FBNUsxamNYN3J6ck4xS0dsVmpQc09hQVFEMTBkaE1YSnBtT1pUcEc4NGotMllFTzY5ZjFvNm90Q1gyaWh1ODVpUUZzSEtabHgiLCAieSI6ICJBRHBTWWZpSkRUQmZrNl8yZnU0dkhhcnBGQ3dVcF9Za0Y4VXY0YWwyLS1kWnJDSEdEZk9rWXF3T3h2cDRaUG1XYzlKY2hDbFhTZWdIMlVWZGVzZkNnR3NmIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJjdnVDVjQzaWZxVFRXZ1dKelcwX3NPRTBkd0FqR0pWNG5BcEhySWtVT25KeHM1ekxoNkZTemxUbjBqSWNMc3ZDM2lXTTV3Zm1xcVZWcVJBNGpYSG1mTSIsICJ5IjogIkFPUWZqYlEtdHk2clMtZWozWTJvOFI3QUs2Zlo2U0ZtRzVndXBBSDBMNG1fOFdmczdrSUJzdHhlcENRcVdKTkhXd3FOcjRRVmQ4ZWdncmpmcDJDTG54aXAifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AAP2hx3VWqQtuqKgKG6bTKE6BR54z7WNHUJ8gtw7VZPpKkmzBWIiyNP53xaZSTAA4nOvff7kjnz_8V12XnReCbqXAFJN9M-jHGKxizJpMRNq9NmAheeOoDZP-9xPgeCfg7oqga5VXk36GVBwNNyGq9ue_fCcp2ELwN0GFmJq7vyAe0fT"}+ url=http://localhost:4677 ++ printf '{"url":"%s"}' http://localhost:4677 + cfg='{"url":"http://localhost:4677"}' + DEV=/tmp/tmp.nFmafi/luks1-device + new_device luks1 /tmp/tmp.nFmafi/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.nFmafi/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + local d + for d in "${TMP}" "${TMP2}" + '[' '!' -d /tmp/tmp.nFmafi ']' + tang_stop /tmp/tmp.nFmafi + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.nFmafi + '[' -z /tmp/tmp.nFmafi ']' + local pidfile=/tmp/tmp.nFmafi/tang.pid + '[' -f /tmp/tmp.nFmafi/tang.pid ']' + local pid + pid=38347 + kill -9 38347 + rm -rf /tmp/tmp.nFmafi /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/edit-tang-luks1: line 27: 38347 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" + for d in "${TMP}" "${TMP2}" + '[' '!' -d '' ']' + continue ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 21/44 backup-restore-luks1 SKIP 0.21s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/backup-restore-luks1 + TEST=backup-restore-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.HhBcgo + ADV=/tmp/tmp.HhBcgo/adv.jws + tang_create_adv /tmp/tmp.HhBcgo /tmp/tmp.HhBcgo/adv.jws + local basedir=/tmp/tmp.HhBcgo + local adv=/tmp/tmp.HhBcgo/adv.jws + local SIG=/tmp/tmp.HhBcgo/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.HhBcgo/sig.jwk + local EXC=/tmp/tmp.HhBcgo/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.HhBcgo/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.HhBcgo/sig.jwk --input=/tmp/tmp.HhBcgo/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.HhBcgo/sig.jwk --output=/tmp/tmp.HhBcgo/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.HhBcgo/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.HhBcgo/adv.jws"}' + DEV=/tmp/tmp.HhBcgo/luks1-device + new_device luks1 /tmp/tmp.HhBcgo/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.HhBcgo/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.HhBcgo ']' + rm -rf /tmp/tmp.HhBcgo ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 22/44 pass-tang-luks1 SKIP 0.21s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/pass-tang-luks1 + TEST=pass-tang-luks1 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.DDbLhE ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=56193 + tang_run /tmp/tmp.DDbLhE 56193 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.DDbLhE + local port=56193 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.DDbLhE ']' + '[' -z 56193 ']' + tang_new_keys /tmp/tmp.DDbLhE '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.DDbLhE + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.DDbLhE ']' + local db=/tmp/tmp.DDbLhE/db + mkdir -p /tmp/tmp.DDbLhE/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.DDbLhE/db Unable to change owner/group for /tmp/tmp.DDbLhE/db/um2OCfEovAV5KhyTg26jwA2rpftiJIw8CquS_drwgrM.jwk to tang:tang Unable to change owner/group for /tmp/tmp.DDbLhE/db/Nlpd1W5uz478PgIKsNs4YqOL0B-20526nxf9BV2qjYQ.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.DDbLhE/cache + '[' -z '' ']' + KEYS=/tmp/tmp.DDbLhE/db + local pid pidfile + pidfile=/tmp/tmp.DDbLhE/tang.pid + pid=38393 + echo 38393 + /usr/bin/socat -v -v TCP-LISTEN:56193,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.DDbLhE/db' + tang_wait_until_ready 56193 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=56193 + '[' -z 56193 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:56193/adv > 2022/06/17 22:13:55.000175498 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:56193\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000179269 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUdJa1hxVDJSczVQdVgzbDhaY1lPSFBTZFVOZmRyaDhpY2dFZXo4MzY3Q2R1TjNZZ3pQaUd4ZW12OHVLYzh3WExrVGtPVThnYUVuY1B1TWhVdHRHaGhrbSIsICJ5IjogIkFPNjdDOGtNS05nSHNtRDYxY1pSLXlHVklObEZVY09qWEUwZmp0bnlucDVBNlItOTFIQ3M1LW5mR2MyS0V3RmUwZHQzSlRXOFVEU09tRndWT2hsWnJ1WnAifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVNYM1hMNXJ5ZHRiR3dWczNObUtyMXo5LVJTZ3JLZUU3OXlOdDZtSUU1TndaZGwxVlFqaXlBdGlBZnhBUGMtYUNqbm5Xd2tPNnQ1R1RjRVRsUXZreWZ0WCIsICJ5IjogIkFGaFlwUnh0M3J1MTVOT3VxMHg1MXVOZVN3cnR0ZkJxNjdheEdCVVVtUGU4MmNMd0cybkFLRGhpZE5qUkhraEZWeWJmcFZRa3Iydmd4a21LOXZ1YTBfclkifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ALQisx8g4aVQmexdRSe_en_sXponkX9cG_WyFBSviwFO8y2MhxgW4EZ7AsUgtLQO7vCF-cEWruitAiT1EFaPravqAdl2g2PdFvQwliyJeG-CpzC1RjYkxBxCDWrxNsHvDFRxLifUifBTatZxPdPJys0hPwEB8QfLfRcvbqYyYSJQMxWa"}+ url=http://localhost:56193 + adv=/tmp/tmp.DDbLhE/adv + tang_get_adv 56193 /tmp/tmp.DDbLhE/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=56193 + local adv=/tmp/tmp.DDbLhE/adv + '[' -z 56193 ']' + curl -L -o /tmp/tmp.DDbLhE/adv http://localhost:56193/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000185702 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:56193\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000189332 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUdJa1hxVDJSczVQdVgzbDhaY1lPSFBTZFVOZmRyaDhpY2dFZXo4MzY3Q2R1TjNZZ3pQaUd4ZW12OHVLYzh3WExrVGtPVThnYUVuY1B1TWhVdHRHaGhrbSIsICJ5IjogIkFPNjdDOGtNS05nSHNtRDYxY1pSLXlHVklObEZVY09qWEUwZmp0bnlucDVBNlItOTFIQ3M1LW5mR2MyS0V3RmUwZHQzSlRXOFVEU09tRndWT2hsWnJ1WnAifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVNYM1hMNXJ5ZHRiR3dWczNObUtyMXo5LVJTZ3JLZUU3OXlOdDZtSUU1TndaZGwxVlFqaXlBdGlBZnhBUGMtYUNqbm5Xd2tPNnQ1R1RjRVRsUXZreWZ0WCIsICJ5IjogIkFGaFlwUnh0M3J1MTVOT3VxMHg1MXVOZVN3cnR0ZkJxNjdheEdCVVVtUGU4MmNMd0cybkFLRGhpZE5qUkhraEZWeWJmcFZRa3Iydmd4a21LOXZ1YTBfclkifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AK5watbioJEPXKoF-780NxuN0frRFiYlD4XmJSrZYWD_4S2LIj-ZF_FIVF_7RtoZXUjoA4YoG2Bl060Smt85FYwXATSemlhVoxQl1YQp65VMzqyFAQetfjQARnpXloOPPSCt1MznDzH7yCAMEQevDm_um_NkPoCsGigIpgREJAO8llzb"} 100 993 100 993 0 0 181k 0 --:--:-- --:--:-- --:--:-- 193k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:56193 /tmp/tmp.DDbLhE/adv + cfg='{"url":"http://localhost:56193","adv":"/tmp/tmp.DDbLhE/adv"}' + DEV=/tmp/tmp.DDbLhE/luks1-device + new_device luks1 /tmp/tmp.DDbLhE/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.DDbLhE/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' '!' -d /tmp/tmp.DDbLhE ']' + tang_stop /tmp/tmp.DDbLhE + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.DDbLhE + '[' -z /tmp/tmp.DDbLhE ']' + local pidfile=/tmp/tmp.DDbLhE/tang.pid + '[' -f /tmp/tmp.DDbLhE/tang.pid ']' + local pid + pid=38393 + kill -9 38393 + rm -rf /tmp/tmp.DDbLhE /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/pass-tang-luks1: line 25: 38393 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 23/44 bind-wrong-pass-luks2 SKIP 0.20s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-wrong-pass-luks2 + TEST=bind-wrong-pass-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR + luks2_supported + return 0 ++ mktemp -d + TMP=/tmp/tmp.iOfgkC + ADV=/tmp/tmp.iOfgkC/adv.jws + tang_create_adv /tmp/tmp.iOfgkC /tmp/tmp.iOfgkC/adv.jws + local basedir=/tmp/tmp.iOfgkC + local adv=/tmp/tmp.iOfgkC/adv.jws + local SIG=/tmp/tmp.iOfgkC/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.iOfgkC/sig.jwk + local EXC=/tmp/tmp.iOfgkC/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.iOfgkC/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.iOfgkC/sig.jwk --input=/tmp/tmp.iOfgkC/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.iOfgkC/sig.jwk --output=/tmp/tmp.iOfgkC/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.iOfgkC/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.iOfgkC/adv.jws"}' + DEV=/tmp/tmp.iOfgkC/luks2-device + new_device luks2 /tmp/tmp.iOfgkC/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.iOfgkC/luks2-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.iOfgkC ']' + rm -rf /tmp/tmp.iOfgkC ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 24/44 bind-luks2 SKIP 0.20s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-luks2 + TEST=bind-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR + luks2_supported + return 0 ++ mktemp -d + TMP=/tmp/tmp.bIGHID + ADV=/tmp/tmp.bIGHID/adv.jws + tang_create_adv /tmp/tmp.bIGHID /tmp/tmp.bIGHID/adv.jws + local basedir=/tmp/tmp.bIGHID + local adv=/tmp/tmp.bIGHID/adv.jws + local SIG=/tmp/tmp.bIGHID/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.bIGHID/sig.jwk + local EXC=/tmp/tmp.bIGHID/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.bIGHID/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.bIGHID/sig.jwk --input=/tmp/tmp.bIGHID/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.bIGHID/sig.jwk --output=/tmp/tmp.bIGHID/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.bIGHID/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.bIGHID/adv.jws"}' + DEV=/tmp/tmp.bIGHID/luks2-device + TOKEN_ID=5 + new_device luks2 /tmp/tmp.bIGHID/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.bIGHID/luks2-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.bIGHID ']' + rm -rf /tmp/tmp.bIGHID ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 25/44 unbind-unbound-slot-luks2 SKIP 0.19s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unbind-unbound-slot-luks2 + TEST=unbind-unbound-slot-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR + luks2_supported + return 0 ++ mktemp -d + TMP=/tmp/tmp.apEFce + DEV=/tmp/tmp.apEFce/luks2-device + SLT=2 + new_device luks2 /tmp/tmp.apEFce/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.apEFce/luks2-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.apEFce ']' + rm -rf /tmp/tmp.apEFce ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 26/44 unbind-luks2 SKIP 0.14s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unbind-luks2 + TEST=unbind-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR + luks2_supported + return 0 ++ mktemp -d + TMP=/tmp/tmp.cfoOii + ADV=/tmp/tmp.cfoOii/adv.jws + tang_create_adv /tmp/tmp.cfoOii /tmp/tmp.cfoOii/adv.jws + local basedir=/tmp/tmp.cfoOii + local adv=/tmp/tmp.cfoOii/adv.jws + local SIG=/tmp/tmp.cfoOii/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.cfoOii/sig.jwk + local EXC=/tmp/tmp.cfoOii/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.cfoOii/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.cfoOii/sig.jwk --input=/tmp/tmp.cfoOii/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.cfoOii/sig.jwk --output=/tmp/tmp.cfoOii/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.cfoOii/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.cfoOii/adv.jws"}' + DEV=/tmp/tmp.cfoOii/luks2-device + new_device luks2 /tmp/tmp.cfoOii/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.cfoOii/luks2-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.cfoOii ']' + rm -rf /tmp/tmp.cfoOii ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 27/44 list-recursive-luks2 SKIP 0.13s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-recursive-luks2 + TEST=list-recursive-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR ++ mktemp -d + TMP=/tmp/tmp.DcOBNp + ADV=/tmp/tmp.DcOBNp/adv.jws + tang_create_adv /tmp/tmp.DcOBNp /tmp/tmp.DcOBNp/adv.jws + local basedir=/tmp/tmp.DcOBNp + local adv=/tmp/tmp.DcOBNp/adv.jws + local SIG=/tmp/tmp.DcOBNp/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.DcOBNp/sig.jwk + local EXC=/tmp/tmp.DcOBNp/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.DcOBNp/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.DcOBNp/sig.jwk --input=/tmp/tmp.DcOBNp/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.DcOBNp/sig.jwk --output=/tmp/tmp.DcOBNp/adv.jws + PIN=sss ++ printf ' { "t": 1, "pins": { "sss": { "t": 1, "pins": { "sss": { "t": 1, "pins": { "tang": [ { "url": "ADDR","adv": "%s" } ] } } } } } } ' /tmp/tmp.DcOBNp/adv.jws + CFG=' { "t": 1, "pins": { "sss": { "t": 1, "pins": { "sss": { "t": 1, "pins": { "tang": [ { "url": "ADDR","adv": "/tmp/tmp.DcOBNp/adv.jws" } ] } } } } } }' + DEV=/tmp/tmp.DcOBNp/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks2 /tmp/tmp.DcOBNp/luks1-device + local LUKS=luks2 + local DEV=/tmp/tmp.DcOBNp/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.DcOBNp ']' + rm -rf /tmp/tmp.DcOBNp ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 28/44 list-tang-luks2 SKIP 0.13s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-tang-luks2 + TEST=list-tang-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR ++ mktemp -d + TMP=/tmp/tmp.apAMcI + ADV=/tmp/tmp.apAMcI/adv.jws + tang_create_adv /tmp/tmp.apAMcI /tmp/tmp.apAMcI/adv.jws + local basedir=/tmp/tmp.apAMcI + local adv=/tmp/tmp.apAMcI/adv.jws + local SIG=/tmp/tmp.apAMcI/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.apAMcI/sig.jwk + local EXC=/tmp/tmp.apAMcI/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.apAMcI/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.apAMcI/sig.jwk --input=/tmp/tmp.apAMcI/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.apAMcI/sig.jwk --output=/tmp/tmp.apAMcI/adv.jws + PIN=tang ++ printf '{"url": "ADDR","adv": "%s"}' /tmp/tmp.apAMcI/adv.jws + CFG='{"url": "ADDR","adv": "/tmp/tmp.apAMcI/adv.jws"}' + DEV=/tmp/tmp.apAMcI/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks2 /tmp/tmp.apAMcI/luks1-device + local LUKS=luks2 + local DEV=/tmp/tmp.apAMcI/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.apAMcI ']' + rm -rf /tmp/tmp.apAMcI ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 29/44 list-sss-tang-luks2 SKIP 0.13s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-sss-tang-luks2 + TEST=list-sss-tang-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + trap on_exit EXIT + trap exit ERR ++ mktemp -d + TMP=/tmp/tmp.KHfPfE + ADV=/tmp/tmp.KHfPfE/adv.jws + tang_create_adv /tmp/tmp.KHfPfE /tmp/tmp.KHfPfE/adv.jws + local basedir=/tmp/tmp.KHfPfE + local adv=/tmp/tmp.KHfPfE/adv.jws + local SIG=/tmp/tmp.KHfPfE/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.KHfPfE/sig.jwk + local EXC=/tmp/tmp.KHfPfE/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.KHfPfE/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.KHfPfE/sig.jwk --input=/tmp/tmp.KHfPfE/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.KHfPfE/sig.jwk --output=/tmp/tmp.KHfPfE/adv.jws + PIN=sss ++ printf ' { "t": 2, "pins": { "tang": [ {"url":"ADDR1","adv":"%s"}, {"url":"ADDR2","adv":"%s"}, {"url":"ADDR3","adv":"%s"}, {"url":"ADDR4","adv":"%s"}, {"url":"ADDR5","adv":"%s"} ] } } ' /tmp/tmp.KHfPfE/adv.jws /tmp/tmp.KHfPfE/adv.jws /tmp/tmp.KHfPfE/adv.jws /tmp/tmp.KHfPfE/adv.jws /tmp/tmp.KHfPfE/adv.jws + CFG=' { "t": 2, "pins": { "tang": [ {"url":"ADDR1","adv":"/tmp/tmp.KHfPfE/adv.jws"}, {"url":"ADDR2","adv":"/tmp/tmp.KHfPfE/adv.jws"}, {"url":"ADDR3","adv":"/tmp/tmp.KHfPfE/adv.jws"}, {"url":"ADDR4","adv":"/tmp/tmp.KHfPfE/adv.jws"}, {"url":"ADDR5","adv":"/tmp/tmp.KHfPfE/adv.jws"} ] } }' + DEV=/tmp/tmp.KHfPfE/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks2 /tmp/tmp.KHfPfE/luks1-device + local LUKS=luks2 + local DEV=/tmp/tmp.KHfPfE/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.KHfPfE ']' + rm -rf /tmp/tmp.KHfPfE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 33/44 regen-not-inplace-luks2 RUNNING >>> MALLOC_PERTURB_=90 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-not-inplace-luks2 34/44 report-tang-luks2 RUNNING >>> PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MALLOC_PERTURB_=119 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-tang-luks2 35/44 report-sss-luks2 RUNNING >>> MALLOC_PERTURB_=244 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-sss-luks2 36/44 edit-tang-luks2 RUNNING >>> MALLOC_PERTURB_=214 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/edit-tang-luks2 37/44 backup-restore-luks2 RUNNING >>> PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MALLOC_PERTURB_=75 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/backup-restore-luks2 38/44 pass-tang-luks2 RUNNING >>> MALLOC_PERTURB_=150 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/pass-tang-luks2 39/44 pin-sss RUNNING >>> PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/usr/libexec:/usr/libexec:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MALLOC_PERTURB_=241 /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss/pin-sss 40/44 pin-test RUNNING >>> PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/usr/libexec:/usr/libexec:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin MALLOC_PERTURB_=123 /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss/pin-test 41/44 pin-tang RUNNING >>> MALLOC_PERTURB_=211 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/tests/pin-tang 42/44 tang-validate-adv RUNNING >>> MALLOC_PERTURB_=180 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/tests/tang-validate-adv 43/44 default-thp-alg RUNNING >>> MALLOC_PERTURB_=20 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang/tests:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/tests/default-thp-alg 44/44 pin-tpm2 RUNNING >>> MALLOC_PERTURB_=86 PATH=/home/buildozer/aports/testing/clevis/src/clevis-18/src:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/tests:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/sss:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tang:/home/buildozer/aports/testing/clevis/src/clevis-18/output/src/pins/tpm2:/bin:/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2/pin-tpm2 31/44 assume-yes-luks2 SKIP 0.20s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/assume-yes-luks2 + TEST=assume-yes-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT + trap on_exit ERR ++ mktemp -d + TMP=/tmp/tmp.apKhaJ ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=48434 + tang_run /tmp/tmp.apKhaJ 48434 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.apKhaJ + local port=48434 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.apKhaJ ']' + '[' -z 48434 ']' + tang_new_keys /tmp/tmp.apKhaJ '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.apKhaJ + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.apKhaJ ']' + local db=/tmp/tmp.apKhaJ/db + mkdir -p /tmp/tmp.apKhaJ/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.apKhaJ/db Unable to change owner/group for /tmp/tmp.apKhaJ/db/x9aimYmmCUbvAw5xFrAshV5wQSv2ekpWFRl6n-K9vMk.jwk to tang:tang Unable to change owner/group for /tmp/tmp.apKhaJ/db/ziuctDeKC2NKY9gLPH367MahQXkWrNm8Glx1N0H_Pv0.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.apKhaJ/cache + '[' -z '' ']' + KEYS=/tmp/tmp.apKhaJ/db + local pid pidfile + pidfile=/tmp/tmp.apKhaJ/tang.pid + pid=38576 + echo 38576 + /usr/bin/socat -v -v TCP-LISTEN:48434,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.apKhaJ/db' + tang_wait_until_ready 48434 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=48434 + '[' -z 48434 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:48434/adv > 2022/06/17 22:13:55.000273626 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:48434\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000280256 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWFCVkdBbmVaM0FUeWQ1di05M0ZWcm9SX2tYYjdldG9YMmVwOXJHWlhSOXRlcUtyRmNyZHluUDc3Z0ZJcFlGTjUtcnNubmROVnlDS1pSdHRGQURZMVZsNyIsICJ5IjogIkFOSV9ua3F6anlBaUI1OVBQNzNGYWZ4WUlfQ1IwUzFwVEdrcTloR0lSbzR0VlVIc3p5dUVVY0F6MGx3MTJRcFprVTZOYWhiNE9qNG5fbURwSjJuWERTaXEifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVozcENpenFpVEp5U0g4QmhpTnhubnVDR3czMDQ0ZDZmMjBETXFzVnhIeEVGXzRvYUFnWnRrb0IxU3dRS0RFMHZVU185U3NUeTgtV2dWX3pyWFExdEJqQyIsICJ5IjogIkFmUU13UjIxaGZVS0JSQlRWeVpqR3Nqek5ROGczeGttQnVYQWdIVUczNTVmOV9NR0ZUekszTXhkZVVucllpVWN3M2I2SXlaMEhuZ3NKbVFCR3pwWW1fZV8ifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AeIGihefduX67vMAfFH_SRuAeHZtVUvu1SNwv2MapptxiprIiflO4QLKar6OIQpoCAqXV6wTrWIDl2RBTiXBfhcdABfcpgUS7_N9-eCCwcYYkD16lW7VLG_A8A1QDsSVAnBXVgBWdZyUozqaa5ADxQb32STb0JkA2DXVcjrsYRedn8-V"}+ url=http://localhost:48434 ++ printf '{"url":"%s"}' http://localhost:48434 + cfg='{"url":"http://localhost:48434"}' + DEV=/tmp/tmp.apKhaJ/luks2-device + new_device luks2 /tmp/tmp.apKhaJ/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.apKhaJ/luks2-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' '!' -d /tmp/tmp.apKhaJ ']' + tang_stop /tmp/tmp.apKhaJ + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.apKhaJ + '[' -z /tmp/tmp.apKhaJ ']' + local pidfile=/tmp/tmp.apKhaJ/tang.pid + '[' -f /tmp/tmp.apKhaJ/tang.pid ']' + local pid + pid=38576 + kill -9 38576 + rm -rf /tmp/tmp.apKhaJ /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/assume-yes-luks2: line 25: 38576 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 30/44 unlock-tang-luks2 SKIP 0.21s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unlock-tang-luks2 + TEST=unlock-tang-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT + trap on_exit ERR ++ mktemp -d + TMP=/tmp/tmp.PkMHmM ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=54279 + tang_run /tmp/tmp.PkMHmM 54279 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.PkMHmM + local port=54279 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.PkMHmM ']' + '[' -z 54279 ']' + tang_new_keys /tmp/tmp.PkMHmM '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.PkMHmM + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.PkMHmM ']' + local db=/tmp/tmp.PkMHmM/db + mkdir -p /tmp/tmp.PkMHmM/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.PkMHmM/db Unable to change owner/group for /tmp/tmp.PkMHmM/db/SPl9ABuztSQ-jDP30NRRdnEJLw9GWV6SgF-TpVZZtd8.jwk to tang:tang Unable to change owner/group for /tmp/tmp.PkMHmM/db/cAwQoIZ-Zpd-z5Y5hnPif7KzR1h-9ALrqDdfkRWUwis.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.PkMHmM/cache + '[' -z '' ']' + KEYS=/tmp/tmp.PkMHmM/db + local pid pidfile + pidfile=/tmp/tmp.PkMHmM/tang.pid + pid=38564 + echo 38564 + /usr/bin/socat -v -v TCP-LISTEN:54279,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.PkMHmM/db' + tang_wait_until_ready 54279 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=54279 + '[' -z 54279 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:54279/adv > 2022/06/17 22:13:55.000267059 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:54279\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000273387 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFPNTZval9DZ2pEbjBnZXFmbTFKUUxpV05PbllsbFkwSkZmdmNhS09YZkpDbS03WnVlWXlwRllCa2NsTUpsQ1RkQ0l0VjBBWFNuR1Z4MUlWVHB3V19xd0ciLCAieSI6ICJBU3JURmdBUHdlX1lMTURXbW9KeW90NFBhZl90M3R0bk5FNFdITmVFelRoT2pTblpibEJaZ3luNE9hM2x4Q2F6VlpRY2J5TmROdVJ2QUFncUJWbElHYVpGIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUhIMnpGaHlNVGZWQWFWazQxLU80R29PcEFZOFNKZWZNbjZVSERTMXcyOXpkcktXdlVFdXNwWXpRTnF1TnpXYjhXWjNBVWRYdnY5UWNpcjM0V2tFMVJ3QSIsICJ5IjogIkFkaURzVG5TLWIxZUp6MllwOVZvZnBUaHRMS1NtQnBhdkMweHhzNVpHVW5pRjlXZGxhaXg1aXNrMDc0OURKN3BpZFpxQ0pJeVdOQjZmelY0Q2JzeHJHVnMifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AACbk69mMAU7MGDEuW08HeJClQAIJYJD2yF0m_FHjpPdmlhDsFvPytamErCDr3-IbRYU67jkajXg_LhYxsUCpAYXABByh0w39sRatddoZXfI9CJLzQgcjPQXVO_CGV_hIvjXSMJ3kQ1ciswU0tcmTpUDAYA70N1V8w2ubR6eHX9XLeRL"}+ url=http://localhost:54279 + adv=/tmp/tmp.PkMHmM/adv + tang_get_adv 54279 /tmp/tmp.PkMHmM/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=54279 + local adv=/tmp/tmp.PkMHmM/adv + '[' -z 54279 ']' + curl -L -o /tmp/tmp.PkMHmM/adv http://localhost:54279/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000286436 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:54279\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000293081 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFPNTZval9DZ2pEbjBnZXFmbTFKUUxpV05PbllsbFkwSkZmdmNhS09YZkpDbS03WnVlWXlwRllCa2NsTUpsQ1RkQ0l0VjBBWFNuR1Z4MUlWVHB3V19xd0ciLCAieSI6ICJBU3JURmdBUHdlX1lMTURXbW9KeW90NFBhZl90M3R0bk5FNFdITmVFelRoT2pTblpibEJaZ3luNE9hM2x4Q2F6VlpRY2J5TmROdVJ2QUFncUJWbElHYVpGIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUhIMnpGaHlNVGZWQWFWazQxLU80R29PcEFZOFNKZWZNbjZVSERTMXcyOXpkcktXdlVFdXNwWXpRTnF1TnpXYjhXWjNBVWRYdnY5UWNpcjM0V2tFMVJ3QSIsICJ5IjogIkFkaURzVG5TLWIxZUp6MllwOVZvZnBUaHRMS1NtQnBhdkMweHhzNVpHVW5pRjlXZGxhaXg1aXNrMDc0OURKN3BpZFpxQ0pJeVdOQjZmelY0Q2JzeHJHVnMifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AA4KOq4HYxknfNL0SsTzLXNyrlS_-9jFExd_bqhg1v2NQ3FqZHjShcirBcBaJU_bvViCnejEifEdyyVj3xqoMpvBAdb5ur9Gwqf0_546qjUUWk7vseUTnJkSSXBAd5HG-g8_Ar4-yvtKAJLQ_4pra-cwmfd8mbHUhBtSA40h2gBKcd03"} 100 993 100 993 0 0 98717 0 --:--:-- --:--:-- --:--:-- 107k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:54279 /tmp/tmp.PkMHmM/adv + cfg='{"url":"http://localhost:54279","adv":"/tmp/tmp.PkMHmM/adv"}' + DEV=/tmp/tmp.PkMHmM/luks2-device + new_device luks2 /tmp/tmp.PkMHmM/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.PkMHmM/luks2-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' '!' -d /tmp/tmp.PkMHmM ']' + tang_stop /tmp/tmp.PkMHmM + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.PkMHmM + '[' -z /tmp/tmp.PkMHmM ']' + local pidfile=/tmp/tmp.PkMHmM/tang.pid + '[' -f /tmp/tmp.PkMHmM/tang.pid ']' + local pid + pid=38564 + kill -9 38564 + rm -rf /tmp/tmp.PkMHmM /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unlock-tang-luks2: line 25: 38564 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 32/44 regen-inplace-luks2 SKIP 0.20s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + TEST=/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-inplace-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.aOaODA ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=59758 + tang_run /tmp/tmp.aOaODA 59758 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.aOaODA + local port=59758 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.aOaODA ']' + '[' -z 59758 ']' + tang_new_keys /tmp/tmp.aOaODA '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.aOaODA + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.aOaODA ']' + local db=/tmp/tmp.aOaODA/db + mkdir -p /tmp/tmp.aOaODA/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.aOaODA/db Unable to change owner/group for /tmp/tmp.aOaODA/db/OwstuHPxD7PiKgVY4bUxzFvRqMoXjq_kLaxo6gI5YFs.jwk to tang:tang Unable to change owner/group for /tmp/tmp.aOaODA/db/igUUyj3rxhdVeK6iu-pMVyrYRDSKzzqXLmcpkCGk_kM.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.aOaODA/cache + '[' -z '' ']' + KEYS=/tmp/tmp.aOaODA/db + local pid pidfile + pidfile=/tmp/tmp.aOaODA/tang.pid + pid=38585 + echo 38585 + /usr/bin/socat -v -v TCP-LISTEN:59758,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.aOaODA/db' + tang_wait_until_ready 59758 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=59758 + '[' -z 59758 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:59758/adv > 2022/06/17 22:13:55.000279146 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:59758\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000285858 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFXMElFVnEwVkc5MEZTRlJOcEtGYnJqekpabW9ZdnN0QTQ2NDlBaFExVUZPeElDRWZ6MXZLQ25vNktWUV9ndlBJbUhPZTN4WlFjNllXMDhCTUt4UGcydFEiLCAieSI6ICJBVjVyWlkxWi1Da1N4cEVQZHFLdzlyZWxqTEVkQ3g3RG9JREppMDJ6WS1zWWpEbzlGSlVsWGZTYTdRTXc3U1NraFdqTXA2SjdYdG1penBQWk9zR2pDUGtXIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU1xRUtNVUFiMUpHa2ZvUi1oSEVJV2U5MmpuMGI4Zlk2R2hPWUxuaXBDNzNiZ25raGRFUGV4OThZWEd5eEpFZDQ3bFpWbV9CdHB1R3lqSHNNdm42dkpmNCIsICJ5IjogIkFOYXJDSjNOYWtJODZPR1JCMjdLdWV1blFEWVhnWXF2SjVGa3NhSU5iRVZyQjByVDA3VFZsUlN6Y05WN2VhZmtFamh0YkE0Sk1nRFg5Uy1xblR6Umx6VEsifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ALDHoFdwDOI1DrzTctrER_EI25--a7XYhO0iZ8pqr-uXyXNT-eOO0SVX-35nCpvKhqQc6dVaowEnWpdM_Z5OIYwcAStUhqo3GDUog7yfuKQ5ciG6p5ci9mbDpw-lXJzKQE026Gql7xYlclRLo5_OLOeNw2X0Dt2EpMQ6waZiVh2fj5z7"}+ url=http://localhost:59758 + adv=/tmp/tmp.aOaODA/adv + tang_get_adv 59758 /tmp/tmp.aOaODA/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=59758 + local adv=/tmp/tmp.aOaODA/adv + '[' -z 59758 ']' + curl -L -o /tmp/tmp.aOaODA/adv http://localhost:59758/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000298156 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:59758\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000304824 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFXMElFVnEwVkc5MEZTRlJOcEtGYnJqekpabW9ZdnN0QTQ2NDlBaFExVUZPeElDRWZ6MXZLQ25vNktWUV9ndlBJbUhPZTN4WlFjNllXMDhCTUt4UGcydFEiLCAieSI6ICJBVjVyWlkxWi1Da1N4cEVQZHFLdzlyZWxqTEVkQ3g3RG9JREppMDJ6WS1zWWpEbzlGSlVsWGZTYTdRTXc3U1NraFdqTXA2SjdYdG1penBQWk9zR2pDUGtXIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU1xRUtNVUFiMUpHa2ZvUi1oSEVJV2U5MmpuMGI4Zlk2R2hPWUxuaXBDNzNiZ25raGRFUGV4OThZWEd5eEpFZDQ3bFpWbV9CdHB1R3lqSHNNdm42dkpmNCIsICJ5IjogIkFOYXJDSjNOYWtJODZPR1JCMjdLdWV1blFEWVhnWXF2SjVGa3NhSU5iRVZyQjByVDA3VFZsUlN6Y05WN2VhZmtFamh0YkE0Sk1nRFg5Uy1xblR6Umx6VEsifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AX5kmewPStkdmHKL3QjL6pXzYLuSYJawtASAvNxR-gDS_NQM5Wh1xGs-ZuOrPgaF14V-fWW473U5tAzyUT-wzBylATUm74ZNlS7uzgk0l-xLIFes1_MIU9l2sIXCayPgea2UkSzKUVrDU-tOlbTeTxQzwk1Kgg4R_w_j3LXCRXmOLVvN"} 100 993 100 993 0 0 97919 0 --:--:-- --:--:-- --:--:-- 107k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:59758 /tmp/tmp.aOaODA/adv + cfg='{"url":"http://localhost:59758","adv":"/tmp/tmp.aOaODA/adv"}' + DEV=/tmp/tmp.aOaODA/luks2-device + new_device luks2 /tmp/tmp.aOaODA/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.aOaODA/luks2-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.aOaODA ']' + tang_stop /tmp/tmp.aOaODA + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.aOaODA + '[' -z /tmp/tmp.aOaODA ']' + local pidfile=/tmp/tmp.aOaODA/tang.pid + '[' -f /tmp/tmp.aOaODA/tang.pid ']' + local pid + pid=38585 + kill -9 38585 + rm -rf /tmp/tmp.aOaODA /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-inplace-luks2: line 25: 38585 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 33/44 regen-not-inplace-luks2 SKIP 0.10s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + TEST=/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-not-inplace-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT ++ mktemp -d + export TMP=/tmp/tmp.KnoaoE + TMP=/tmp/tmp.KnoaoE ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=54532 + tang_run /tmp/tmp.KnoaoE 54532 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.KnoaoE + local port=54532 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.KnoaoE ']' + '[' -z 54532 ']' + tang_new_keys /tmp/tmp.KnoaoE '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.KnoaoE + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.KnoaoE ']' + local db=/tmp/tmp.KnoaoE/db + mkdir -p /tmp/tmp.KnoaoE/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.KnoaoE/db Unable to change owner/group for /tmp/tmp.KnoaoE/db/E3cvv6U6RRw26dYh0HOgT_rQ_0gYugR-P-b1J2sBusg.jwk to tang:tang Unable to change owner/group for /tmp/tmp.KnoaoE/db/Q8vp_K6BG_cfReGnkWp0u7xR590oMhqaaQ6obIKVpeQ.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.KnoaoE/cache + '[' -z '' ']' + KEYS=/tmp/tmp.KnoaoE/db + local pid pidfile + pidfile=/tmp/tmp.KnoaoE/tang.pid + pid=38712 + echo 38712 + /usr/bin/socat -v -v TCP-LISTEN:54532,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.KnoaoE/db' + tang_wait_until_ready 54532 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=54532 + '[' -z 54532 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:54532/adv > 2022/06/17 22:13:55.000408803 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:54532\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000413279 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFOemdaa1JUSmtFX0RhNXBMRjBMd2QzcFk5dWpseGpnWXlkREs3MkNFcDVIMTRoc2pHcUQ2cTczU1BzY25QLThkTVliS3gzZkRsRjBNSHZkNXNGYkZBdl8iLCAieSI6ICJBVVRaeE5wOVJRWGV5SVB1X2NacWdtYUxuZUZWR0ZxTTRpd1hFdXBlVHlCYnR2MFhmcDRvbFBDSXEyVHpJZ1Faekx6ZWlHb1VhVmdQSmNKTzVBa093VjJ2In0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUsyRWIwVS1vYnd6SUF6MVltVHlidmJDTjlsd0Zsc2tha1lDTXZ0cV9nOVA4U2E0Q3RHWVVKM0xtOWh5MExzaGlmN254R05URjVTcEJLQlo4eTBDV1doWCIsICJ5IjogIkFCQTdiRmNiWWk1aTh4WU9nWmw2M0Q3RmZKaktFSFhPcGV1R2lkZ3ZLTDRNR1RpeXdPSTdvbW9xbEdKWmtVc3p5d1R2Mm9Xc05PUGQwUjRPTHNmcG1uTWgifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AVV446eIv0vC5nics2Y1g2UShAavy5VsTnVelV7L6Jln0uVtDQmeybGi_n3Hp3yoU3S4iYCeRTb3Mi61RGdikbmyAC1YwpFYbEOOn-HOxmn3rY3KiaePN5uRpr4EYMj1p9PoJEIgpc9cZQ5a7oJ4P3KyREJ2y6ua9gVz_XvIhT3s76_D"}+ url=http://localhost:54532 + adv=/tmp/tmp.KnoaoE/adv + tang_get_adv 54532 /tmp/tmp.KnoaoE/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=54532 + local adv=/tmp/tmp.KnoaoE/adv + '[' -z 54532 ']' + curl -L -o /tmp/tmp.KnoaoE/adv http://localhost:54532/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000421051 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:54532\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000424854 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFOemdaa1JUSmtFX0RhNXBMRjBMd2QzcFk5dWpseGpnWXlkREs3MkNFcDVIMTRoc2pHcUQ2cTczU1BzY25QLThkTVliS3gzZkRsRjBNSHZkNXNGYkZBdl8iLCAieSI6ICJBVVRaeE5wOVJRWGV5SVB1X2NacWdtYUxuZUZWR0ZxTTRpd1hFdXBlVHlCYnR2MFhmcDRvbFBDSXEyVHpJZ1Faekx6ZWlHb1VhVmdQSmNKTzVBa093VjJ2In0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUsyRWIwVS1vYnd6SUF6MVltVHlidmJDTjlsd0Zsc2tha1lDTXZ0cV9nOVA4U2E0Q3RHWVVKM0xtOWh5MExzaGlmN254R05URjVTcEJLQlo4eTBDV1doWCIsICJ5IjogIkFCQTdiRmNiWWk1aTh4WU9nWmw2M0Q3RmZKaktFSFhPcGV1R2lkZ3ZLTDRNR1RpeXdPSTdvbW9xbEdKWmtVc3p5d1R2Mm9Xc05PUGQwUjRPTHNmcG1uTWgifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AFzZLYQ8IauVQjfTu2NWqagj52I-rFVyQz1gsJV1Rxlt0SjydcJzeIj-yQcOYpcoExXpn125GwO3K-hwXYUC0g-jAFjJzFzvl1y-JQvSrULY8iDB2WArIlXgVV8jPZnrWwJWx9ypZyMuDd1mP6yDnxGqKXmGd50fVoyG44DeuP2ytkVo"} 100 993 100 993 0 0 173k 0 --:--:-- --:--:-- --:--:-- 193k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:54532 /tmp/tmp.KnoaoE/adv + cfg='{"url":"http://localhost:54532","adv":"/tmp/tmp.KnoaoE/adv"}' + DEV=/tmp/tmp.KnoaoE/luks2-device + new_device luks2 /tmp/tmp.KnoaoE/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.KnoaoE/luks2-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.KnoaoE ']' + tang_stop /tmp/tmp.KnoaoE + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.KnoaoE + '[' -z /tmp/tmp.KnoaoE ']' + local pidfile=/tmp/tmp.KnoaoE/tang.pid + '[' -f /tmp/tmp.KnoaoE/tang.pid ']' + local pid + pid=38712 + kill -9 38712 + rm -rf /tmp/tmp.KnoaoE /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-not-inplace-luks2: line 25: 38712 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 34/44 report-tang-luks2 SKIP 0.10s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + TEST=/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-tang-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.ekJooP ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=48964 + tang_run /tmp/tmp.ekJooP 48964 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.ekJooP + local port=48964 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.ekJooP ']' + '[' -z 48964 ']' + tang_new_keys /tmp/tmp.ekJooP '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.ekJooP + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.ekJooP ']' + local db=/tmp/tmp.ekJooP/db + mkdir -p /tmp/tmp.ekJooP/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.ekJooP/db Unable to change owner/group for /tmp/tmp.ekJooP/db/MuJdWm6mkPSB_1ZS33bIttVoqN_Pv_JKnQ3Guf2dmfg.jwk to tang:tang Unable to change owner/group for /tmp/tmp.ekJooP/db/kpb7Z4QCjSCaw6dMMr-rOjjexEldE4ud_rh9dKbUJ3s.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.ekJooP/cache + '[' -z '' ']' + KEYS=/tmp/tmp.ekJooP/db + local pid pidfile + pidfile=/tmp/tmp.ekJooP/tang.pid + pid=38745 + echo 38745 + /usr/bin/socat -v -v TCP-LISTEN:48964,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.ekJooP/db' + tang_wait_until_ready 48964 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=48964 + '[' -z 48964 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:48964/adv > 2022/06/17 22:13:55.000416677 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:48964\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000420467 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFMMUgyOEdnbzM2aDFpalkxSWxsWkVkcXdwV1VMMV9EY1JobTNhT1p2VV9sVGxJQkNXb2RtTW1SMVdrS05GSVROTjlOYzFMb2JNYUJPa2VDTnZVX3NBTzYiLCAieSI6ICJBR243czlyLXVRYmE5VVRWSUVwQ1hzMVlXVVltMVZibkU4bThSYmN0YzdxdkVCOThWTjRBM0xhZEJOaDZzZFBWZ2FJTTh5d2lkLXNlSkZJdUV6Tnc3TWFRIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUN1UE5ILVRfb1VkWmpxQWVnZnQxVk9nVWpIYlltYXpLVU10TzAxWUwxWDhfeEFPNjdhUEhra0NpRGxXVEtHTGZvUUhTVl9rcXZnY20taXNJTVpEcm1LayIsICJ5IjogIkFYUHF5R2dsMW4zM1lIQ0NwOHdZVFNJbjA0QjhnTW9tc3RnRGlsb0RkM2J4MkppRXB4TndwU3I2NV9kMno3dXJsS0dqWFJSQzhOSnZEdVVaaWRLT2MxSnAifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AezZuyzcCYvCphdkT2SJHtxyjMvAxF2BdJzdHYzF1CXPfbHTSE35J3mUluaR5KU6qO07DGMzyLnDU-uXNWrfdjh0ARp0ILqhbQQ8pYLsaMuYK_XdgL6krt-m3e_MR6erdme--ONFXBqxW3ZgVEk64EMIYAYmWlLixKmExEkLooWNYvnU"}+ url=http://localhost:48964 + adv=/tmp/tmp.ekJooP/adv + tang_get_adv 48964 /tmp/tmp.ekJooP/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=48964 + local adv=/tmp/tmp.ekJooP/adv + '[' -z 48964 ']' + curl -L -o /tmp/tmp.ekJooP/adv http://localhost:48964/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000427587 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:48964\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000431564 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFMMUgyOEdnbzM2aDFpalkxSWxsWkVkcXdwV1VMMV9EY1JobTNhT1p2VV9sVGxJQkNXb2RtTW1SMVdrS05GSVROTjlOYzFMb2JNYUJPa2VDTnZVX3NBTzYiLCAieSI6ICJBR243czlyLXVRYmE5VVRWSUVwQ1hzMVlXVVltMVZibkU4bThSYmN0YzdxdkVCOThWTjRBM0xhZEJOaDZzZFBWZ2FJTTh5d2lkLXNlSkZJdUV6Tnc3TWFRIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUN1UE5ILVRfb1VkWmpxQWVnZnQxVk9nVWpIYlltYXpLVU10TzAxWUwxWDhfeEFPNjdhUEhra0NpRGxXVEtHTGZvUUhTVl9rcXZnY20taXNJTVpEcm1LayIsICJ5IjogIkFYUHF5R2dsMW4zM1lIQ0NwOHdZVFNJbjA0QjhnTW9tc3RnRGlsb0RkM2J4MkppRXB4TndwU3I2NV9kMno3dXJsS0dqWFJSQzhOSnZEdVVaaWRLT2MxSnAifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "APFbyzz-s3zkyjC44c2Ef6b-tf8L75N4-LzqoVTaz-QSKM_U0EiQ69QzCB0Awh6WHFhCCoyPZEhgTp_uDAxksYMVAPDXnoFEUV6AETQr_2tkZRQJ_ZWAHYXy_jD5aowwVVrv-Zk2f6zo1NTzNQFegc3tunL8JuDDg1cEmQ8awgTs_gDy"} 100 993 100 993 0 0 168k 0 --:--:-- --:--:-- --:--:-- 193k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:48964 /tmp/tmp.ekJooP/adv + cfg='{"url":"http://localhost:48964","adv":"/tmp/tmp.ekJooP/adv"}' + DEV=/tmp/tmp.ekJooP/luks2-device + new_device luks2 /tmp/tmp.ekJooP/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.ekJooP/luks2-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.ekJooP ']' + tang_stop /tmp/tmp.ekJooP + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.ekJooP + '[' -z /tmp/tmp.ekJooP ']' + local pidfile=/tmp/tmp.ekJooP/tang.pid + '[' -f /tmp/tmp.ekJooP/tang.pid ']' + local pid + pid=38745 + kill -9 38745 + rm -rf /tmp/tmp.ekJooP /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-tang-luks2: line 25: 38745 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 36/44 edit-tang-luks2 SKIP 0.08s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/edit-tang-luks2 + TEST=edit-tang-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT + trap on_exit ERR ++ mktemp -d + TMP=/tmp/tmp.dGfBLD ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=26645 + tang_run /tmp/tmp.dGfBLD 26645 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.dGfBLD + local port=26645 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.dGfBLD ']' + '[' -z 26645 ']' + tang_new_keys /tmp/tmp.dGfBLD '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.dGfBLD + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.dGfBLD ']' + local db=/tmp/tmp.dGfBLD/db + mkdir -p /tmp/tmp.dGfBLD/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.dGfBLD/db Unable to change owner/group for /tmp/tmp.dGfBLD/db/R8g20wCT8qhz6bPtu8kI_dBXClVbYXIL3MJ65ffElN4.jwk to tang:tang Unable to change owner/group for /tmp/tmp.dGfBLD/db/3mLPjSpUqDpox-PdCfXV13GzTXQ7R2CPRYPDiSrc7TE.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.dGfBLD/cache + '[' -z '' ']' + KEYS=/tmp/tmp.dGfBLD/db + local pid pidfile + pidfile=/tmp/tmp.dGfBLD/tang.pid + pid=38801 + echo 38801 + /usr/bin/socat -v -v TCP-LISTEN:26645,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.dGfBLD/db' + tang_wait_until_ready 26645 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=26645 + '[' -z 26645 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:26645/adv > 2022/06/17 22:13:55.000425501 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:26645\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000429269 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFmYnBIT0RYUzVSSzhka2l5eVRRZ19LTjlNSnZBa2FMTHkwYVpJMGhDc0hkdE11NFY3NW1uVFZ0dUZnc3JiVnhJQ0VGN3VyWE9pQmFJUGRwUEd1YUxwTnQiLCAieSI6ICJBWERFb19pREY0X3hHdVV4Yk0wY0FJeTRSemNDaHhxc3F1a3JjREtodFBjc0ZLMGF1dWZBOXpHZEEyV0g3NUZNNFJWY0Fwbkt6OEJkUWdEMm9zWVBrR0pGIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWZsNTZDZ3VMd1ltLXp1aC1jNEVQTzltR2VNSXZSV09ZUzA3XzUycTZQeG1PeVBJVWsyOU4yVi00b0NGb1RnVUpIUm5ITXU0NzQ1Snc1c1VCREFRMjd4ayIsICJ5IjogIkFEUmdHMGlHeDdnMWxCMkVvWUpHeHJVQ1JtOURrRzlwNktGX1FZZzdDOWUtSC0zZGhRRzdkdjRwZmgxVDBvY2lhY3dDbWxPa1NFT0lIa2tzWHlpRUFsNlkifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ANwK8JTIOlbbT-GA8XXUWqrsdi9zX6hUq_4QlhAqogJDoLAecoK75ZvdzCHi0kjpSkUmyztoDLyVep0MImwtjCGNAMm-qsriscYejtgOJlzAjxFZ5H-t-w-gpa-Et5_ZxNtuXyh0HMAeENJeVnfN9MBoQE7AoXOO8molDTyRy_9YOs4h"}+ url=http://localhost:26645 ++ printf '{"url":"%s"}' http://localhost:26645 + cfg='{"url":"http://localhost:26645"}' + DEV=/tmp/tmp.dGfBLD/luks2-device + new_device luks2 /tmp/tmp.dGfBLD/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.dGfBLD/luks2-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + local d + for d in "${TMP}" "${TMP2}" + '[' '!' -d /tmp/tmp.dGfBLD ']' + tang_stop /tmp/tmp.dGfBLD + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.dGfBLD + '[' -z /tmp/tmp.dGfBLD ']' + local pidfile=/tmp/tmp.dGfBLD/tang.pid + '[' -f /tmp/tmp.dGfBLD/tang.pid ']' + local pid + pid=38801 + kill -9 38801 + rm -rf /tmp/tmp.dGfBLD /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/edit-tang-luks2: line 27: 38801 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" + for d in "${TMP}" "${TMP2}" + '[' '!' -d '' ']' + continue ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 37/44 backup-restore-luks2 SKIP 0.07s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/backup-restore-luks2 + TEST=backup-restore-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.PGKIPP + ADV=/tmp/tmp.PGKIPP/adv.jws + tang_create_adv /tmp/tmp.PGKIPP /tmp/tmp.PGKIPP/adv.jws + local basedir=/tmp/tmp.PGKIPP + local adv=/tmp/tmp.PGKIPP/adv.jws + local SIG=/tmp/tmp.PGKIPP/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.PGKIPP/sig.jwk + local EXC=/tmp/tmp.PGKIPP/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.PGKIPP/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.PGKIPP/sig.jwk --input=/tmp/tmp.PGKIPP/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.PGKIPP/sig.jwk --output=/tmp/tmp.PGKIPP/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.PGKIPP/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.PGKIPP/adv.jws"}' + DEV=/tmp/tmp.PGKIPP/luks2-device + new_device luks2 /tmp/tmp.PGKIPP/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.PGKIPP/luks2-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.PGKIPP ']' + rm -rf /tmp/tmp.PGKIPP ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 44/44 pin-tpm2 SKIP 0.03s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2/pin-tpm2 + TEST=pin-tpm2 + SKIP_RET_CODE=77 + tpm2_available + export TPM2TOOLS_TCTI_NAME=device + TPM2TOOLS_TCTI_NAME=device + export TPM2TOOLS_DEVICE_FILE= + TPM2TOOLS_DEVICE_FILE= + for dev in /dev/tpmrm? + '[' -e '/dev/tpmrm?' ']' + continue + export TPM2TOOLS_TCTI=device: + TPM2TOOLS_TCTI=device: + '[' -z '' ']' + echo 'A TPM2 device with the in-kernel resource manager is needed!' A TPM2 device with the in-kernel resource manager is needed! + return 1 + exit 77 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 35/44 report-sss-luks2 SKIP 0.09s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + TEST=/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-sss-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.APkPkg ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=29987 + tang_run /tmp/tmp.APkPkg 29987 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.APkPkg + local port=29987 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.APkPkg ']' + '[' -z 29987 ']' + tang_new_keys /tmp/tmp.APkPkg '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.APkPkg + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.APkPkg ']' + local db=/tmp/tmp.APkPkg/db + mkdir -p /tmp/tmp.APkPkg/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.APkPkg/db Unable to change owner/group for /tmp/tmp.APkPkg/db/tCXM3K_d5LfFCVYdA2omj0EqMJMyjW5aPIQw_BrktlU.jwk to tang:tang Unable to change owner/group for /tmp/tmp.APkPkg/db/wrBBp52jRFnu9RWzDN81dVfYk5zsNJQO8r3zCfb6nA8.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.APkPkg/cache + '[' -z '' ']' + KEYS=/tmp/tmp.APkPkg/db + local pid pidfile + pidfile=/tmp/tmp.APkPkg/tang.pid + pid=38772 + + /usr/bin/socat echo -v 38772-v TCP-LISTEN:29987,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.APkPkg/db' + tang_wait_until_ready 29987 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=29987 + '[' -z 29987 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:29987/adv > 2022/06/17 22:13:55.000421903 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:29987\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000426136 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFXeGF4VmRuTFlUXzA1NXJNOHY4Z1UxNW0wN29BaXVnaHRUU2RTYUNyWWZLRWtWb3ppcHhlTkROY0tWNkdsNVMyM0Q0VlYwMWJRM0xkeHNGX3VMam9ERTIiLCAieSI6ICJBWVI2MUEwR3lFbks2U0NqY2FSb1A3Sk13bVZrSjE1RENoblVVek9yZUsyd3N5eHN5SFNTYUF3dlUtUy1rSTNSb1pGLTdmUEcxb29wY0kzWFNTUkZ5ZDN0In0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUc4WWpYZjZHeS14RFJYUG9EeTB6NVNuV3EyaWR2QjlhYzZHY0REQnpSYWg3SzhwemFqN0twTnQwZTRVeHRlR2dTb1UtR2hFTDdoakNSMUxndzZLcF9FSSIsICJ5IjogIkFlY2RDbVBERDVycFJBemJvT1Y0Y0huejRQaXI0M0ZNbENMWFkwV0EwaEZBWW9hV2NCWXo0bDZ1WnEzazl3RFZwRWd5aHh0X09PcjNyMTZMdk5kQTFGZDUifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "Ad3jpQkHIGV_zePo-sYQRjenOkIGLd59b9wgTlUXnNXJ7UHFnFNUQQX7sfRMVzEoBatr2n7GYR5zowJiDpTMNR0PAK5mHwQeQ88sjWeJqlb0MKsWpVwnmX7fe-XPj5Wzs_p0dD-r3bdzdggCsuzARhRHgdMLOh3_5HwhXK5i2RelzbBx"}+ url=http://localhost:29987 + adv=/tmp/tmp.APkPkg/adv + tang_get_adv 29987 /tmp/tmp.APkPkg/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=29987 + local adv=/tmp/tmp.APkPkg/adv + '[' -z 29987 ']' + curl -L -o /tmp/tmp.APkPkg/adv http://localhost:29987/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000433563 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:29987\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000438996 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFXeGF4VmRuTFlUXzA1NXJNOHY4Z1UxNW0wN29BaXVnaHRUU2RTYUNyWWZLRWtWb3ppcHhlTkROY0tWNkdsNVMyM0Q0VlYwMWJRM0xkeHNGX3VMam9ERTIiLCAieSI6ICJBWVI2MUEwR3lFbks2U0NqY2FSb1A3Sk13bVZrSjE1RENoblVVek9yZUsyd3N5eHN5SFNTYUF3dlUtUy1rSTNSb1pGLTdmUEcxb29wY0kzWFNTUkZ5ZDN0In0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUc4WWpYZjZHeS14RFJYUG9EeTB6NVNuV3EyaWR2QjlhYzZHY0REQnpSYWg3SzhwemFqN0twTnQwZTRVeHRlR2dTb1UtR2hFTDdoakNSMUxndzZLcF9FSSIsICJ5IjogIkFlY2RDbVBERDVycFJBemJvT1Y0Y0huejRQaXI0M0ZNbENMWFkwV0EwaEZBWW9hV2NCWXo0bDZ1WnEzazl3RFZwRWd5aHh0X09PcjNyMTZMdk5kQTFGZDUifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "Ae1wYgs40x4TPkZyRlCZJEmBWvYcs4N6z3wFSWpG64w3CYk40_Hjybrcf0xHy-ZF8tn7h288A4b2_S_fRstQStXIACL8j2G9_D0EBpLbUR5F9xdrxaUqXCZUrP5sZVUHwW71gKP-a2IZ3k0jXf9ONrAyqgMqiUsmczbJlfuw0bbWvJpp"} 100 993 100 993 0 0 130k 0 --:--:-- --:--:-- --:--:-- 138k ++ printf '{"t": 1, "pins":{"tang":[{"url":"%s"}], "sss":{"t":1,"pins":{"tang":[{"url":"%s"}]}}}}' http://localhost:29987 http://localhost:29987 + cfg='{"t": 1, "pins":{"tang":[{"url":"http://localhost:29987"}], "sss":{"t":1,"pins":{"tang":[{"url":"http://localhost:29987"}]}}}}' + DEV=/tmp/tmp.APkPkg/luks2-device + new_device luks2 /tmp/tmp.APkPkg/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.APkPkg/luks2-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' -d /tmp/tmp.APkPkg ']' + tang_stop /tmp/tmp.APkPkg + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.APkPkg + '[' -z /tmp/tmp.APkPkg ']' + local pidfile=/tmp/tmp.APkPkg/tang.pid + '[' -f /tmp/tmp.APkPkg/tang.pid ']' + local pid + pid=38772 + kill -9 38772 + rm -rf /tmp/tmp.APkPkg /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-sss-luks2: line 25: 38772 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 38/44 pass-tang-luks2 SKIP 0.07s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + TEST=/home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/pass-tang-luks2 + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.eeamPn ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=14593 + tang_run /tmp/tmp.eeamPn 14593 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.eeamPn + local port=14593 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.eeamPn ']' + '[' -z 14593 ']' + tang_new_keys /tmp/tmp.eeamPn '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.eeamPn + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.eeamPn ']' + local db=/tmp/tmp.eeamPn/db + mkdir -p /tmp/tmp.eeamPn/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.eeamPn/db Unable to change owner/group for /tmp/tmp.eeamPn/db/h3Dq3Wcvlt-G6XQuhb_dFMqgEP9gP61t-Va-17xh-9w.jwk to tang:tang Unable to change owner/group for /tmp/tmp.eeamPn/db/fIi8-77xe3R_1qaXxQQSZ-dcQalbGls-zcPf6AiRbiI.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.eeamPn/cache + '[' -z '' ']' + KEYS=/tmp/tmp.eeamPn/db + local pid pidfile + pidfile=/tmp/tmp.eeamPn/tang.pid + pid=38838 + echo 38838 + /usr/bin/socat -v -v TCP-LISTEN:14593,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.eeamPn/db' + tang_wait_until_ready 14593 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=14593 + '[' -z 14593 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:14593/adv > 2022/06/17 22:13:55.000432321 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:14593\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000436284 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFHOHN1cjU4alZDNkJsN21BRzdtVmVvNGlBSEdUSi13SlhrSlg1eEY3ZUJYYzIySlRPNERHblFYZkhvb1RHWDlWSnBCcnpkRnhBS3NmSVV3WDZpc1BRcVYiLCAieSI6ICJBUkVialNnZk5EZ0E5eGdhbFV2VUx5NWhFYlo2aXN1cVZEWjFXSWdGWFlIOS1UelZ3dGNteFhicC1TbWlNZWJXcEZ0QUxrNERfVi1oOTRtdEZGbnhCYnFpIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVFqMExPQWlHSTRzNzJvbHVFblVFNlZZYTg0VlhOejN3WlROZVhUWjU3MFB4WUhLNzFDeWZMMHJ2UDJybGQ3cVZWVXNLZkxRRmZTZHBIZHNhb0FrNlZsbyIsICJ5IjogIkFXR2NZZTlrUEE0b0hMOV9zaUs3Zk1QbDRub0tpaWRtRlg0Y0F1YndyY1ppcWVrVERLRGhNMDlvYjQ0aGhZeUVWRlVrbHM5R0VNUlpWdnY2NHB3TUtibUsifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AIWBtejgcCgOGpaHrwme6oUjmbT3Mg9gdfTHz6IN4nreqizFEYF7EDktnR9V2CDmUDjkUxRloW-ohu9YoGJRsE69AdWPd323r7A7qtBOUVlUUvnMQ0H-tEWokytVlYIo7E1jSRR4pIhe4SW7ZzUkFwTrk9P6N5RNv4nxbOT3tZENi1DO"}+ url=http://localhost:14593 + adv=/tmp/tmp.eeamPn/adv + tang_get_adv 14593 /tmp/tmp.eeamPn/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=14593 + local adv=/tmp/tmp.eeamPn/adv + '[' -z 14593 ']' + curl -L -o /tmp/tmp.eeamPn/adv http://localhost:14593/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000444127 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:14593\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000448153 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFHOHN1cjU4alZDNkJsN21BRzdtVmVvNGlBSEdUSi13SlhrSlg1eEY3ZUJYYzIySlRPNERHblFYZkhvb1RHWDlWSnBCcnpkRnhBS3NmSVV3WDZpc1BRcVYiLCAieSI6ICJBUkVialNnZk5EZ0E5eGdhbFV2VUx5NWhFYlo2aXN1cVZEWjFXSWdGWFlIOS1UelZ3dGNteFhicC1TbWlNZWJXcEZ0QUxrNERfVi1oOTRtdEZGbnhCYnFpIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVFqMExPQWlHSTRzNzJvbHVFblVFNlZZYTg0VlhOejN3WlROZVhUWjU3MFB4WUhLNzFDeWZMMHJ2UDJybGQ3cVZWVXNLZkxRRmZTZHBIZHNhb0FrNlZsbyIsICJ5IjogIkFXR2NZZTlrUEE0b0hMOV9zaUs3Zk1QbDRub0tpaWRtRlg0Y0F1YndyY1ppcWVrVERLRGhNMDlvYjQ0aGhZeUVWRlVrbHM5R0VNUlpWdnY2NHB3TUtibUsifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ADpQIcybci6QYLd4dAY64zfGKjju31g0JMpvpvomjDBzp7-jzBIW8zAjobK9GBEd7K8rnpUhzx4KiDz520ViL4zQAGwxvlVewFdATZnnfXkOuRS6nh_a3S_eVZVf9BH8YXxjsa80vQvFz_4Sxy-jPs7xXjEOX2z2yfpIiisoscp75ZrD"} 100 993 100 993 0 0 155k 0 --:--:-- --:--:-- --:--:-- 161k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:14593 /tmp/tmp.eeamPn/adv + cfg='{"url":"http://localhost:14593","adv":"/tmp/tmp.eeamPn/adv"}' + DEV=/tmp/tmp.eeamPn/luks2-device + new_device luks2 /tmp/tmp.eeamPn/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.eeamPn/luks2-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' '!' -d /tmp/tmp.eeamPn ']' + tang_stop /tmp/tmp.eeamPn + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.eeamPn + '[' -z /tmp/tmp.eeamPn ']' + local pidfile=/tmp/tmp.eeamPn/tang.pid + '[' -f /tmp/tmp.eeamPn/tang.pid ']' + local pid + pid=38838 + kill -9 38838 + rm -rf /tmp/tmp.eeamPn /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/pass-tang-luks2: line 25: 38838 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 40/44 pin-test OK 0.07s ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + trap exit ERR ++ echo -n hi ++ clevis encrypt test '{}' + e=eyJhbGciOiJkaXIiLCJjbGV2aXMiOnsicGluIjoidGVzdCIsInRlc3QiOnsiandrIjp7ImFsZyI6IkEyNTZHQ00iLCJrIjoibnBQYkR2QUcyTWFGNEJoX01uTm9LVzcwT2J0U3h0VFJIM0pCdHhoNU1OVSIsImtleV9vcHMiOlsiZW5jcnlwdCIsImRlY3J5cHQiXSwia3R5Ijoib2N0In19fSwiZW5jIjoiQTI1NkdDTSJ9..s6z6u6gzVjHII56O.UPo.8uMR_X-IKTWTVYvu7l87zg ++ echo -n eyJhbGciOiJkaXIiLCJjbGV2aXMiOnsicGluIjoidGVzdCIsInRlc3QiOnsiandrIjp7ImFsZyI6IkEyNTZHQ00iLCJrIjoibnBQYkR2QUcyTWFGNEJoX01uTm9LVzcwT2J0U3h0VFJIM0pCdHhoNU1OVSIsImtleV9vcHMiOlsiZW5jcnlwdCIsImRlY3J5cHQiXSwia3R5Ijoib2N0In19fSwiZW5jIjoiQTI1NkdDTSJ9..s6z6u6gzVjHII56O.UPo.8uMR_X-IKTWTVYvu7l87zg ++ clevis decrypt + d=hi + test hi == hi ++ echo -n hi ++ clevis encrypt test '{"fail":true}' + e=eyJhbGciOiJkaXIiLCJjbGV2aXMiOnsicGluIjoidGVzdCIsInRlc3QiOnt9fSwiZW5jIjoiQTI1NkdDTSJ9..1930YbRd3IIDZk45.xmM.pGPq1oP0Oq3cmJqx00NZcQ + echo eyJhbGciOiJkaXIiLCJjbGV2aXMiOnsicGluIjoidGVzdCIsInRlc3QiOnt9fSwiZW5jIjoiQTI1NkdDTSJ9..1930YbRd3IIDZk45.xmM.pGPq1oP0Oq3cmJqx00NZcQ + clevis decrypt ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 41/44 pin-tang OK 0.50s ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + . tang-common-test-functions ++ SOCAT=/usr/bin/socat ++ TANGD_KEYGEN=/usr/libexec/tangd-keygen ++ TANGD_UPDATE= ++ TANGD=/usr/libexec/tangd + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.BmKfpK ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=45051 + tang_run /tmp/tmp.BmKfpK 45051 sig exc + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.BmKfpK + local port=45051 + local sig_name=sig + local exc_name=exc + '[' -z /tmp/tmp.BmKfpK ']' + '[' -z 45051 ']' + tang_new_keys /tmp/tmp.BmKfpK '' sig exc + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.BmKfpK + local rotate= + local sig_name=sig + local exc_name=exc + '[' -z /tmp/tmp.BmKfpK ']' + local db=/tmp/tmp.BmKfpK/db + mkdir -p /tmp/tmp.BmKfpK/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.BmKfpK/db sig exc Unable to change owner/group for /tmp/tmp.BmKfpK/db/sig.jwk to tang:tang Unable to change owner/group for /tmp/tmp.BmKfpK/db/exc.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.BmKfpK/cache + '[' -z '' ']' + KEYS=/tmp/tmp.BmKfpK/db + local pid pidfile + pidfile=/tmp/tmp.BmKfpK/tang.pid + pid=38877 + echo 38877 + tang_wait_until_ready 45051 + /usr/bin/socat -v -v TCP-LISTEN:45051,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.BmKfpK/db' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=45051 + '[' -z 45051 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:45051/adv > 2022/06/17 22:13:55.000439434 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:45051\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000443080 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFSdHA0b1ZmQkdLamRSQWd2a0tVcjJqX290SzdTZ3ZvQTRwNFpXbDJQUm9EYUc5MzNIZDV4Ny1PTTJaYllpNU1JUktCb2k0azQxMG1KSTlpNldsOG03LWMiLCAieSI6ICJBVGgybng4Rm03WUx3NFFveVU2QmJBbW9NSVNJdWRxSjhOWVNEVnFJTUN5cTE5WDhPdUlJQVdVYTNycUZ5N01sdDkyYWQ2czJTRjY0cGZFR3ZzVFJZMWhVIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUIwTkl0eXhucEFsQTB4ckI5eXoybHFhYUJoeWZPTWZjb3Q5THRUZFhzamlpTE9abzRMWjYtQjZUSTVadmpoY0NSMUVQbnEtZXJ1RjV5ZF9GUXZuT1BsSSIsICJ5IjogIkFYemIxaW5HMFAyd2dJMnhzZmJKclptcmI0cVQxN3dIOGtqa19GQ2xDVlg5Z1VnWkJVRWdSNmt2Q18xOVI2UDVUdUNiV2F2SG00VDc1UWRCenlpZ0ZoOHYifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AIdLRc9vZCUAm22TFinWuiMmXOIbmw_dI9kr7ygr-E17TvPAMYtn0bhyzPiirMljg5e9fOccnxtUnsITOJ7DivtiAd83zHaV8aHopgoP-km37rtznMco-9CKste_uwtJpfOkOZA_gX7LHSVNJjIUVU-bpViHpL2EgXg7uc6LD2tDAdW5"}++ jose jwk thp -i /tmp/tmp.BmKfpK/db/sig.jwk + thp=7uZA7b2BB89DGsqcE5soAclqckqRHmHrRjBkNMrS_nw + adv=/tmp/tmp.BmKfpK/adv.jws + tang_get_adv 45051 /tmp/tmp.BmKfpK/adv.jws + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=45051 + local adv=/tmp/tmp.BmKfpK/adv.jws + '[' -z 45051 ']' + curl -L -o /tmp/tmp.BmKfpK/adv.jws http://localhost:45051/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000452704 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:45051\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000456396 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFSdHA0b1ZmQkdLamRSQWd2a0tVcjJqX290SzdTZ3ZvQTRwNFpXbDJQUm9EYUc5MzNIZDV4Ny1PTTJaYllpNU1JUktCb2k0azQxMG1KSTlpNldsOG03LWMiLCAieSI6ICJBVGgybng4Rm03WUx3NFFveVU2QmJBbW9NSVNJdWRxSjhOWVNEVnFJTUN5cTE5WDhPdUlJQVdVYTNycUZ5N01sdDkyYWQ2czJTRjY0cGZFR3ZzVFJZMWhVIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUIwTkl0eXhucEFsQTB4ckI5eXoybHFhYUJoeWZPTWZjb3Q5THRUZFhzamlpTE9abzRMWjYtQjZUSTVadmpoY0NSMUVQbnEtZXJ1RjV5ZF9GUXZuT1BsSSIsICJ5IjogIkFYemIxaW5HMFAyd2dJMnhzZmJKclptcmI0cVQxN3dIOGtqa19GQ2xDVlg5Z1VnWkJVRWdSNmt2Q18xOVI2UDVUdUNiV2F2SG00VDc1UWRCenlpZ0ZoOHYifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ALnPXQk5VJVfdIfWYeyeehtQZHt4i-B68BluZdWhWHKvtIEnPl_H5gpcZNrKX_a-72p6vjmmcyIKQ1a1zOQqPnpLAT8eOa8GuDEGvnq9Cbrf83NzaPT4NtKEnGwoXk5PPOCnMDD17WUq0iZXQGplEu0WUldeUJNN6aCbaa3xOGIQIsG3"} 100 993 100 993 0 0 149k 0 --:--:-- --:--:-- --:--:-- 161k + url=http://localhost:45051 ++ printf '{"url":"%s","adv":"%s"}' http://localhost:45051 /tmp/tmp.BmKfpK/adv.jws + cfg='{"url":"http://localhost:45051","adv":"/tmp/tmp.BmKfpK/adv.jws"}' ++ echo -n hi ++ clevis encrypt tang '{"url":"http://localhost:45051","adv":"/tmp/tmp.BmKfpK/adv.jws"}' + enc=eyJhbGciOiJFQ0RILUVTIiwiY2xldmlzIjp7InBpbiI6InRhbmciLCJ0YW5nIjp7ImFkdiI6eyJrZXlzIjpbeyJhbGciOiJFUzUxMiIsImNydiI6IlAtNTIxIiwia2V5X29wcyI6WyJ2ZXJpZnkiXSwia3R5IjoiRUMiLCJ4IjoiQVJ0cDRvVmZCR0tqZFJBZ3ZrS1VyMmpfb3RLN1Nndm9BNHA0WldsMlBSb0RhRzkzM0hkNXg3LU9NMlpiWWk1TUlSS0JvaTRrNDEwbUpJOWk2V2w4bTctYyIsInkiOiJBVGgybng4Rm03WUx3NFFveVU2QmJBbW9NSVNJdWRxSjhOWVNEVnFJTUN5cTE5WDhPdUlJQVdVYTNycUZ5N01sdDkyYWQ2czJTRjY0cGZFR3ZzVFJZMWhVIn0seyJhbGciOiJFQ01SIiwiY3J2IjoiUC01MjEiLCJrZXlfb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sc0vWU HTTP/1.1\r Host: localhost:45051\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AaxgtAuUO72s8IzTOjKOL27Vmkb1KdS6vn3NWOFUdxtJXf8Vnm_9nN9bkKnVFF1lGt0i40LecB5QBizuUi0DPtlJ","y":"AHUDbyTDwSkk3afjkNpP0bqDCnvT3_5kvAxdMcba1sKPCXmMXr5lOfY9fKknvSc5dwaaCvq5NmPJ5TjKDxQuIN3f"} POST /rec/_eltJBHUX7PiN0uccSlZp52o05Mi4HY1VBnBwsc0vWU => 200 (../src/tangd.c:155) < 2022/06/17 22:13:55.000615622 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"APCnKAWF-zk-Rnuyo0pt6REZKx629d2ZLiZjx65Sm6RBTfGO2WoyC_MJvhQc9nAl7QHXD96cRipsG-Swo5DvkvVg","y":"AZznQfudvhVcGm6A_IbcEvkyugiqodSVrGPv7Z6773LSlQLnD89VW8t0ZVgL4-EDilIboanM2R9MDABgk4wP92mg"}+ dec=hi + test hi == hi ++ printf '{"url":"%s","thp":"%s"}' http://localhost:45051 7uZA7b2BB89DGsqcE5soAclqckqRHmHrRjBkNMrS_nw + cfg='{"url":"http://localhost:45051","thp":"7uZA7b2BB89DGsqcE5soAclqckqRHmHrRjBkNMrS_nw"}' ++ echo -n hi ++ clevis encrypt tang '{"url":"http://localhost:45051","thp":"7uZA7b2BB89DGsqcE5soAclqckqRHmHrRjBkNMrS_nw"}' > 2022/06/17 22:13:55.000680142 length=126 from=0 to=125 GET /adv/7uZA7b2BB89DGsqcE5soAclqckqRHmHrRjBkNMrS_nw HTTP/1.1\r Host: localhost:45051\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/7uZA7b2BB89DGsqcE5soAclqckqRHmHrRjBkNMrS_nw => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000690844 length=1349 from=0 to=1348 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 1271\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFSdHA0b1ZmQkdLamRSQWd2a0tVcjJqX290SzdTZ3ZvQTRwNFpXbDJQUm9EYUc5MzNIZDV4Ny1PTTJaYllpNU1JUktCb2k0azQxMG1KSTlpNldsOG03LWMiLCAieSI6ICJBVGgybng4Rm03WUx3NFFveVU2QmJBbW9NSVNJdWRxSjhOWVNEVnFJTUN5cTE5WDhPdUlJQVdVYTNycUZ5N01sdDkyYWQ2czJTRjY0cGZFR3ZzVFJZMWhVIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUIwTkl0eXhucEFsQTB4ckI5eXoybHFhYUJoeWZPTWZjb3Q5THRUZFhzamlpTE9abzRMWjYtQjZUSTVadmpoY0NSMUVQbnEtZXJ1RjV5ZF9GUXZuT1BsSSIsICJ5IjogIkFYemIxaW5HMFAyd2dJMnhzZmJKclptcmI0cVQxN3dIOGtqa19GQ2xDVlg5Z1VnWkJVRWdSNmt2Q18xOVI2UDVUdUNiV2F2SG00VDc1UWRCenlpZ0ZoOHYifV19", "signatures": [{"signature": "AZYjfhxDDlG_nxHfTDgeCD1dNcnbQNu4c0CSFdP_rfs6eaBAL5g_DW45TgKG29L5rq_eKKdtu2nAVCpNuEXjoy7YAIvqr8JQDZj06PSuzPQuy5w3eYlPvq00mc_kBQ6R0qVdyIRS7xxxRPJSWR6izYtULXPtwfa1NfvB9pU5A2ratGAf", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ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XlkX0ZRdm5PUGxJIiwieSI6IkFYemIxaW5HMFAyd2dJMnhzZmJKclptcmI0cVQxN3dIOGtqa19GQ2xDVlg5Z1VnWkJVRWdSNmt2Q18xOVI2UDVUdUNiV2F2SG00VDc1UWRCenlpZ0ZoOHYifV19LCJ1cmwiOiJodHRwOi8vbG9jYWxob3N0OjQ1MDUxIn19LCJlbmMiOiJBMjU2R0NNIiwiZXBrIjp7ImNydiI6IlAtNTIxIiwia3R5IjoiRUMiLCJ4IjoiQVR2X1ZQNWpfVFpmaHlEOVF0S0JKdkxEVEVWOVV5VG41RlgzcXNuTjA0MWZqc1VRXzk2TVdrS0JnYlo1djF5U3FMUGF6M19fMmE1LWM2UXNXWkdtbndfMCIsInkiOiJBZXAtbkNJemgzZnNWVFNXb0U3a253cFpLQVFBQVVVMVBQd2tCS2k4R1hoUTlwSnBCUVBPTmIyVnU4UkZ6Mlp5ZEttbnAtQVN4bkNSeXNKS2RhOUlsS0h5In0sImtpZCI6Il9lbHRKQkhVWDdQaU4wdWNjU2xacDUybzA1TWk0SFkxVkJuQndzYzB2V1UifQ..LJwXg6j2jKQQdwBF.yD8.S4LUnj7-oq3WkdA0qYp7Hg ++ clevis decrypt > 2022/06/17 22:13:55.000825025 length=414 from=0 to=413 POST /rec/_eltJBHUX7PiN0uccSlZp52o05Mi4HY1VBnBwsc0vWU HTTP/1.1\r Host: localhost:45051\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AQ1vmDwKAzzMxVfXI2808K_VRSlAAoAEdjF4AH1XEB_gaUJfdW-gKXOei7naYRxpkERhJZjtGMmE1JfH3x9-6ZK9","y":"AUs5m7R3SJqM4vid7ZW1nGhPKaCupVrUsiHpOTcVRnxE-9OPpuJe2VDB83m6CbUsaHnVr_p-CQxzg3WpxmgtzC1c"} POST /rec/_eltJBHUX7PiN0uccSlZp52o05Mi4HY1VBnBwsc0vWU => 200 (../src/tangd.c:155) < 2022/06/17 22:13:55.000833721 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"ABVISfFkblcFYuY2-oz0tDgpmVRNtD-Xp6R_KUehSGmux-Nvs5lwHk-J7EFAcrukyocws_ZF_F077LMDvwu7MFOD","y":"AXt008nXMuH9idnOXPao6ikG81C2K2NcBzs-tR2EA2lN7SVzv-HQ6R45jtLigjHvPO87aZs6YJhdB9Z3jSf5bM8Y"}+ dec=hi + test hi == hi + tang_stop /tmp/tmp.BmKfpK + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.BmKfpK + '[' -z /tmp/tmp.BmKfpK ']' + local pidfile=/tmp/tmp.BmKfpK/tang.pid + '[' -f /tmp/tmp.BmKfpK/tang.pid ']' + local pid + pid=38877 + kill -9 38877 + echo eyJhbGciOiJFQ0RILUVTIiwiY2xldmlzIjp7InBpbiI6InRhbmciLCJ0YW5nIjp7ImFkdiI6eyJrZXlzIjpbeyJhbGciOiJFUzUxMiIsImNydiI6IlAtNTIxIiwia2V5X29wcyI6WyJ2ZXJpZnkiXSwia3R5IjoiRUMiLCJ4IjoiQVJ0cDRvVmZCR0tqZFJBZ3ZrS1VyMmpfb3RLN1Nndm9BNHA0WldsMlBSb0RhRzkzM0hkNXg3LU9NMlpiWWk1TUlSS0JvaTRrNDEwbUpJOWk2V2w4bTctYyIsInkiOiJBVGgybng4Rm03WUx3NFFveVU2QmJBbW9NSVNJdWRxSjhOWVNEVnFJTUN5cTE5WDhPdUlJQVdVYTNycUZ5N01sdDkyYWQ2czJTRjY0cGZFR3ZzVFJZMWhVIn0seyJhbGciOiJFQ01SIiwiY3J2IjoiUC01MjEiLCJrZXlfb3BzIjpbImRlcml2ZUtleSJdLCJrdHkiOiJFQyIsIngiOiJBQjBOSXR5eG5wQWxBMHhyQjl5ejJscWFhQmh5Zk9NZmNvdDlMdFRkWHNqaWlMT1pvNExaNi1CNlRJNVp2amhjQ1IxRVBucS1lcnVGNXlkX0ZRdm5PUGxJIiwieSI6IkFYemIxaW5HMFAyd2dJMnhzZmJKclptcmI0cVQxN3dIOGtqa19GQ2xDVlg5Z1VnWkJVRWdSNmt2Q18xOVI2UDVUdUNiV2F2SG00VDc1UWRCenlpZ0ZoOHYifV19LCJ1cmwiOiJodHRwOi8vbG9jYWxob3N0OjQ1MDUxIn19LCJlbmMiOiJBMjU2R0NNIiwiZXBrIjp7ImNydiI6IlAtNTIxIiwia3R5IjoiRUMiLCJ4IjoiQVR2X1ZQNWpfVFpmaHlEOVF0S0JKdkxEVEVWOVV5VG41RlgzcXNuTjA0MWZqc1VRXzk2TVdrS0JnYlo1djF5U3FMUGF6M19fMmE1LWM2UXNXWkdtbndfMCIsInkiOiJBZXAtbkNJemgzZnNWVFNXb0U3a253cFpLQVFBQVVVMVBQd2tCS2k4R1hoUTlwSnBCUVBPTmIyVnU4UkZ6Mlp5ZEttbnAtQVN4bkNSeXNKS2RhOUlsS0h5In0sImtpZCI6Il9lbHRKQkhVWDdQaU4wdWNjU2xacDUybzA1TWk0SFkxVkJuQndzYzB2V1UifQ..LJwXg6j2jKQQdwBF.yD8.S4LUnj7-oq3WkdA0qYp7Hg + clevis decrypt Error communicating with the server! /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/tests/pin-tang: line 55: 38877 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" + on_exit + exit_status=0 + tang_stop /tmp/tmp.BmKfpK + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.BmKfpK + '[' -z /tmp/tmp.BmKfpK ']' + local pidfile=/tmp/tmp.BmKfpK/tang.pid + '[' -f /tmp/tmp.BmKfpK/tang.pid ']' + local pid + pid=38877 + kill -9 38877 + : + '[' -d /tmp/tmp.BmKfpK ']' + rm -rf /tmp/tmp.BmKfpK + exit 0 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 39/44 pin-sss OK 0.90s ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ echo hi ++ clevis encrypt sss '{"t":1,"pins":{"test":[{},{}]}}' + e=eyJhbGciOiJkaXIiLCJjbGV2aXMiOnsicGluIjoic3NzIiwic3NzIjp7Imp3ZSI6WyJleUpoYkdjaU9pSmthWElpTENKamJHVjJhWE1pT25zaWNHbHVJam9pZEdWemRDSXNJblJsYzNRaU9uc2lhbmRySWpwN0ltRnNaeUk2SWtFeU5UWkhRMDBpTENKcklqb2lORk5JWlZBeGVFOXNTemM0VmxCcFVFdDNSbE5KT1VWVlRHSmZiRmxrTFZWaFIyWlFjbWxUZGtvelp5SXNJbXRsZVY5dmNITWlPbHNpWlc1amNubHdkQ0lzSW1SbFkzSjVjSFFpWFN3aWEzUjVJam9pYjJOMEluMTlmU3dpWlc1aklqb2lRVEkxTmtkRFRTSjkuLlVLTXM5cnJ1dkN6R3NkMlYuMV9veGo0ZWFJT2M1elZHc1pFeEpCck90a0dPZ0ZDVC0zLWNUWG9xRHhsSG5GRVB3YVBjZktzaXhWdDNsclozdWtCZ0p2aEJDQl9va2lSVDh4WEFWZncuY3FBRDR4OHZHYVZPVm9LZGtrS3RxdyIsImV5SmhiR2NpT2lKa2FYSWlMQ0pqYkdWMmFYTWlPbnNpY0dsdUlqb2lkR1Z6ZENJc0luUmxjM1FpT25zaWFuZHJJanA3SW1Gc1p5STZJa0V5TlRaSFEwMGlMQ0pySWpvaVpTMWtjSGRyYlhKNVJ6TkdNV2hEVFhscWFXMU1jMEUzYmtwT2VucG1NVWhDWXpSRFNGazJOMGhGTkNJc0ltdGxlVjl2Y0hNaU9sc2laVzVqY25sd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HJqQnFRN0lSOWZNZyIsImV5SmhiR2NpT2lKa2FYSWlMQ0pqYkdWMmFYTWlPbnNpY0dsdUlqb2lkR1Z6ZENJc0luUmxjM1FpT250OWZTd2laVzVqSWpvaVFUSTFOa2REVFNKOS4ubnd2cXFFcU12V0swRXBVYy5fdHVYenFwVHlBUnNNY2hveHhrRjF2T3hoQnhqRExtUW5fMDRJYW94U25SNEotb2dxT1NSaWdXV1pVY1dXQzNtdFZKa0RydGRjdzF4RS1vZkVQb2NCQS53MVRVQ0taR2J4cEMzbmI1WWwwNXVBIl0sInAiOiI3R3dIT24yS2s2a3NRTlBycDNnNU9fQjR0OVYwX1RDaThPSlJ1SmU4YU1NIiwidCI6MX19LCJlbmMiOiJBMjU2R0NNIn0..CYA6DdKVMAAuTb6n.Fd43.ZuTp63HdPpS9awRJ9njYMg ++ clevis decrypt + d=hi + test hi == hi ++ echo hi ++ clevis encrypt sss '{"t":1,"pins":{"test":[{"fail":true},{"fail":true}]}}' + e=eyJhbGciOiJkaXIiLCJjbGV2aXMiOnsicGluIjoic3NzIiwic3NzIjp7Imp3ZSI6WyJleUpoYkdjaU9pSmthWElpTENKamJHVjJhWE1pT25zaWNHbHVJam9pZEdWemRDSXNJblJsYzNRaU9udDlmU3dpWlc1aklqb2lRVEkxTmtkRFRTSjkuLjFPWUYxUmhqRTNjak1ISHguTHZLcjQ1Ym1oa3RmWEd0SEZha1ZWNGRoRERVRmNJQVJhWFJQLXBxeXV6ankwd3RZUDVyVGpmbnJkMDQybXBPdWYycXpucG03WnprdXYyd3hXM1FRbncuaFFCQWxKNkxjWjVpRjNIN04yYlFOQSIsImV5SmhiR2NpT2lKa2FYSWlMQ0pqYkdWMmFYTWlPbnNpY0dsdUlqb2lkR1Z6ZENJc0luUmxjM1FpT250OWZTd2laVzVqSWpvaVFUSTFOa2REVFNKOS4uMk9Jd0pZWm5RWmQzbDlRcC4yekE1RXNyaWxXMVljM2R3Tm85Z3RpbkpoWC1qN192c0FhZjU2cnR2U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XIiLCJjbGV2aXMiOnsicGluIjoic3NzIiwic3NzIjp7Imp3ZSI6WyJleUpoYkdjaU9pSmthWElpTENKamJHVjJhWE1pT25zaWNHbHVJam9pZEdWemRDSXNJblJsYzNRaU9udDlmU3dpWlc1aklqb2lRVEkxTmtkRFRTSjkuLnctRlVHNG40UnBZazR4emcuSFBPbE5GUHFQaVcwQWtTMzZKNXJrSW5Hd3F3ZC1MUlM5YWNxNkFSWE1yWVptTHl5aUljMDdYWEFRbXlhVmg4Q2tWZGY1OW9HODcxMlQzTHNFSVh2UWcudTk4MUtiWFBIVk4zeUtfbGZIT291ZyIsImV5SmhiR2NpT2lKa2FYSWlMQ0pqYkdWMmFYTWlPbnNpY0dsdUlqb2lkR1Z6ZENJc0luUmxjM1FpT250OWZTd2laVzVqSWpvaVFUSTFOa2REVFNKOS4uTFlLMzZRVEN4dDVVSGYyQy5JdEtxeWlCZnc4UG1iZG5fMTlDTlZYeWV1RkJKWlkzb0tSZFhjYmhVV2pjZE9PRk1MUzhTbl9DOVJTaGlwdkhEZHNxVV93Y25CU0h4NHpOTWpqWXJDUS44YmkzRnVrWU45Ty1iWkhtXzROcEhRIl0sInAiOiJ3c2lXeUNiZWtmQXdMelBaUHcxZG4wbndnbzJubllZcllEc1RUS0R6dHZjIiwidCI6Mn19LCJlbmMiOiJBMjU2R0NNIn0..t4DL2-XGT7v3rgcT.vxKw.XpxSdFvz7Y89oCjuGEGAsA + clevis decrypt ++ echo hi ++ clevis encrypt sss '{"t":1,"pins":{"tang":[{"url":"foo bar"}]}}' Unable to fetch advertisement: 'foo bar/adv/'! + e= ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 43/44 default-thp-alg OK 1.03s ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + . tang-common-test-functions ++ SOCAT=/usr/bin/socat ++ TANGD_KEYGEN=/usr/libexec/tangd-keygen ++ TANGD_UPDATE= ++ TANGD=/usr/libexec/tangd ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/tests/default-thp-alg + TEST=default-thp-alg + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.bmfGOp ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=60159 + tang_run /tmp/tmp.bmfGOp 60159 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.bmfGOp + local port=60159 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.bmfGOp ']' + '[' -z 60159 ']' + tang_new_keys /tmp/tmp.bmfGOp '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.bmfGOp + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.bmfGOp ']' + local db=/tmp/tmp.bmfGOp/db + mkdir -p /tmp/tmp.bmfGOp/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.bmfGOp/db Unable to change owner/group for /tmp/tmp.bmfGOp/db/-RHhNUXhsqe92ik69EqketawhbjK3AQMiEswVWW5ps8.jwk to tang:tang Unable to change owner/group for /tmp/tmp.bmfGOp/db/LkZURmVqqiqEV2TmnrosLIM-QZ48xZgiAIoIgil8q0E.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.bmfGOp/cache + '[' -z '' ']' + KEYS=/tmp/tmp.bmfGOp/db + local pid pidfile + pidfile=/tmp/tmp.bmfGOp/tang.pid + pid=38948 + echo 38948 + /usr/bin/socat -v -v TCP-LISTEN:60159,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.bmfGOp/db' + tang_wait_until_ready 60159 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=60159 + '[' -z 60159 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:60159/adv > 2022/06/17 22:13:55.000453772 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:60159\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000458397 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFPZXZoRlMxZTdlem1hMGdubGZkN2pwV0xsaWZrT2VNRnE1a3o3ZlFHaDVzMlpRQy1HMzBNV29xNFBRQXloSjFBbXFpamUyVG5qRk1sLXhMZ2FyWGMxUDYiLCAieSI6ICJBU1RJRzdtSTYzMEZPLVpHVWdnVS0wNHBkSEI3VWpsQ2xRcVRUeE9xdVFobVg1bzlpT0ZWRjJoSkdqY00wVUVhRGtSckVIRnNjYVFDejRJSi12X2dVbFFYIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUsyVFY3WHFCTlIwcTd6U0pWMnFja0tEbjVfTUM5azhnT3ZzUURsWVV5VVlJZWQ4YlA2MDZyQnhGTF81cnJ2eEdnUXlHa051R0sxOTBUOW4ycVVLTHZWcyIsICJ5IjogIkFGbW5jSnFoRHBKbVFFNVdnbVJnSTNSVVNQZWxpcmxJNmZRTDJrSjc0cF92RGxqNk9mX2l3WG9XVXNuMHFCREQ4YXJ3M0tvSnV6Z2hCYm5icWkydEtQNjMifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AIDxwrVHVBKZKsknex7d8mV9ixUDPmwg25PNvlH7epUYy9-UUeFbXLNrFi5v9j84pfxRl-FHE5vt5c0ftbecHp-6AV0kVuSRmxL89cSNPYD3mqG3r4fLlGc0xHlAn94gRJxOIFjrDXXgjFPOvQHSNsLwgMPplZI9YoS7cABv3gnmYEsO"}+ url=http://localhost:60159 + data='just a sample text' ++ tang_get_adv 60159 ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ local port=60159 ++ local adv=/dev/stdout ++ '[' -z 60159 ']' ++ curl -L -o /dev/stdout http://localhost:60159/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:13:55.000465951 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:60159\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000470768 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFPZXZoRlMxZTdlem1hMGdubGZkN2pwV0xsaWZrT2VNRnE1a3o3ZlFHaDVzMlpRQy1HMzBNV29xNFBRQXloSjFBbXFpamUyVG5qRk1sLXhMZ2FyWGMxUDYiLCAieSI6ICJBU1RJRzdtSTYzMEZPLVpHVWdnVS0wNHBkSEI3VWpsQ2xRcVRUeE9xdVFobVg1bzlpT0ZWRjJoSkdqY00wVUVhRGtSckVIRnNjYVFDejRJSi12X2dVbFFYIn0sIH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Q4YlA2MDZyQnhGTF81cnJ2eEdnUXlHa051R0sxOTBUOW4ycVVLTHZWcyIsICJ5IjogIkFGbW5jSnFoRHBKbVFFNVdnbVJnSTNSVVNQZWxpcmxJNmZRTDJrSjc0cF92RGxqNk9mX2l3WG9XVXNuMHFCREQ4YXJ3M0tvSnV6Z2hCYm5icWkydEtQNjMifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AIS1CCjPot3tnJpMcvdiP-5-WBmSU_1xmqjn0l4RT4t0MYluSGEIYMdaVKjrAKFQxBmIPslV_olJoBK9nX8f8XknAMXYSSzeTP-LNyOstBkKBeKV29-Zg5G9YUrBbNfOiPGsf9p8vldnqNKq_krx6C9iA-T80H2UM1URf4oBdg7UGV47"}' --get payload --b64load --output=- + jwks='{"keys":[{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AOevhFS1e7ezma0gnlfd7jpWLlifkOeMFq5kz7fQGh5s2ZQC-G30MWoq4PQAyhJ1Amqije2TnjFMl-xLgarXc1P6","y":"ASTIG7mI630FO-ZGUggU-04pdHB7UjlClQqTTxOquQhmX5o9iOFVF2hJGjcM0UEaDkRrEHFscaQCz4IJ-v_gUlQX"},{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}]}' ++ printf %s '{"keys":[{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AOevhFS1e7ezma0gnlfd7jpWLlifkOeMFq5kz7fQGh5s2ZQC-G30MWoq4PQAyhJ1Amqije2TnjFMl-xLgarXc1P6","y":"ASTIG7mI630FO-ZGUggU-04pdHB7UjlClQqTTxOquQhmX5o9iOFVF2hJGjcM0UEaDkRrEHFscaQCz4IJ-v_gUlQX"},{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}]}' ++ jose jwk use --input=- --required --use deriveKey --output=- + enc='{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}' + jose fmt '--json={"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}' --get keys --array ++ printf '{"keys": [%s]}' '{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}' + enc='{"keys": [{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}]}' ++ jose fmt '--json={"keys": [{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}]}' --get keys --array --foreach=- ++ jose fmt --json=- --delete key_ops --delete alg --output=- + jwk='{"crv":"P-521","kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}' + jwe_t='{"protected":{"alg":"ECDH-ES","enc":"A256GCM","clevis":{"pin":"tang","tang":{}}}}' ++ jose fmt '--json={"protected":{"alg":"ECDH-ES","enc":"A256GCM","clevis":{"pin":"tang","tang":{}}}}' --get protected --get clevis --get tang --quote http://localhost:60159 --set url -UUUUo- + jwe_t='{"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"url":"http://localhost:60159"}},"enc":"A256GCM"}}' ++ printf %s '{"keys":[{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AOevhFS1e7ezma0gnlfd7jpWLlifkOeMFq5kz7fQGh5s2ZQC-G30MWoq4PQAyhJ1Amqije2TnjFMl-xLgarXc1P6","y":"ASTIG7mI630FO-ZGUggU-04pdHB7UjlClQqTTxOquQhmX5o9iOFVF2hJGjcM0UEaDkRrEHFscaQCz4IJ-v_gUlQX"},{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}]}' ++ jose fmt '--json={"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"url":"http://localhost:60159"}},"enc":"A256GCM"}}' --get protected --get clevis --get tang --json=- --set adv -UUUUo- + jwe_t='{"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"adv":{"keys":[{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AOevhFS1e7ezma0gnlfd7jpWLlifkOeMFq5kz7fQGh5s2ZQC-G30MWoq4PQAyhJ1Amqije2TnjFMl-xLgarXc1P6","y":"ASTIG7mI630FO-ZGUggU-04pdHB7UjlClQqTTxOquQhmX5o9iOFVF2hJGjcM0UEaDkRrEHFscaQCz4IJ-v_gUlQX"},{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}]},"url":"http://localhost:60159"}},"enc":"A256GCM"}}' + CLEVIS_SUPPORTED_THP_ALGS='S1 S256' + for alg in ${CLEVIS_SUPPORTED_THP_ALGS} ++ printf %s '{"crv":"P-521","kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}' ++ jose jwk thp -a S1 --input=- + kid=y1YWjsL_WQw1xCESaJEEFRkxZaI ++ jose fmt '--json={"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"adv":{"keys":[{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AOevhFS1e7ezma0gnlfd7jpWLlifkOeMFq5kz7fQGh5s2ZQC-G30MWoq4PQAyhJ1Amqije2TnjFMl-xLgarXc1P6","y":"ASTIG7mI630FO-ZGUggU-04pdHB7UjlClQqTTxOquQhmX5o9iOFVF2hJGjcM0UEaDkRrEHFscaQCz4IJ-v_gUlQX"},{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}]},"url":"http://localhost:60159"}},"enc":"A256GCM"}}' --get protected --quote y1YWjsL_WQw1xCESaJEEFRkxZaI -s kid -UUo- + jwe='{"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"adv":{"keys":[{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AOevhFS1e7ezma0gnlfd7jpWLlifkOeMFq5kz7fQGh5s2ZQC-G30MWoq4PQAyhJ1Amqije2TnjFMl-xLgarXc1P6","y":"ASTIG7mI630FO-ZGUggU-04pdHB7UjlClQqTTxOquQhmX5o9iOFVF2hJGjcM0UEaDkRrEHFscaQCz4IJ-v_gUlQX"},{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}]},"url":"http://localhost:60159"}},"enc":"A256GCM","kid":"y1YWjsL_WQw1xCESaJEEFRkxZaI"}}' ++ printf %s%s '{"crv":"P-521","kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}' 'just a sample text' ++ jose jwe enc '--input={"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"adv":{"keys":[{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AOevhFS1e7ezma0gnlfd7jpWLlifkOeMFq5kz7fQGh5s2ZQC-G30MWoq4PQAyhJ1Amqije2TnjFMl-xLgarXc1P6","y":"ASTIG7mI630FO-ZGUggU-04pdHB7UjlClQqTTxOquQhmX5o9iOFVF2hJGjcM0UEaDkRrEHFscaQCz4IJ-v_gUlQX"},{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}]},"url":"http://localhost:60159"}},"enc":"A256GCM","kid":"y1YWjsL_WQw1xCESaJEEFRkxZaI"}}' --key=- --detached=- --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IjoiRUMiLCJ4IjoiQU51WjZHYTI5dTVtb1RPcVFvMkVLMzE0S2EwX0lhb2F3RU9PSkJLRzBFU3dvWS1LY2lUNGFBamxacm84bFZwamJwYmM4VFZyZm1OYkpucUxRZ01NcGoyeiIsInkiOiJBWFhmLWpvZDFIbE9DZ3NlbkphSzlCMFQ5QzN3aUc2VmVTX0Nqdi1tNlhPZXZVXzlKcG1pNU5Cd2RRNmRTX241Vi11TXBOVE9mT0FYb2huY01yUXY5Y0ZiIn0sImtpZCI6InkxWVdqc0xfV1F3MXhDRVNhSkVFRlJreFphSSJ9..3gc5K5BdLXr44pmJ.7Vv0ooZG-ygB9ptc7siD69vA.6CNV6KmyVVNf5TSkPr2awQ WARNING: tang using a deprecated hash for the JWK thumbprints > 2022/06/17 22:13:55.000593992 length=398 from=0 to=397 POST /rec/y1YWjsL_WQw1xCESaJEEFRkxZaI HTTP/1.1\r Host: localhost:60159\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"ABGY5XhyWcKBbMvjDiP8Y4zxanL8oXLNRxUazXDWLNp5Ik7UEROsovl8VLfHZ3YzSgciQB8dncGyuDtWT7l4d5F0","y":"Aco0OJOzUpez9pdBCKqxI9onZZYXjXyqMzW8SJAFGomgyB3-9F-74cPjsLWzYpmMhRtZNjhXlIlL0Tq06VbJpkrv"} POST /rec/y1YWjsL_WQw1xCESaJEEFRkxZaI => 200 (../src/tangd.c:155) < 2022/06/17 22:13:55.000600478 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AcVFDlMiSi-DHlojMT8sbVz-uOjk6IJLLzfbLHKuzV9Lf12yToN-LqgAC4mxZQPNIr60BMADS_Vjq0_CUBnv08Nv","y":"AfdlKj8OSa9eclIjlmykmnZ-SUDrR00kjga6LKWUARHzrZUKTsAgGYg6oMElntJTIwhwAaoCFGsms9Fo6yJXPr6P"}+ decoded='just a sample text' + '[' 'just a sample text' '!=' 'just a sample text' ']' + for alg in ${CLEVIS_SUPPORTED_THP_ALGS} ++ printf %s '{"crv":"P-521","kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}' ++ jose jwk thp -a S256 --input=- + kid=LkZURmVqqiqEV2TmnrosLIM-QZ48xZgiAIoIgil8q0E ++ jose fmt '--json={"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"adv":{"keys":[{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AOevhFS1e7ezma0gnlfd7jpWLlifkOeMFq5kz7fQGh5s2ZQC-G30MWoq4PQAyhJ1Amqije2TnjFMl-xLgarXc1P6","y":"ASTIG7mI630FO-ZGUggU-04pdHB7UjlClQqTTxOquQhmX5o9iOFVF2hJGjcM0UEaDkRrEHFscaQCz4IJ-v_gUlQX"},{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}]},"url":"http://localhost:60159"}},"enc":"A256GCM"}}' --get protected --quote LkZURmVqqiqEV2TmnrosLIM-QZ48xZgiAIoIgil8q0E -s kid -UUo- + jwe='{"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"adv":{"keys":[{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AOevhFS1e7ezma0gnlfd7jpWLlifkOeMFq5kz7fQGh5s2ZQC-G30MWoq4PQAyhJ1Amqije2TnjFMl-xLgarXc1P6","y":"ASTIG7mI630FO-ZGUggU-04pdHB7UjlClQqTTxOquQhmX5o9iOFVF2hJGjcM0UEaDkRrEHFscaQCz4IJ-v_gUlQX"},{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}]},"url":"http://localhost:60159"}},"enc":"A256GCM","kid":"LkZURmVqqiqEV2TmnrosLIM-QZ48xZgiAIoIgil8q0E"}}' ++ printf %s%s '{"crv":"P-521","kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8gOvsQDlYUyUYIed8bP606rBxFL_5rrvxGgQyGkNuGK190T9n2qUKLvVs","y":"AFmncJqhDpJmQE5WgmRgI3RUSPelirlI6fQL2kJ74p_vDlj6Of_iwXoWUsn0qBDD8arw3KoJuzghBbnbqi2tKP63"}' 'just a sample text' ++ jose jwe enc '--input={"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"adv":{"keys":[{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AOevhFS1e7ezma0gnlfd7jpWLlifkOeMFq5kz7fQGh5s2ZQC-G30MWoq4PQAyhJ1Amqije2TnjFMl-xLgarXc1P6","y":"ASTIG7mI630FO-ZGUggU-04pdHB7UjlClQqTTxOquQhmX5o9iOFVF2hJGjcM0UEaDkRrEHFscaQCz4IJ-v_gUlQX"},{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AK2TV7XqBNR0q7zSJV2qckKDn5_MC9k8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dlZzIiwieSI6IkFGbW5jSnFoRHBKbVFFNVdnbVJnSTNSVVNQZWxpcmxJNmZRTDJrSjc0cF92RGxqNk9mX2l3WG9XVXNuMHFCREQ4YXJ3M0tvSnV6Z2hCYm5icWkydEtQNjMifV19LCJ1cmwiOiJodHRwOi8vbG9jYWxob3N0OjYwMTU5In19LCJlbmMiOiJBMjU2R0NNIiwiZXBrIjp7ImNydiI6IlAtNTIxIiwia3R5IjoiRUMiLCJ4IjoiQWQxb202eFdGNEdjbHlPdG5neF82Z29SclktSmFBQXZySnNfSnhDMGRhWmxCWU9laWFMNjYtRHZzdUEtWlVvSjR3VXlTcG01eGdUeENtaDMySUdOV2JwbSIsInkiOiJBUWxGc1NlTlZnaDVTMGtwSjVObUFWUXVSVDhtZUVkSXNEMWVDdjg4M1N6M3RJQ04wSWp1NmNlS0NWQ0tKRXN5a0tENzhwYURoanRlLUdrbnBlTC1KY3pzIn0sImtpZCI6IkxrWlVSbVZxcWlxRVYyVG1ucm9zTElNLVFaNDh4WmdpQUlvSWdpbDhxMEUifQ..AiObEz-iPoJb1gy9.ELVM6lyxN3y5XZz08xq3k-_S.D40iD46pyw9S2fAM5wnrlQ ++ clevis decrypt > 2022/06/17 22:13:55.000710657 length=414 from=0 to=413 POST /rec/LkZURmVqqiqEV2TmnrosLIM-QZ48xZgiAIoIgil8q0E HTTP/1.1\r Host: localhost:60159\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AVK_Jhzf5Lz7RPFrbgkcJfzWp4b_UrSiJg1uqlLvIQGSRD2YmPwwb0EEqOHUzmdunu1uX2kHZzK-jtHEwyUmLGQi","y":"AYG57cqsc4yuCC8RHZLk8fr5i3pHtn9eziM9ZYWOL4yV60D96N7aJYTkFI9bC2ajrAEixdzCaQMgOYItnwxiNBq1"} POST /rec/LkZURmVqqiqEV2TmnrosLIM-QZ48xZgiAIoIgil8q0E => 200 (../src/tangd.c:155) < 2022/06/17 22:13:55.000719646 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AL9u6Mi4yoCf9hGaEmV8ojW2aG6B3p3u7QJruP7Y4hukmPN4jl-nL4PdP6lm_YIhWs4KzddpOf7jRI8w_zWrEvmh","y":"AeGieFONZI2-9wHqPa7qx81D7Iicuk2Y-FIBBdyfOs9KVBHaibBS7oLDY29rIcpXX9krb8gc_iwGjsr3QSLvKefg"}+ decoded='just a sample text' + '[' 'just a sample text' '!=' 'just a sample text' ']' + data='just another test' + for alg in ${CLEVIS_SUPPORTED_THP_ALGS} ++ jose fmt '--json={"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFPZXZoRlMxZTdlem1hMGdubGZkN2pwV0xsaWZrT2VNRnE1a3o3ZlFHaDVzMlpRQy1HMzBNV29xNFBRQXloSjFBbXFpamUyVG5qRk1sLXhMZ2FyWGMxUDYiLCAieSI6ICJBU1RJRzdtSTYzMEZPLVpHVWdnVS0wNHBkSEI3VWpsQ2xRcVRUeE9xdVFobVg1bzlpT0ZWRjJoSkdqY00wVUVhRGtSckVIRnNjYVFDejRJSi12X2dVbFFYIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUsyVFY3WHFCTlIwcTd6U0pWMnFja0tEbjVfTUM5azhnT3ZzUURsWVV5VVlJZWQ4YlA2MDZyQnhGTF81cnJ2eEdnUXlHa051R0sxOTBUOW4ycVVLTHZWcyIsICJ5IjogIkFGbW5jSnFoRHBKbVFFNVdnbVJnSTNSVVNQZWxpcmxJNmZRTDJrSjc0cF92RGxqNk9mX2l3WG9XVXNuMHFCREQ4YXJ3M0tvSnV6Z2hCYm5icWkydEtQNjMifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AIS1CCjPot3tnJpMcvdiP-5-WBmSU_1xmqjn0l4RT4t0MYluSGEIYMdaVKjrAKFQxBmIPslV_olJoBK9nX8f8XknAMXYSSzeTP-LNyOstBkKBeKV29-Zg5G9YUrBbNfOiPGsf9p8vldnqNKq_krx6C9iA-T80H2UM1URf4oBdg7UGV47"}' -g payload -y -o- ++ jose jwk use -i- -r -u verify -o- ++ jose jwk thp -i- -a S1 + thp=rDRz6VW-nQL_0ckzUUzUORt2Q4k ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:60159 rDRz6VW-nQL_0ckzUUzUORt2Q4k + cfg='{"url":"http://localhost:60159", "thp":"rDRz6VW-nQL_0ckzUUzUORt2Q4k"}' ++ printf %s 'just another test' ++ clevis encrypt tang '{"url":"http://localhost:60159", "thp":"rDRz6VW-nQL_0ckzUUzUORt2Q4k"}' > 2022/06/17 22:13:55.000791883 length=110 from=0 to=109 GET /adv/rDRz6VW-nQL_0ckzUUzUORt2Q4k HTTP/1.1\r Host: localhost:60159\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/rDRz6VW-nQL_0ckzUUzUORt2Q4k => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000800054 length=1349 from=0 to=1348 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 1271\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFPZXZoRlMxZTdlem1hMGdubGZkN2pwV0xsaWZrT2VNRnE1a3o3ZlFHaDVzMlpRQy1HMzBNV29xNFBRQXloSjFBbXFpamUyVG5qRk1sLXhMZ2FyWGMxUDYiLCAieSI6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UZUUzFzVW9zNHlzb2JYTFRWbmtPX0RoQUpMMkxGbnF0SSIsInkiOiJBVnVBd25HbVJ1c1ZYYjNqalE0SnRqSWJBaG5hbmFTSi00QXdPU1FWbVBrX1RzSmQzeE1kMVdZZzE0cFpBMkxWa2g5ZGhVX014VlZXVTVEU3dIRFdZZEw0In0sImtpZCI6IkxrWlVSbVZxcWlxRVYyVG1ucm9zTElNLVFaNDh4WmdpQUlvSWdpbDhxMEUifQ..HQ6av8SPy5ie2Pv5.48lTM9hZzmA9OjAyVlmOdnk.vEBDke4TArEkyLFGEwUPJAclevis decrypt > 2022/06/17 22:13:55.000909813 length=414 from=0 to=413 POST /rec/LkZURmVqqiqEV2TmnrosLIM-QZ48xZgiAIoIgil8q0E HTTP/1.1\r Host: localhost:60159\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"ADuJ13wfHaENhF07QfTxWtK42udLRDViQzlv_bbfIR3JWt3eFfF0uJGZErTQ6IRXuTbqRiU8FR0pFqjmbodl5_ST","y":"AYR8txI8cJpYql3tzeqsz9NkmuhHpO4QWSwxvfRUlg2FCs_pAdtNdC3-h1X1GvLU6O1wTdn1kY7g6_vKpFVCp2kq"} POST /rec/LkZURmVqqiqEV2TmnrosLIM-QZ48xZgiAIoIgil8q0E => 200 (../src/tangd.c:155) < 2022/06/17 22:13:55.000915295 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"ACmEnNMSHHmU1Bddmqb5HD2e4tK-Ar7vzVEia0AlSo_g45RrKSclHLvFbg58EEYGxcZMKLIv2I5HskOVW0__wlpK","y":"ACVMh8Bdk6VlW68lGejuC_TOiT6lmE_aFZZtS-niihA0YN5bUW8jBx2gdqHngS6g92Sf2OrF78B_fvzvGLKg9Mcd"}+ decoded='just another test' + '[' 'just another test' '!=' 'just another test' ']' + for alg in ${CLEVIS_SUPPORTED_THP_ALGS} ++ jose fmt '--json={"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFPZXZoRlMxZTdlem1hMGdubGZkN2pwV0xsaWZrT2VNRnE1a3o3ZlFHaDVzMlpRQy1HMzBNV29xNFBRQXloSjFBbXFpamUyVG5qRk1sLXhMZ2FyWGMxUDYiLCAieSI6ICJBU1RJRzdtSTYzMEZPLVpHVWdnVS0wNHBkSEI3VWpsQ2xRcVRUeE9xdVFobVg1bzlpT0ZWRjJoSkdqY00wVUVhRGtSckVIRnNjYVFDejRJSi12X2dVbFFYIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUsyVFY3WHFCTlIwcTd6U0pWMnFja0tEbjVfTUM5azhnT3ZzUURsWVV5VVlJZWQ4YlA2MDZyQnhGTF81cnJ2eEdnUXlHa051R0sxOTBUOW4ycVVLTHZWcyIsICJ5IjogIkFGbW5jSnFoRHBKbVFFNVdnbVJnSTNSVVNQZWxpcmxJNmZRTDJrSjc0cF92RGxqNk9mX2l3WG9XVXNuMHFCREQ4YXJ3M0tvSnV6Z2hCYm5icWkydEtQNjMifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AIS1CCjPot3tnJpMcvdiP-5-WBmSU_1xmqjn0l4RT4t0MYluSGEIYMdaVKjrAKFQxBmIPslV_olJoBK9nX8f8XknAMXYSSzeTP-LNyOstBkKBeKV29-Zg5G9YUrBbNfOiPGsf9p8vldnqNKq_krx6C9iA-T80H2UM1URf4oBdg7UGV47"}' -g payload -y -o- ++ jose jwk use -i- -r -u verify -o- ++ jose jwk thp -i- -a S256 + thp=-RHhNUXhsqe92ik69EqketawhbjK3AQMiEswVWW5ps8 ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:60159 -RHhNUXhsqe92ik69EqketawhbjK3AQMiEswVWW5ps8 + cfg='{"url":"http://localhost:60159", "thp":"-RHhNUXhsqe92ik69EqketawhbjK3AQMiEswVWW5ps8"}' ++ printf %s 'just another test' ++ clevis encrypt tang '{"url":"http://localhost:60159", "thp":"-RHhNUXhsqe92ik69EqketawhbjK3AQMiEswVWW5ps8"}' > 2022/06/17 22:13:55.000970107 length=126 from=0 to=125 GET /adv/-RHhNUXhsqe92ik69EqketawhbjK3AQMiEswVWW5ps8 HTTP/1.1\r Host: localhost:60159\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/-RHhNUXhsqe92ik69EqketawhbjK3AQMiEswVWW5ps8 => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000975901 length=1349 from=0 to=1348 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 1271\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFPZXZoRlMxZTdlem1hMGdubGZkN2pwV0xsaWZrT2VNRnE1a3o3ZlFHaDVzMlpRQy1HMzBNV29xNFBRQXloSjFBbXFpamUyVG5qRk1sLXhMZ2FyWGMxUDYiLCAieSI6ICJBU1RJRzdtSTYzMEZPLVpHVWdnVS0wNHBkSEI3VWpsQ2xRcVRUeE9xdVFobVg1bzlpT0ZWRjJoSkdqY00wVUVhRGtSckVIRnNjYVFDejRJSi12X2dVbFFYIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUsyVFY3WHFCTlIwcTd6U0pWMnFja0tEbjVfTUM5azhnT3ZzU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g.wBJ3BB22TqjzxNfEiOfQzA ++ clevis decrypt > 2022/06/17 22:13:56.000071203 length=414 from=0 to=413 POST /rec/LkZURmVqqiqEV2TmnrosLIM-QZ48xZgiAIoIgil8q0E HTTP/1.1\r Host: localhost:60159\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"ACt2rQ3MKdS9foJSlpeEMqtnke6FdruB3PfacBetXgOVQB9YpnzXV9G1mmeIXM7kFqHCZUM8Ko_PCG2K0aFGccrw","y":"ActrUpLlu5xtwBoNi5GIyJlGIGWgWZ627u9vPMM0h8TGLUm_57u-OM2hGlyQne8ksiCwU0S_hbfG74FmQn6UrbUW"} POST /rec/LkZURmVqqiqEV2TmnrosLIM-QZ48xZgiAIoIgil8q0E => 200 (../src/tangd.c:155) < 2022/06/17 22:13:56.000076054 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AIlxcpODoBLhzp31h5v_jzmVk2KBPaXNHfX4I2S9c1KsMKyZS9gmfzqjdChZy8bccySs7weiw74Uju-6IFsT3yf3","y":"ACxjcUfQ10293U8dKTOAPCn3JPbxviccFJpCPTQpCcg0f3RJ9T3uWAdaFK_bZVCr3Ik4yKPPAV51t4T5NWjsbQCE"}+ decoded='just another test' + '[' 'just another test' '!=' 'just another test' ']' + UNSUPPORTED='S224 S384 S512' + for alg in ${UNSUPPORTED} ++ ++ jose jose fmt jwk use -i- -r -u verify -o- '--json={"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFPZXZoRlMxZTdlem1hMGdubGZkN2pwV0xsaWZrT2VNRnE1a3o3ZlFHaDVzMlpRQy1HMzBNV29xNFBRQXloSjFBbXFpamUyVG5qRk1sLXhMZ2FyWGMxUDYiLCAieSI6ICJBU1RJRzdtSTYzMEZPLVpHVWdnVS0wNHBkSEI3VWpsQ2xRcVRUeE9xdVFobVg1bzlpT0ZWRjJoSkdqY00wVUVhRGtSckVIRnNjYVFDejRJSi12X2dVbFFYIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUsyVFY3WHFCTlIwcTd6U0pWMnFja0tEbjVfTUM5azhnT3ZzUURsWVV5VVlJZWQ4YlA2MDZyQnhGTF81cnJ2eEdnUXlHa051R0sxOTBUOW4ycVVLTHZWcyIsICJ5IjogIkFGbW5jSnFoRHBKbVFFNVdnbVJnSTNSVVNQZWxpcmxJNmZRTDJrSjc0cF92RGxqNk9mX2l3WG9XVXNuMHFCREQ4YXJ3M0tvSnV6Z2hCYm5icWkydEtQNjMifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AIS1CCjPot3tnJpMcvdiP-5-WBmSU_1xmqjn0l4RT4t0MYluSGEIYMdaVKjrAKFQxBmIPslV_olJoBK9nX8f8XknAMXYSSzeTP-LNyOstBkKBeKV29-Zg5G9YUrBbNfOiPGsf9p8vldnqNKq_krx6C9iA-T80H2UM1URf4oBdg7UGV47"}' -g payload -y -o- ++ jose jwk thp -i- -a S224 + thp=bUp0gm9WW5WTetNxIw5IAW-Z1ptK45rW6jR42g ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:60159 bUp0gm9WW5WTetNxIw5IAW-Z1ptK45rW6jR42g + cfg='{"url":"http://localhost:60159", "thp":"bUp0gm9WW5WTetNxIw5IAW-Z1ptK45rW6jR42g"}' + echo foo + clevis encrypt tang '{"url":"http://localhost:60159", "thp":"bUp0gm9WW5WTetNxIw5IAW-Z1ptK45rW6jR42g"}' > 2022/06/17 22:13:56.000129141 length=121 from=0 to=120 GET /adv/bUp0gm9WW5WTetNxIw5IAW-Z1ptK45rW6jR42g HTTP/1.1\r Host: localhost:60159\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/bUp0gm9WW5WTetNxIw5IAW-Z1ptK45rW6jR42g => 200 (../src/tangd.c:71) < 2022/06/17 22:13:56.000134887 length=1349 from=0 to=1348 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 1271\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFPZXZoRlMxZTdlem1hMGdubGZkN2pwV0xsaWZrT2VNRnE1a3o3ZlFHaDVzMlpRQy1HMzBNV29xNFBRQXloSjFBbXFpamUyVG5qRk1sLXhMZ2FyWGMxUDYiLCAieSI6ICJBU1RJRzdtSTYzMEZPLVpHVWdnVS0wNHBkSEI3VWpsQ2xRcVRUeE9xdVFobVg1bzlpT0ZWRjJoSkdqY00wVUVhRGtSckVIRnNjYVFDejRJSi12X2dVbFFYIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUsyVFY3WHFCTlIwcTd6U0pWMnFja0tEbjVfTUM5azhnT3ZzUURsWVV5VVlJZWQ4YlA2MDZyQnhGTF81cnJ2eEdnUXlHa051R0sxOTBUOW4ycVVLTHZWcyIsICJ5IjogIkFGbW5jSnFoRHBKbVFFNVdnbVJnSTNSVVNQZWxpcmxJNmZRTDJrSjc0cF92RGxqNk9mX2l3WG9XVXNuMHFCREQ4YXJ3M0tvSnV6Z2hCYm5icWkydEtQNjMifV19", "signatures": [{"signature": "AY-u2x7WHGWXBWqmulN3C7vSQmyAeHAnXGTusRmRl9lmxhXt_meurG3KehtmtFSy2k695MhH1c3c6U9NKPPYes4IAJGlqfjnu6UD_OBms5dWfLNzMh_RFrEFzITJEqrYAdu8AQNTl-gsPk45_ExFDzTC1aRiElo1rv5FpiLSYQ3SGzIO", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9"}, {"protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AF3RDK8CW3EYBZpb1_Sqc9YNR-Ao5e79_75nAaNGaj7yGqgFtQ6xONCWJee2qm6mK45s7z34RS-QA_v7LkCed-tDAZrRf-08I3kkUrTeFIGG-ITCRWVal28CBnX8uGas9Fr2JkSnt7luUpmhHSICJKWdEtJ-6hISilW1uCYYR06ifU3d"}]}Trusted JWK 'bUp0gm9WW5WTetNxIw5IAW-Z1ptK45rW6jR42g' did not sign the advertisement! + for alg in ${UNSUPPORTED} ++ jose ++ fmt jose jwk use -i- -r '--json={"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFPZXZoRlMxZTdlem1hMGdubGZkN2pwV0xsaWZrT2VNRnE1a3o3ZlFHaDVzMlpRQy1HMzBNV29xNFBRQXloSjFBbXFpamUyVG5qRk1sLXhMZ2FyWGMxUDYiLCAieSI6ICJBU1RJRzdtSTYzMEZPLVpHVWdnVS0wNHBkSEI3VWpsQ2xRcVRUeE9xdVFobVg1bzlpT0ZWRjJoSkdqY00wVUVhRGtSckVIRnNjYVFDejRJSi12X2dVbFFYIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUsyVFY3WHFCTlIwcTd6U0pWMnFja0tEbjVfTUM5azhnT3ZzUURsWVV5VVlJZWQ4YlA2MDZyQnhGTF81cnJ2eEdnUXlHa051R0sxOTBUOW4ycVVLTHZWcyIsICJ5IjogIkFGbW5jSnFoRHBKbVFFNVdnbVJnSTNSVVNQZWxpcmxJNmZRTDJrSjc0cF92RGxqNk9mX2l3WG9XVXNuMHFCREQ4YXJ3M0tvSnV6Z2hCYm5icWkydEtQNjMifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AIS1CCjPot3tnJpMcvdiP-5-WBmSU_1xmqjn0l4RT4t0MYluSGEIYMdaVKjrAKFQxBmIPslV_olJoBK9nX8f8XknAMXYSSzeTP-LNyOstBkKBeKV29-Zg5G9YUrBbNfOiPGsf9p8vldnqNKq_krx6C9iA-T80H2UM1URf4oBdg7UGV47"}'-u verify -o- -g payload -y -o- ++ jose jwk thp -i- -a S384 + thp=nnY1lmyfOhMs58X80b9hnveqjKIl53R6irHt2sAV83lIibAUtWYyHD1yMUebVW1K ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:60159 nnY1lmyfOhMs58X80b9hnveqjKIl53R6irHt2sAV83lIibAUtWYyHD1yMUebVW1K + cfg='{"url":"http://localhost:60159", "thp":"nnY1lmyfOhMs58X80b9hnveqjKIl53R6irHt2sAV83lIibAUtWYyHD1yMUebVW1K"}' + echo foo + clevis encrypt tang '{"url":"http://localhost:60159", "thp":"nnY1lmyfOhMs58X80b9hnveqjKIl53R6irHt2sAV83lIibAUtWYyHD1yMUebVW1K"}' > 2022/06/17 22:13:56.000204213 length=147 from=0 to=146 GET /adv/nnY1lmyfOhMs58X80b9hnveqjKIl53R6irHt2sAV83lIibAUtWYyHD1yMUebVW1K HTTP/1.1\r Host: localhost:60159\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/nnY1lmyfOhMs58X80b9hnveqjKIl53R6irHt2sAV83lIibAUtWYyHD1yMUebVW1K => 200 (../src/tangd.c:71) < 2022/06/17 22:13:56.000214779 length=1349 from=0 to=1348 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 1271\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFPZXZoRlMxZTdlem1hMGdubGZkN2pwV0xsaWZrT2VNRnE1a3o3ZlFHaDVzMlpRQy1HMzBNV29xNFBRQXloSjFBbXFpamUyVG5qRk1sLXhMZ2FyWGMxUDYiLCAieSI6ICJBU1RJRzdtSTYzMEZPLVpHVWdnVS0wNHBkSEI3VWpsQ2xRcVRUeE9xdVFobVg1bzlpT0ZWRjJoSkdqY00wVUVhRGtSckVIRnNjYVFDejRJSi12X2dVbFFYIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUsyVFY3WHFCTlIwcTd6U0pWMnFja0tEbjVfTUM5azhnT3ZzUURsWVV5VVlJZWQ4YlA2MDZyQnhGTF81cnJ2eEdnUXlHa051R0sxOTBUOW4ycVVLTHZWcyIsICJ5IjogIkFGbW5jSnFoRHBKbVFFNVdnbVJnSTNSVVNQZWxpcmxJNmZRTDJrSjc0cF92RGxqNk9mX2l3WG9XVXNuMHFCREQ4YXJ3M0tvSnV6Z2hCYm5icWkydEtQNjMifV19", "signatures": [{"signature": "AH57ndVaNQirQrJYQFqHX0v_E48Cx1-Sa9xcDpCMId7GOSYhc7gUs3ht2qifFFVRvGuh2JKxc1RYI6Dx8fXsNPgnAWb4YGbPz3FILFH266DC03by8Xu4-3GoISDrKF17CFyvSzCLIHNatJdINTyImAHlfpTJPg5AdcPLaPjnGObn3xJ0", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9"}, {"protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AGnhTPOvXYeZnzVYV6MYCYndBxxuCic91Xxi7ZSv8trytCp7yULNrnRERaUM8ITdxXZVQO6eDTFm5fhv6fk51oyaAJmnqydRR5haawRou3Ze_uJrvLR6spl0ZEC0tfO13zLY7dvWU0yDbBvzHcuxY8ICsg3iJRLHlMLsUZkix-olD7fr"}]}Trusted JWK 'nnY1lmyfOhMs58X80b9hnveqjKIl53R6irHt2sAV83lIibAUtWYyHD1yMUebVW1K' did not sign the advertisement! + for alg in ${UNSUPPORTED} ++ jose fmt '--json={"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFPZXZoRlMxZTdlem1hMGdubGZkN2pwV0xsaWZrT2VNRnE1a3o3ZlFHaDVzMlpRQy1HMzBNV29xNFBRQXloSjFBbXFpamUyVG5qRk1sLXhMZ2FyWGMxUDYiLCAieSI6ICJBU1RJRzdtSTYzMEZPLVpHVWdnVS0wNHBkSEI3VWpsQ2xRcVRUeE9xdVFobVg1bzlpT0ZWRjJoSkdqY00wVUVhRGtSckVIRnNjYVFDejRJSi12X2dVbFFYIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUsyVFY3WHFCTlIwcTd6U0pWMnFja0tEbjVfTUM5azhnT3ZzUURsWVV5VVlJZWQ4YlA2MDZyQnhGTF81cnJ2eEdnUXlHa051R0sxOTBUOW4ycVVLTHZWcyIsICJ5IjogIkFGbW5jSnFoRHBKbVFFNVdnbVJnSTNSVVNQZWxpcmxJNmZRTDJrSjc0cF92RGxqNk9mX2l3WG9XVXNuMHFCREQ4YXJ3M0tvSnV6Z2hCYm5icWkydEtQNjMifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AIS1CCjPot3tnJpMcvdiP-5-WBmSU_1xmqjn0l4RT4t0MYluSGEIYMdaVKjrAKFQxBmIPslV_olJoBK9nX8f8XknAMXYSSzeTP-LNyOstBkKBeKV29-Zg5G9YUrBbNfOiPGsf9p8vldnqNKq_krx6C9iA-T80H2UM1URf4oBdg7UGV47"}' ++ -g jose payload jwk -y use -o--i- -r -u verify -o- ++ jose jwk thp -i- -a S512 + thp=5_r3HSq3NGHzIJvwfFqlFqE5n90m_QVLLsrPlkb1NKJC4UQSQbfavOZSnXWUUjpWGmNgtdcI4R9lzvwoHhobxQ ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:60159 5_r3HSq3NGHzIJvwfFqlFqE5n90m_QVLLsrPlkb1NKJC4UQSQbfavOZSnXWUUjpWGmNgtdcI4R9lzvwoHhobxQ + cfg='{"url":"http://localhost:60159", "thp":"5_r3HSq3NGHzIJvwfFqlFqE5n90m_QVLLsrPlkb1NKJC4UQSQbfavOZSnXWUUjpWGmNgtdcI4R9lzvwoHhobxQ"}' + echo foo + clevis encrypt tang '{"url":"http://localhost:60159", "thp":"5_r3HSq3NGHzIJvwfFqlFqE5n90m_QVLLsrPlkb1NKJC4UQSQbfavOZSnXWUUjpWGmNgtdcI4R9lzvwoHhobxQ"}' > 2022/06/17 22:13:56.000287961 length=169 from=0 to=168 GET /adv/5_r3HSq3NGHzIJvwfFqlFqE5n90m_QVLLsrPlkb1NKJC4UQSQbfavOZSnXWUUjpWGmNgtdcI4R9lzvwoHhobxQ HTTP/1.1\r Host: localhost:60159\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/5_r3HSq3NGHzIJvwfFqlFqE5n90m_QVLLsrPlkb1NKJC4UQSQbfavOZSnXWUUjpWGmNgtdcI4R9lzvwoHhobxQ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:56.000298192 length=1349 from=0 to=1348 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 1271\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIj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U697JI61xcBYWET5gEXQSQriMTUd4KKeFTWSv-C_mKcy1M1eAVT-ErSWQIRahT9e0EnX9AuOGza"}]}Trusted JWK '5_r3HSq3NGHzIJvwfFqlFqE5n90m_QVLLsrPlkb1NKJC4UQSQbfavOZSnXWUUjpWGmNgtdcI4R9lzvwoHhobxQ' did not sign the advertisement! + for thp in "" "foo" "invalid" ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:60159 '' + cfg='{"url":"http://localhost:60159", "thp":""}' + echo foo + clevis encrypt tang '{"url":"http://localhost:60159", "thp":""}' > 2022/06/17 22:13:56.000347849 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:60159\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:56.000354525 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFPZXZoRlMxZTdlem1hMGdubGZkN2pwV0xsaWZrT2VNRnE1a3o3ZlFHaDVzMlpRQy1HMzBNV29xNFBRQXloSjFBbXFpamUyVG5qRk1sLXhMZ2FyWGMxUDYiLCAieSI6ICJBU1RJRzdtSTYzMEZPLVpHVWdnVS0wNHBkSEI3VWpsQ2xRcVRUeE9xdVFobVg1bzlpT0ZWRjJoSkdqY00wVUVhRGtSckVIRnNjYVFDejRJSi12X2dVbFFYIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUsyVFY3WHFCTlIwcTd6U0pWMnFja0tEbjVfTUM5azhnT3ZzUURsWVV5VVlJZWQ4YlA2MDZyQnhGTF81cnJ2eEdnUXlHa051R0sxOTBUOW4ycVVLTHZWcyIsICJ5IjogIkFGbW5jSnFoRHBKbVFFNVdnbVJnSTNSVVNQZWxpcmxJNmZRTDJrSjc0cF92RGxqNk9mX2l3WG9XVXNuMHFCREQ4YXJ3M0tvSnV6Z2hCYm5icWkydEtQNjMifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ARHb3UFruY2XOfx-EwqwikOEFhtNAL51QwiJQ1JT73wWucn_2OtV6-t6SkwPXnjAZkPE9lTVYvG8qQ4RoMpvY8wlAEY_S5b4NITITaWY-uYzFq4joB9yF5AhpTJAcAJAok3KhbmztZ5eA7gdQmj9KXBaMp3iM8h2K9V_uixhbCpoAKYZ"}The advertisement contains the following signing keys: -RHhNUXhsqe92ik69EqketawhbjK3AQMiEswVWW5ps8 /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/clevis-encrypt-tang: line 120: /dev/tty: No such device or address + for thp in "" "foo" "invalid" ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:60159 foo + cfg='{"url":"http://localhost:60159", "thp":"foo"}' + echo foo + clevis encrypt tang '{"url":"http://localhost:60159", "thp":"foo"}' > 2022/06/17 22:13:56.000402045 length=86 from=0 to=85 GET /adv/foo HTTP/1.1\r Host: localhost:60159\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/foo => 404 (../src/tangd.c:64) < 2022/06/17 22:13:56.000404725 length=45 from=0 to=44 HTTP/1.1 404 Not Found\r Content-Length: 0\r \r Unable to fetch advertisement: 'http://localhost:60159/adv/foo'! + for thp in "" "foo" "invalid" ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:60159 invalid + cfg='{"url":"http://localhost:60159", "thp":"invalid"}' + echo foo + clevis encrypt tang '{"url":"http://localhost:60159", "thp":"invalid"}' > 2022/06/17 22:13:56.000443341 length=90 from=0 to=89 GET /adv/invalid HTTP/1.1\r Host: localhost:60159\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/invalid => 404 (../src/tangd.c:64) < 2022/06/17 22:13:56.000445090 length=45 from=0 to=44 HTTP/1.1 404 Not Found\r Content-Length: 0\r \r Unable to fetch advertisement: 'http://localhost:60159/adv/invalid'! + on_exit + exit_status=0 + tang_stop /tmp/tmp.bmfGOp + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.bmfGOp + '[' -z /tmp/tmp.bmfGOp ']' + local pidfile=/tmp/tmp.bmfGOp/tang.pid + '[' -f /tmp/tmp.bmfGOp/tang.pid ']' + local pid + pid=38948 + kill -9 38948 + '[' -d /tmp/tmp.bmfGOp ']' + rm -rf /tmp/tmp.bmfGOp /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/tests/default-thp-alg: line 26: 38948 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" + exit 0 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 15/44 assume-yes SKIP 2.91s exit status 77 ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ basename /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/assume-yes + TEST=assume-yes + . tests-common-functions ++ . tang-common-test-functions +++ SOCAT=/usr/bin/socat +++ TANGD_KEYGEN=/usr/libexec/tangd-keygen +++ TANGD_UPDATE= +++ TANGD=/usr/libexec/tangd ++ export 'DEFAULT_PASS= just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' ++ DEFAULT_PASS=' just-some- test-password-here 1.+?~!@#$%^&*();:'\''"[]{}_=/`\ ' + . clevis-luks-common-functions ++ CLEVIS_UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + trap on_exit EXIT + trap on_exit ERR ++ mktemp -d + TMP=/tmp/tmp.MjacKC ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=61466 + tang_run /tmp/tmp.MjacKC 61466 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.MjacKC + local port=61466 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.MjacKC ']' + '[' -z 61466 ']' + tang_new_keys /tmp/tmp.MjacKC '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.MjacKC + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.MjacKC ']' + local db=/tmp/tmp.MjacKC/db + mkdir -p /tmp/tmp.MjacKC/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.MjacKC/db Unable to change owner/group for /tmp/tmp.MjacKC/db/RlntIl8zOiK_ivVdxmHC6tpMT-KE9sXzH0DK7g7PTT0.jwk to tang:tang Unable to change owner/group for /tmp/tmp.MjacKC/db/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.MjacKC/cache + '[' -z '' ']' + KEYS=/tmp/tmp.MjacKC/db + local pid pidfile + pidfile=/tmp/tmp.MjacKC/tang.pid + pid=38211 + echo 38211 + /usr/bin/socat -v -v TCP-LISTEN:61466,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.MjacKC/db' + tang_wait_until_ready 61466 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=61466 + '[' -z 61466 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:61466/adv > 2022/06/17 22:13:55.000135493 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000139280 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AIeZR-MvZ7iwHOCnowkRbble3zTp6v3pFnnWJw8m7UUChNxPTAOY-6IY4LomZx5VoWcPJXb0wWnb_JFK9SnyMTdIAFJPuVV8jwQXpylhhEOZGiFCaR0t9XEbvb39aCMSRN5fuSWl0Es59BuKtewNuKC5DBub21vkDZ6-LZbS3Z_oP1V7"}+ url=http://localhost:61466 ++ printf '{"url":"%s"}' http://localhost:61466 + cfg='{"url":"http://localhost:61466"}' + test_tang http://localhost:61466 + local url=http://localhost:61466 + local cfg data pt ++ printf '{"url":"%s"}' http://localhost:61466 + cfg='{"url":"http://localhost:61466"}' + for data in "foo" "bar" "foo bar" "some-password-here" ++ echo foo ++ clevis encrypt tang '{"url":"http://localhost:61466"}' -y ++ clevis decrypt > 2022/06/17 22:13:55.000169946 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000173815 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AW_ZqdsmK34BQqgkYtevtmJbT9rCKmnWbpek2QWqEwwrQgrUkjYtyzFkPnVofvz_HPtq5idMvBYBooDvAjfcmVnTAbatquCH2IteZKS0nbWh5JpcxlosFWX2cR2ivAmxm9ixuFgcFo1kSaTJUbROcH9Y8y5yBlqoptBswND3fo658FZI"}> 2022/06/17 22:13:55.000250925 length=414 from=0 to=413 POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AduFLniZyswLNdOSofVTkpsb_G-GcUQmoZy_qx-cPQiT1NSVlXZP_SfCOX-T5VJGsekO1cJ8YhBpB3D71lIHvGYp","y":"AK6bBxGKdLbcFwryJgYv67VKxw3JyPvMswmeWw9jSfihOCTwN6Zm_1Y9EDNEHRl9JhmhR-Gwe8j7hAbKieR9fykg"} POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g => 200 (../src/tangd.c:155) < 2022/06/17 22:13:55.000256462 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AJd4hpjec54FwzTV3bPldJHt1iUdh0e3M-WflrwfbxQJF4N0wSMuusqHjumwui6qxa63ka1uBK8K5U9nybE9J0dK","y":"AT-0CiVJofpEJ1tvQ5L6eQqMgmsJRs9vgDARfRwF1pvXvhyomWoi4Lw48ORu1YRM3SfEy5O3KJUmGx_3aWiv8OSx"}+ pt=foo + '[' foo '!=' foo ']' + for data in "foo" "bar" "foo bar" "some-password-here" ++ echo bar ++ clevis encrypt tang '{"url":"http://localhost:61466"}' -y ++ clevis decrypt > 2022/06/17 22:13:55.000325058 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000331710 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AG4oMcPA2MpDH4SWuKPLgM2h9FJmyL-XQF2FzK0x_K8awaf0vdm42kDMFho1XckIbWlumnCW_Efl8YksJERs9vCGAGwVIzGEcH_p2z6hX6grzNiqO0fhUxm1CSLy4kA7IfH4s5o1Cpms6hhbXPeRxVxTRwoip5bvkw0aiLdL9gCjtlvG"}> 2022/06/17 22:13:55.000439975 length=414 from=0 to=413 POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AAiznhBJvghMEFMieJ2MOvxR_eGPyLBf32irGLx6QI2IpjCwjbD1EpO4lPXjTfPwsTNCyuJtceeIUdcmS6kIaUDF","y":"ASOq4Wp_LvmHP5lz7tNK__wuolqMOdm_mDdvAo1djPM_1oHdUXeR7LjgmfhURpCR0ZWaTHAbJCVB7Txh9htl1ouV"} POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g => 200 (../src/tangd.c:155) < 2022/06/17 22:13:55.000444911 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"ARSFaRtb2f2sdnrt2hyY0CxAQ3mC05rTtpSTwy5wBMShE_l_paHS69pWcwXSV7sCRMPtAuPENIZL9sQS7vo8sTm9","y":"ADAe-6YOAp-G7CmnrIhFOCMJDGFk_WkGZEii5g9gXNrB4bVWZIBOlfdw8Y8vu8mlHPxTKSdSuJ1JNrqqhtElVthx"}+ pt=bar + '[' bar '!=' bar ']' + for data in "foo" "bar" "foo bar" "some-password-here" ++ echo 'foo bar' ++ clevis encrypt tang '{"url":"http://localhost:61466"}' -y ++ clevis decrypt > 2022/06/17 22:13:55.000489372 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000495428 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "Ad0ym7_qGNzD52R0yRlOwP7BwP9PQmXb5Yq5jDiDgzp3mXAXZlhCnnXU77Q6spKuCaIhD3Wx5pyeYFmrHQ9leXRKAUHmTSZKl2hQ-Gj2r06RTRIyP88rbVchcCAgnaw39J5CaszIYrz3vEa7AutCnfD1utl2-nfrC6iQqdJptiKOw8WV"}> 2022/06/17 22:13:55.000605420 length=414 from=0 to=413 POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AEIVgqc9ACWiEs-p1aTjcOOKtYkH9-RzmsadqGq0SW4w2y5zcuyQ6DB43hdnqONicC0VImOJK7BsGOukn-rMvdRw","y":"AS2_G0qEkqOJIzajm2RY5eJBqfqGtHCzjs8gecYU1-mXsVPMHHwgcsEx4DGW1b09c1MCBGsYumkdSb2nDmJbRp4X"} POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g => 200 (../src/tangd.c:155) < 2022/06/17 22:13:55.000610920 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"ABC1HiukmpvfguAcEWvNT6Dm3Kp9LB2EByf-yMSOIjVug69qucVSfFFbsELGNHGeESXYVu7izN96qruz4KWZT7Ya","y":"AW1w37pfl7-YEhYY4cQimiYZDzDc9yXd1BPBnPSKham7YdokjMqiVymLGJ38AaZFelm_H-jgLr0Vf7vvVftDCtYQ"}+ pt='foo bar' + '[' 'foo bar' '!=' 'foo bar' ']' + for data in "foo" "bar" "foo bar" "some-password-here" ++ echo some-password-here ++ clevis encrypt tang '{"url":"http://localhost:61466"}' -y ++ clevis decrypt > 2022/06/17 22:13:55.000673400 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000680190 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AYm3mzxnU6OA-CltYsPnywAaI--k94HhzRvu-KtfI4RsLHcdtijEFQpts_aMkdkWIJQk6AwLq1NP-GtilD5BP2HaAAxpuGHhe20aLoBxDDP5GWeVyOPLFP8ud83DfgX81fauBqqHVv1EZV91xqLcksJ7MbyamiQeNmWEQDj6VbPW5Q6T"}> 2022/06/17 22:13:55.000799864 length=414 from=0 to=413 POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"APwWE39mZIRwjEPFPa4xOgEnRx5SQk9NZheZN7wEMLSCgC7jGl6L7O2S-b8UlyCWkbG7YM5xj1Az770dv0-aRjrK","y":"ATq0d5YPZxy7zWKUNe1B9Gta6YhE6ZqHBlANvXbi1iYdYCYDdTnv7qY1fndlfN2ReFrM2XJVSGGfloZpt1-oaHMJ"} POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g => 200 (../src/tangd.c:155) < 2022/06/17 22:13:55.000807477 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AJ2VlVbNLR27P0AsQoR5gm6Q6wqxBmvwuPqXe3dpIXL_dFzXXchlUGSIA9NszLzsDsZTnpCwDM9bN_wlMwuZvECT","y":"AHk3jxfy9tivUtH-5mv3DeHJ_hpUzKUJ8N6tHIWxDTcC2Q_XHmi0OsmgVe0qtfSsp6auqeMbzLUjANVoYWmqf8CE"}+ pt=some-password-here + '[' some-password-here '!=' some-password-here ']' + test_sss http://localhost:61466 + local url=http://localhost:61466 + local sss1 sss2 data pt ++ printf '{"t":1, "pins": {"tang": [{"url": "%s"}]}}' http://localhost:61466 + sss1='{"t":1, "pins": {"tang": [{"url": "http://localhost:61466"}]}}' ++ printf '{"t":2, "pins": {"tang": [{"url": "%s"}, {"url": "%s"}]}}' http://localhost:61466 http://localhost:61466 + sss2='{"t":2, "pins": {"tang": [{"url": "http://localhost:61466"}, {"url": "http://localhost:61466"}]}}' + for data in "foo" "bar" "foo bar" "some-password-here" ++ echo foo ++ clevis encrypt sss '{"t":1, "pins": {"tang": [{"url": "http://localhost:61466"}]}}' -y ++ clevis decrypt > 2022/06/17 22:13:55.000923356 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:55.000928601 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AT3XTkFyMcEZd2Ddx2FF8UoaxSgXMeCeL8cMUrglubOo3RJqynaIQurZTE38oTEqoAfj5lKpg8L1QDN9yahD0RuUAHp2GcSFG_XqAS53VNJoYHXhFexl_4NcpCaZ6zNm6pRwUYCSVWYYLo7-xNg0gVNZmWKAmAybp4BOY1ypCH_IBuIi"}> 2022/06/17 22:13:56.000027415 length=414 from=0 to=413 POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AMkPksXnW98U46_QGMY6-V5xG0Bn0XZkeo08MDa2Sg4IL7givLhCgD5wjpuIAmq0f8n6jS-ZNochuh26fGTdj4AH","y":"AfTB5oLGcaltvjCo5BgXh7j8qQXgkjrTOYguCzzxiwjtaNikbL0VpNslEg7tsjswufOtV8n8I6BfoWE6dtFZo6t7"} POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g => 200 (../src/tangd.c:155) < 2022/06/17 22:13:56.000035807 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"Ac2wQ2d07tuineS57mRBVpnx4zDIoVe9-c7JtpUckCMX94vud7sND3WDEAbSVaAsohg_qA7WTslieie0jgD-w6N-","y":"AQdek4fnDJ1pgEu4IMsNeydaqmSYd_yfkh0MgBx6R9azEHiOspqZQFVsJwOqLgJcqUZJJMOtwxpoV2DtAVQZGVf7"}+ pt=foo + '[' foo '!=' foo ']' ++ echo foo ++ clevis encrypt sss '{"t":2, "pins": {"tang": [{"url": "http://localhost:61466"}, {"url": "http://localhost:61466"}]}}' -y ++ clevis decrypt > 2022/06/17 22:13:56.000106247 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:56.000110491 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ABi0mOnAf5RTTTSH-c6XpMd3NbFMc2OmmiU0wzr8ctgOSj0pPiUb5RO_R-czuBQjpZU_U86woHMhOzpqOuGpXbfaAbI-_rmh4-kyT9QGzspKIrtwR1BkO9uYPuqe8BvDvXd0JTRHHa4PdUni6iTKelgw6TdvjZWQWRQ7H7pFgDqlag3C"}> 2022/06/17 22:13:56.000187299 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:56.000194000 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AFZE5WzAbaCYB13PE7tNELOl3p5d2bGGyEQkP8K3usuDL8Ed2mcN5R0PKmMKWkEI1lcUzY2dociLd8LlM0WT9VkoAMJ7mv8uiDwfUseF8nzC0Oad9w64DEvy62zEPUAciZMF81Fxt8_hEIyNtybZSk-nSVJGWJH2wCohEpwLnfD7ai1Q"}> 2022/06/17 22:13:56.000331689 length=414 from=0 to=413 POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv"> 2022/06/17 22:13:56.000331915 length=414 from=0 to=413 :"PPO-S5T2 1/"r,e"ck/tiyr"9:7"xEqCd"2,5"Rxh"q:Z"7A7czU0ZwBIvnzAB-PeNcKVW51FIzULXx8oPFpUxVX8qk3O1-ql6PSkh7Mgf ZH4TMTWPE/G1G.K1t\rE HHmoNsCtS:e tlDoNc_ajlPhtozsLt9:W6p194N6n6R\rC rUDsWeGrm-PAPgsexnXtV:m hcrugr6lV/U7n.T8o3y.K1k\r4 "A,c"cye"p:t":A e*Q/O*K\rE lCzobn1t_eCnItd-pTFyfpreB:B baJpvpQlmiecyagtpiLoXnP/2j1wakq+VjNsbo6nM\rn LCXoanqt0e8nqtR-lLbeVnKgUtghi:9 Z2e370e\rn 7\rV K{e"Waqlpg2"v:4"vEjCpMUR1"m,8"3cFrWvM"f:j"qPb-"5}2 1","kty":"EC","x":"ATcXmyar9RZfMXNVAFFLWxf9AQFZLFCOM-GMBfQbEipehAWDsbXrxDUwQ2p2Q5DL6_EIxLBQRidNFDjophEsifHb","y":"AOUq6EHKY6x3HedbrYxhTpeYigmV_ntwiMHFUE0OnkwB2DBC5fNAOdg93fVeX_G39i1eiqMPr-ENW2nQO9p9ouO6"} POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g => 200 (../src/tangd.c:155) < 2022/06/17 22:13:56.000336860 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":" => 200 (../src/tangd.c:155) ANYG2c5g6ASUr6Ku2IBc7VPZFH5-f1rpAXltFE5ZgOERpsjkMsNsTaCzlQpfgQQBopN< 2022/06/17 22:13:56.000337092 length=329 from=0 to=328 P9HLTFTAP8/F16.p11 6250a0i MOGKk1\r6 vCro"n,t"eyn"t:-"TAyBprex:M qampgp1l6iOcEaztOiCoLnC/9j8wsku+sj4sQoLn6\rB 3Clo9n-tGe1nntB-kLCeynpgxtDhQ:k j2a5s3W\rw p\rL g{X"banlzgI"i:x"xE0C0MQRx"P,p"Pcqrxv5"G:b"BPy-65E2r1c"z,T"6k2eNyH_BoAppsc"Y:"[}"deriveKey"],"kty":"EC","x":"ADCDHrg0aYvGKz6KDzwA1zs-oj02mQigX-lCq8IlzfnxkgZEi0Hmk2Kw4Yf62YePQOlTroBC1oIcSwqxPN2EWkcX","y":"ALaU4gFoTCcWg29Iox1QQwyMkmCpvx3UIKZsSR3LOkUDPD-viBKZLhAoNY6oMH2DDw8Rs337tQkR0Z7WCYaq9Kl1"}+ pt=foo + '[' foo '!=' foo ']' + for data in "foo" "bar" "foo bar" "some-password-here" ++ echo bar ++ clevis encrypt sss '{"t":1, "pins": {"tang": [{"url": "http://localhost:61466"}]}}' -y ++ clevis decrypt > 2022/06/17 22:13:56.000412973 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:56.000419702 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AWP2Rb_44DMY1dP1_5p79AhSCa1Kca1TyeRDIERajgq8d3L0lzHqaC0RnKzCWCitjfN5zIA6y_Fvnjm_caPZ8Xp7AIVX5NQvYMQ-S-oxrOra0nl_TV9keVGVZwXqm48oF14pCphF3Y-HgQ4Yr8i015vuMmJax_iuIBQ0FFsX_Q-f9lJY"}> 2022/06/17 22:13:56.000556706 length=414 from=0 to=413 POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"Acob11U-2lnPJTAjCqJeWivhAMWuAJkfak2p1CBdebveHkk_i-uag3fPv2Is0SImghHsj0LALojWrvMpLq9b0yla","y":"AXJCMngor4j5dFbITwSakQwbB4l9Tfvac17zirbIN1QV1w6NI0WKALTp-uBlBp-hnHgH40APPWn6RW2szfI81G3A"} POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g => 200 (../src/tangd.c:155) < 2022/06/17 22:13:56.000565036 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AbTJJbzBKqfULBvwCpC2n5VDYI1LkAL-pzRw2C01Uj6sz5RgJqF9Lte-yLQ48SxGn4PCvg7ESStGfNm_QpORlVAS","y":"Ac_35qETQ63PVVPmW5MWXOukd2oEDlVmuwteh70BRdiqKeM6hyqBddSK6kHL3WfvvImHuTT2kNDV-rtKtTIipKaI"}+ pt=bar + '[' bar '!=' bar ']' ++ echo bar ++ clevis encrypt sss '{"t":2, "pins": {"tang": [{"url": "http://localhost:61466"}, {"url": "http://localhost:61466"}]}}' -y ++ clevis decrypt > 2022/06/17 22:13:56.000706702 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:56.000710728 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ADE-SJLb7BTZJhufu6shHhVaNn1Jz7PMNQk65bBvKnRGMkVBv_IAC_fejhNXv90_86EHvNuKs9lX6tbCfkuIn1YZACfBu950iRu2vCOC6RutONQY4Zgv7RlEbvcqa-DBt53b9Yu6z9wktFASMd_z2RyuQ87qRe1P-Uj7Ex8briBzjR4N"}> 2022/06/17 22:13:56.000776590 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:56.000783233 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AP2GUdDmqMcQwBSpl-Z7KwK10lf6YdWAjygEkaQceuQipukazqXX0nx9nns1Wu4qUxtgkhnqkq142bp8b8RFK3XHAds0qB-LFtvake8PbcwjZqyqXuXGVzUSH-jwwEwnTWqjs_Go6dpC4GttmERoAho4tVxbRPQ2tVJQCLstsVJMBg8J"}> 2022/06/17 22:13:56.000917429 length=414 from=0 to=413 POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*> 2022/06/17 22:13:56.000917686 length=414 from=0 to=413 \r PCOoSnTt e/nrte-cT/yipre9:7 xaqpdp2l5iRchaqtZi7o7nz/0jwwIkn+Aj-seocnV\r5 FCzoLnxtoeFnUtV-8LkeOn-gltPhk:7 g2 3H0T\rT P\r/ 1{."1a\rl gH"o:s"tE:C MlRo"c,a"lchrovs"t::"6P1-456261\r" ,U"sketry-"A:g"eEnCt":, "cxu"r:l"/A7E.Z8z3l.F1t\r0 IAHcScLevpsts:i r*Z/3*j\rw dCAopnhthemn8tL-jTYySpTe6:A Fanphp4lpifccaJtnilo7nt/lj-wzkC+uj_s9ohnp\rE 9CFoNnQtaeCn8tF-DL_e5nDgotuhI:P n2T320k\r9 l\rs D{8"maRlNgD"4:c""E,C"MyR"":,""AcNrRv2"P:b"vPK-I532X1f"Q,g"3kqtwy9"0:t"lETCj"H,j"hxI"n:z"dAGABN06sperrhErr9PJ2Be6iE55DbKPlXMPLEX6EOMjLjPax0QDV_iYMlvF_U1OIUzYIHdGPG442qgI3MRhx6GfDL3kounftTkKIsp-BzvhxY9XCgtQrrn"-}U osakSqJ37BozKE4E1HPZkesRu8","y":"AB2AdyCSrSi4Eu1vzn4wPWlA5LBxrkDzZxvIK311uB3zxp31eWkgjngTYbV6CltzPFVMyCJiMGS8Ui8PbHyh1qTJ"} POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g => 200 (../src/tangd.c:155) < 2022/06/17 22:13:56.000922654 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Le => 200 (../src/tangd.c:155) ngth: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["derive< 2022/06/17 22:13:56.000922891 length=329 from=0 to=328 KeHyT"T]P,/"1k.t1y "2:0"0E CO"K,\r" xC"o:n"tAeQnMtq-BTXyKp-eT:l 7afpApPlmiqcQaxtUiKopnu/Djiwdkw+KjysLoonM\rx 2Cro8nktoefnLtR-bL3e-nRgctUhZ:P -2h5v3H\ru p\rR k{w"Ea-lSg-"Y:2"2EwC6M3RS"l,Q"acrrfv"3:x"mPY-Z5D2L10"C,e"ekyeEyn_zo"p,s""y:"[:""dAedrwivvDemKseyyZ"K]E,i"mkjtyyM"a:i"oEeCw"n,V"axd"-:5"iAIWMtBhu776VC7Urd-7pQAcHV96JgrdnyLve4SZUrgSKH39S9Wt-7FPCBSxJn0WHVI77gXbmpbfihzsefN09udqVqHALx10lZ-yIwenA0bsmHdWX-rXxvHqV"P}Tzu035pnD97PcsGLGEsnlNhZ2wI","y":"AI9HJ3OycsdnsN4hucXCosgG1trLV6MMqI9k-y4hB-8-fIiVjmQltCCGEgGorvvS3swzNKOzwXdDHpdEufoW2pik"}+ pt=bar + '[' bar '!=' bar ']' + for data in "foo" "bar" "foo bar" "some-password-here" ++ echo 'foo bar' ++ clevis encrypt sss '{"t":1, "pins": {"tang": [{"url": "http://localhost:61466"}]}}' -y ++ clevis decrypt > 2022/06/17 22:13:57.000003133 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:57.000006788 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AN8_Z7tOrmRQgDT8KDYW8-vMBSATLIkJvy_CEslsKlsQOIDA3HmHJQ6ux9tCUUE2OaXrHIgeblTUi-QxLNN30sGKAIHPxC1qVG8mrMo93oNxT8jMudDwVEmcTd88Gc_QdPTUUgAm3r1UXUuC4Y8j58tM58CCOKSfZQvtOx-lyHhBWCvY"}> 2022/06/17 22:13:57.000131205 length=414 from=0 to=413 POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AVlRPKaVXYhbhX5rCaAcCFJyOByLCI0d35NSgiZxpxqOTjpIy4Aipd0VX3-LI6A85ZPCzKcoJ1HJ9Fso_0w4o6vM","y":"AXN0JFemRzylzsMJCKtbFMwXvX3OE8qmg0UJtSCpgRGvZxVSrM1hK8pUXw22ur4_o9pnry3k6wzJrfARli2Ci2wj"} POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g => 200 (../src/tangd.c:155) < 2022/06/17 22:13:57.000136549 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"ANM_BKCmvTmEkan3jEseEdBCPk3CDUfk7XEhijA55_rtBbBZYP_dmlYsizcDaDAqxA8XWx33u0OZyEHTgU6SWpbR","y":"ASlJ4JdApJqWw4Voxmz0P6-Sb2pNQjDRn-Hna_6qjAYHf4JjYpaKMCI_66ajyISAaiWOheLx7grxcLMnyieOGk5g"}+ pt='foo bar' + '[' 'foo bar' '!=' 'foo bar' ']' ++ echo 'foo bar' ++ clevis encrypt sss '{"t":2, "pins": {"tang": [{"url": "http://localhost:61466"}, {"url": "http://localhost:61466"}]}}' -y ++ clevis decrypt > 2022/06/17 22:13:57.000246704 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:57.000253192 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ADBfTN27Ey7Tt99jMgDgrWhYE6PGAr_NOiNi4UU77s2N3d15iRKEe4Zx4WaYrnRz2vtwdISCSBbpKNsGVYVdNE39ABnXcYtA_XrYM8dro3j3HNeiW8Odv-eQmEnwWiAtfXJs2Y0ObHAiBfVBS0KXwTN44Os3e1u9kMj8FUUsISi59x3j"}> 2022/06/17 22:13:57.000347535 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:57.000354172 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AHrXpA48U78UCwoqYC8lUL6GL2cX8NqWgW5-ZatuBqWZ5aEIKfwxMVJ_F7SToXaXMEvNaueNwI3ZOU64vE9OTdabACSKI5AcpRtB8OPWvt1-jt1iKokqxjWUj6hOl9_jW2JwIBIdb3IXhHPGnPkCZDZAWq3nv0RlirjDczvv1t2y_05-"}> 2022/06/17 22:13:57.000470998 length=414 from=0 to=413 POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r Conte> 2022/06/17 22:13:57.000471145 length=414 from=0 to=413 ntP-OTSyTp e/:r eacp/pilri9c7axtqido2n5/RjhwqkZ+7j7szo0nw\rI nCAo-netceVn5tF-zLLexnogFtUhV:8 k2O3-0l\rP k\r7 g{ "HaTlTgP"/:1".E1C\rM RH"o,s"tc:r vl"o:c"aPl-h5o2s1t":,6"1k4t6y6"\r: "UEsCe"r,-"Axg"e:n"tA:C zcsucrTl3/l73.C8R3z.a16\rh eAkcOc-empttY:I h*s/o*C\rr LCYoVnitIeAnsti-nToyGpKe-:n ca5p4p3lziscZa0t1iDovnh/0jOw4km+bjuskoinz\r9 3CEosn1tje4nEtt-pLVeJnkgEtLhK:m a2q3d0B\rB L\rO u{"",a"lyg""::""AEfCsMSRI"j,9"7cErpvD"J:y"BPu-u5t2V1p"P,8"ckJttyF"s:h"hEKCd"Z,v"ixl"i:u"OALG3JzDLqVwO-oMkjd9c-hFjybdn-9y95bRJ3aSkX775TC3c1pLgL76kF2RkKoFrQYEz-3VOy9G_25yH7CO5o5IjREt_0TKapaV1dhu"a}4S EHoUQe-CS8YN3Re8t0SLfjYGvM0GlQxgr","y":"APw1yU_2d8u52wnbSJ8fyKu6Fgou2Hrm6YdjUs_2UKkKIHGX-Ly0gwzd3Qb9Z5Hiex7OlD6Ck9LJ9nkpzqMlnFq7"} POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g => 200 (../src/tangd.c:155) < 2022/06/17 22:13:57.000475792 length=329 from=0 to=328 HTTP/1.1 200 OK\r Cont => 200 (../src/tangd.c:155) ent-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR< 2022/06/17 22:13:57.000475891 length=329 from=0 to=328 ",H"TcTrPv/"1:."1P -250201 "O,K"k\re yC_oonptse"n:t[-"Tdyeprei:v eaKpepyl"i]c,a"tkitoyn"/:j"wEkC+"j,s"oxn"\r: "CAoPnutOeanpt7-2LmepnzgUtih8:X I2u533x\rJ b\rR D{W"TaHlcgc"e:p"5ETCKM4RS"s,0"acRr5vG"P:x"7P2-P5b271U"N,D"Gk4eiyh_Konp5sq"A:G[b"ndEeFrqiivpe_K3ekyt"W]2,P"OkUtByc"9:O"EE1Cf"h,c"zxp"":,""AyU"_:5"EAlbW6rnPHUTl1kfvBsDsrGp1XBseqCIGRtOR3asYTwjj-L6dhbc6DLrj9R7ybpaNAY-XEXs8CajdnRk21UO7wZMnwxPgbDeeAmBSJd2s6Hxjh2Ol-mB1MU7W4Y0w0jn8GKDBHqZT_kAYWvuQxhLP_Qft3lsmcKQhxruAn6g"D,B"hyN"":}"AcmF6LYgVo7A89zx7SSy3knwuHPEL5CJ_0roQlcsGtjjbMZJuC74d0AbxvsMato2dc40sGfw_sY9AhI994B0WwaP"}+ pt='foo bar' + '[' 'foo bar' '!=' 'foo bar' ']' + for data in "foo" "bar" "foo bar" "some-password-here" ++ echo some-password-here ++ clevis encrypt sss '{"t":1, "pins": {"tang": [{"url": "http://localhost:61466"}]}}' -y ++ clevis decrypt > 2022/06/17 22:13:57.000543425 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:57.000550073 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AbRxBdVrjcskxEG63ex-fc1rFqA9lJK03_dYd7UOQGNcwrPsS9a090UeeCc4qfqFrPhs_kgB1BgL5AwVb4eiVoZZAHqIbUnNHpf0FwET5BH9bP7QMKiVyzV1SkKK2uNPmCT_oY7gQcWu560eCPndF7T4KN1-JreugM5feLmjszQ-m5yZ"}> 2022/06/17 22:13:57.000672631 length=414 from=0 to=413 POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"ADjUBOIYnJHy9NWqrAzuOMsSQlcw5hRMk2Y4-QIqrEIB-b0xRJeZBvMweAtxNig9rgKxbhCq4AJGYrtYmneQW7HZ","y":"AQw8S8a_mkL8f6YEr8i20_hw2Du-ift68YI4T-3icfzLTvRJw-DniquWc9U9cUWyOfJMsdcU7gJeCnyfmERZq-HX"} POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g => 200 (../src/tangd.c:155) < 2022/06/17 22:13:57.000681290 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"APXzaSeps_DsJST3AahXnl8_rOFGWow9umQtJAUn56xsez4-fIqtVFyDTm_au1X5VlpQaVI5eWdZeVE5IsOGpo0y","y":"ARGEHSQKQKOykhmcrsxAKiagV3KRsjTabzVarSoTlX87Ac6r_pAQTRgs7kO1MiybcuskeAP-gF0VBvAgoqBa4oCy"}+ pt=some-password-here + '[' some-password-here '!=' some-password-here ']' ++ echo some-password-here ++ clevis encrypt sss '{"t":2, "pins": {"tang": [{"url": "http://localhost:61466"}, {"url": "http://localhost:61466"}]}}' -y ++ clevis decrypt > 2022/06/17 22:13:57.000788798 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:57.000792817 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AL4ojon3Uoxf8nheAVF9H3BN3KCqC3IR6zVt6j8dCPst1_79yMrVhx-a2jrGfpciGyndHObYcgZje9H1bkqkZVkLAbFjq_TJNLp-CIGUjsR86J6jdfVesbb6ltKCqMEfL91VxQfKr_g8gvCjiEHXjo3izKPfH-tWAOOuE0LCVDtlDL0R"}> 2022/06/17 22:13:57.000865869 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/06/17 22:13:57.000869864 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJGeU1hVGU2dmNkTGtZYVRCS0xJYXhYMFl0RnFObDIySzlmREFKQmw2aTdYRWFYWGYzZU1Xc0ZQUEN6YUNEM1ZBQTl1U3pPOEhMSXJ0c2JoX0VwQkJiZiIsICJ5IjogIkFJT1JWUE5Od2JKckstUFc4WVd3elgxNTdwWWs2dWE2SXc5eWZRZDRuQmV3NEJ1bjRYLU5ZZnp4cGkwckh2Wi1wMk1iN3RIUUVubUMtTFlBYzI0NUlESVMifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU8wVGY5M1J3VlA5MlB1S21BU1RtNEZiNURfd1ZZQ3FWUHBuVkI0T0htNDIzVkdNTFIzY0hubXFzU1lfRkw4c2FxQ0JZUU91SHVHQ3YwNm1xUHJDS0x1TyIsICJ5IjogIkFJdUNINlhqaUgwYWppaDcwN3JIVE50RG40TnM0MWUxU1Vfb0lkRE83a2NJUXo1cXMwa1h2c1h3MGpsRzZadEMtSFhYcEJfek15YThja0xTY3BxVTF3U0YifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AENDMpjwsP2uLRvb9umg57Q7klQDFN9m1cKSI-sCRHTZOxU_zZMltDkv63nQbt5q4MwAJxb2WcB9YSTOyw1UADAQADitp7wCU7xUmaWWNmqhR_K1w0nMhdGc_CxCDL5XhUVvFAfzR_EeXfh7iCqN3oHlbEX_iNE9ssBpiNud2OsBQnKH"}> 2022/06/17 22:13:57.000976948 length=414 from=0 to=413 POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g HTTP/1.1\r Host: localhost:61466\r User-Agent: curl/7.83.1\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AEQKUO6yWvha8baVhLcLbY_IVqI4VHnkQyWkIOjE8N8GzPB9OYLRTYA3I_> 2022/06/17 22:13:57.000977244 length=414 from=0 to=413 urPUOFS7Tm T/8ryeKcp/WiirU9Z7mxxqbd_2V55RJhPqiZi7CD7Czs0Vw"I,n"Ay-"e:c"VA5AFtzSLIxRo2F_UGVc8akEO6-ylXPFk97Eg5 FHfTJTqP4/Q15.d1j1\ro XHAoUsGtH:q blEohceaElgh3oUsjtE:h6v1o4H6-6Y\re pUes8etrV-YAZgvesnRtD:E jc7uIrslT/n7h.48s3aN.B10\rI hAecTcke8pqtj:_ c*"/}* \r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"ASBEz244Usxw--D77fCxFxFNFYS5RmYDSSovbeMELiuaVHBc1OTSnFtFNfu4nGLKn6eYiG_TaaRT5eBEXzRWuqiT","y":"AVTZyJAS4ZW02OWgOQMUs5YJcpFZJSYwx1rEyZCt--51X6Yo1WFTDaTQqj8qUWKTO0QfENUeWpzF2fwjDdwT-hXE"} POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g POST /rec/ir97xqd25RhqZ77z0wInA-ecV5FzLxoFUV8kO-lPk7g => 200 (../src/tangd.c:155) < 2022/06/17 22:13:57.000981665 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"Ad55jdOuEQqdVuQxmsPnoJ01REmUZnoET6Ti_5N41HcsJXIcyEC0WfZJXLeg8TkdJuIm3I47SlkluPZrhEf8Jbq8","y":"ADsAcc4hYSUkg4YlU1GFzra0QTpCWo64HGQP => 200 (../src/tangd.c:155) LruQGjkXRe8gZ2fzbbZ671VCpwsuJkp_CDWzI9BXPo9dmqrsXxed"}< 2022/06/17 22:13:57.000982078 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Length: 253\r \r {"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AV04q0KT5S2wfk55y7EvS9W4HV8rSAilL75cLoLQDOl5vPLC5h7BIesmMIvH8uLkgHbOI5B4xNxfNXabMMlsU9ll","y":"AIC0-dP4OWVrT1Io6gnKmpJxvyGFPXEMY9VUJ0hLGbs-KjqfDFK4idDG6VSMN8KMeNlJFtlizAsy8FqHCoF9pqYz"}+ pt=some-password-here + '[' some-password-here '!=' some-password-here ']' + DEV=/tmp/tmp.MjacKC/luks1-device + new_device luks1 /tmp/tmp.MjacKC/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.MjacKC/luks1-device + local PASS= ++ id -u + '[' 1000 '!=' 0 ']' + skip_test 'WARNING: You must be root to run this test; test skipped.' + echo 'WARNING: You must be root to run this test; test skipped.' WARNING: You must be root to run this test; test skipped. + exit 77 + on_exit + '[' '!' -d /tmp/tmp.MjacKC ']' + tang_stop /tmp/tmp.MjacKC + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.MjacKC + '[' -z /tmp/tmp.MjacKC ']' + local pidfile=/tmp/tmp.MjacKC/tang.pid + '[' -f /tmp/tmp.MjacKC/tang.pid ']' + local pid + pid=38211 + kill -9 38211 + rm -rf /tmp/tmp.MjacKC /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/assume-yes: line 25: 38211 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 42/44 tang-validate-adv OK 5.66s ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stdout: eyJhbGciOiJFQ0RILUVTIiwiY2xldmlzIjp7InBpbiI6InRhbmciLCJ0YW5nIjp7ImFkdiI6eyJrZXlzIjpbeyJhbGciOiJFUzUxMiIsImNydiI6IlAtNTIxIiwia2V5X29wcyI6WyJ2ZXJpZnkiXSwia3R5IjoiRUMiLCJ4IjoiQUthNUw1ZU9zTm1YUTB5ZTVMSjloNjVkV3pTMlJxWHA4UFZlUUJhekZmc1NEZVQ4S2F2MFRVMmVSN2w0dWV5TXhyYVFPd2NZaXVqSm5JblMwcS12emUtMyIsInkiOiJBVUJZWVdPYWVyckJvWGRMRDlrVUhQZU53bGRMU2xJQkxra0hvcGkzLV9ZSUFiVXFqX29QR1hVU0lKb2Q5RnRSUmRVUC14amlHODl5eHg2dDBIUzFiYmFCIn0seyJhbGciOiJFQ01SIiwiY3J2IjoiUC01MjEiLCJrZXlfb3BzIjpbImRlcml2ZUtleSJdLCJrdHkiOiJFQyIsIngiOiJBZEY3Nk5ZeDRQM2dVa1VURGZPemtrcmRhMkhkeHBfaGtWaEJsV00xTVBFZ2JnOTJ4ZV9QSFNhcXgybDhqUlZ3Zk1tV1VtTGsyTWlyelFIaUl0UndNQ3g0IiwieSI6IkFBRkNXTnIyVHdLNHZuUmdkcklnYjFCd0tDQ18tUHNjbVV0VDdYdEVTd2ZBcGRkNnZmRm5NYWgtTzM1dFFOQUpYblVrUDd1UWlXNDBhU1JfQS1aUFc4VTcifV19LCJ1cmwiOiJsb2NhbGhvc3Q6MzI3NTUifX0sImVuYyI6IkEyNTZHQ00iLCJlcGsiOnsiY3J2IjoiUC01MjEiLCJrdHkiOiJFQyIsIngiOiJBZG85ZzFrSmZoRDFhWnJpNnlCeUVac1o1RW5yRTNuQlBhNkUzRGUyS19jQUVaaUxXb2YxTDRVZ0U5QkQwS1hwcGFFdElpbkRWOFh2aGFwaGlfNzBVb0hRIiwieSI6IkFmamptbmVqb0JSY0M4RFpxVEtNWHUzRDBEa2VFV2xnc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iJBUEFEb0lyU1FHb2hZWW5IRVNndnFXSDBkcWxDcEVqYWRuODRJYmdETnl2T3RrV2tFaFhyMk4xazd4dVVKQUpiTzFMZ1MyX0tndHNrejY1NXNfMG9FcGVLIiwieSI6IkFSZXJJTERuZEVOS0lVaERQM3o3WFFrdHRfV2JNXzRucUd0T1I3d1BFbGo0UzBGODc0cGYwV2hjMGNDRFg2WlY0cGZHLWhyaFhBdldNRC1CT0Z5ei1ELUMifSwia2lkIjoiSFNkcFRWanVUdW44NURycXc4M1VySVYyU0FvNHByTDFBSHNYLTgyUnJrMCJ9..kiALy9sv9XLcTmnh.pbieVobwEFk.jCXCQHnLpyuUgcfT8dmh8w stderr: + . tang-common-test-functions ++ SOCAT=/usr/bin/socat ++ TANGD_KEYGEN=/usr/libexec/tangd-keygen ++ TANGD_UPDATE= ++ TANGD=/usr/libexec/tangd + trap on_exit EXIT ++ mktemp -d + TMP=/tmp/tmp.pGoaIe + CASES=/tmp/tmp.pGoaIe/cases + mkdir -p /tmp/tmp.pGoaIe/cases ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=56309 + RESP=/tmp/tmp.pGoaIe/cases/good-01 + cat ++ tang_create_adv /tmp/tmp.pGoaIe /dev/stdout ++ local basedir=/tmp/tmp.pGoaIe ++ local adv=/dev/stdout ++ local SIG=/tmp/tmp.pGoaIe/sig.jwk ++ jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.pGoaIe/sig.jwk ++ local EXC=/tmp/tmp.pGoaIe/exc.jwk ++ jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.pGoaIe/exc.jwk ++ local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' ++ jose jwk pub --set --input=/tmp/tmp.pGoaIe/sig.jwk --input=/tmp/tmp.pGoaIe/exc.jwk ++ jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.pGoaIe/sig.jwk --output=/dev/stdout + RESP=/tmp/tmp.pGoaIe/cases/bad-01 + adv='{' + cat + RESP=/tmp/tmp.pGoaIe/cases/bad-02 + cat + RESP=/tmp/tmp.pGoaIe/cases/bad-03 + cat + RESP=/tmp/tmp.pGoaIe/cases/bad-04 + cat + for c in "${CASES}"/good-* ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=32755 + STDERR=/tmp/tmp.pGoaIe/cases/good-01.stderr + do_test 32755 /tmp/tmp.pGoaIe/cases/good-01 /tmp/tmp.pGoaIe/cases/good-01.stderr + local port=32755 + local response=/tmp/tmp.pGoaIe/cases/good-01 + local stderr=/tmp/tmp.pGoaIe/cases/good-01.stderr + run_test_server 32755 /tmp/tmp.pGoaIe/cases/good-01 + local port=32755 + local response=/tmp/tmp.pGoaIe/cases/good-01 + '[' -z /usr/bin/socat ']' + '[' -z 32755 ']' + '[' -z /tmp/tmp.pGoaIe/cases/good-01 ']' + sleep 1 + /usr/bin/socat -v -v TCP-LISTEN:32755,reuseaddr 'SYSTEM:cat /tmp/tmp.pGoaIe/cases/good-01' ++ printf '{"url":"localhost:%d"}' 32755 + cfg='{"url":"localhost:32755"}' + echo foo + clevis encrypt tang '{"url":"localhost:32755"}' -y > 2022/06/17 22:13:56.000484991 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:32755\r User-Agent: curl/7.83.1\r Accept: */*\r \r < 2022/06/17 22:13:56.000486562 length=974 from=0 to=973 HTTP/1.0 200 OK {"payload":"eyJrZXlzIjpbeyJhbGciOiJFUzUxMiIsImNydiI6IlAtNTIxIiwia2V5X29wcyI6WyJ2ZXJpZnkiXSwia3R5IjoiRUMiLCJ4IjoiQUthNUw1ZU9zTm1YUTB5ZTVMSjloNjVkV3pTMlJxWHA4UFZlUUJhekZmc1NEZVQ4S2F2MFRVMmVSN2w0dWV5TXhyYVFPd2NZaXVqSm5JblMwcS12emUtMyIsInkiOiJBVUJZWVdPYWVyckJvWGRMRDlrVUhQZU53bGRMU2xJQkxra0hvcGkzLV9ZSUFiVXFqX29QR1hVU0lKb2Q5RnRSUmRVUC14amlHODl5eHg2dDBIUzFiYmFCIn0seyJhbGciOiJFQ01SIiwiY3J2IjoiUC01MjEiLCJrZXlfb3BzIjpbImRlcml2ZUtleSJdLCJrdHkiOiJFQyIsIngiOiJBZEY3Nk5ZeDRQM2dVa1VURGZPemtrcmRhMkhkeHBfaGtWaEJsV00xTVBFZ2JnOTJ4ZV9QSFNhcXgybDhqUlZ3Zk1tV1VtTGsyTWlyelFIaUl0UndNQ3g0IiwieSI6IkFBRkNXTnIyVHdLNHZuUmdkcklnYjFCd0tDQ18tUHNjbVV0VDdYdEVTd2ZBcGRkNnZmRm5NYWgtTzM1dFFOQUpYblVrUDd1UWlXNDBhU1JfQS1aUFc4VTcifV19","protected":"eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9","signature":"Afj6qWRXEJhBuVa3LC4dCeO_iMujxAJjBy98R0GRb5Jw6xx-cA76CA8H53cBPVn3paRGai55sssmLTtsxTT_TjqMAMWwxaFG4KH1h5-fs3_eAgv8ZDnEAuZLQuKQc_Ttsbd0mPR36Gb_Ph2klhhusuFoQFS4rdQn3vBWIepMaJo2kHB6"} + validate_output /tmp/tmp.pGoaIe/cases/good-01.stderr + local output=/tmp/tmp.pGoaIe/cases/good-01.stderr + grep -Fq jose /tmp/tmp.pGoaIe/cases/good-01.stderr + for c in "${CASES}"/bad-* ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=18686 + STDERR=/tmp/tmp.pGoaIe/cases/bad-01.stderr + do_test 18686 /tmp/tmp.pGoaIe/cases/bad-01 /tmp/tmp.pGoaIe/cases/bad-01.stderr + local port=18686 + local response=/tmp/tmp.pGoaIe/cases/bad-01 + local stderr=/tmp/tmp.pGoaIe/cases/bad-01.stderr + run_test_server 18686 /tmp/tmp.pGoaIe/cases/bad-01 + local port=18686 + local response=/tmp/tmp.pGoaIe/cases/bad-01 + '[' -z /usr/bin/socat ']' + '[' -z 18686 ']' + '[' -z /tmp/tmp.pGoaIe/cases/bad-01 ']' + sleep 1 + /usr/bin/socat -v -v TCP-LISTEN:18686,reuseaddr 'SYSTEM:cat /tmp/tmp.pGoaIe/cases/bad-01' ++ printf '{"url":"localhost:%d"}' 18686 + cfg='{"url":"localhost:18686"}' + echo foo + clevis encrypt tang '{"url":"localhost:18686"}' -y > 2022/06/17 22:13:57.000583300 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:18686\r User-Agent: curl/7.83.1\r Accept: */*\r \r < 2022/06/17 22:13:57.000584839 length=19 from=0 to=18 HTTP/1.0 200 OK { + echo 'Error (do_test) response: /tmp/tmp.pGoaIe/cases/bad-01' Error (do_test) response: /tmp/tmp.pGoaIe/cases/bad-01 + '[' -r /tmp/tmp.pGoaIe/cases/bad-01.stderr ']' + cat /tmp/tmp.pGoaIe/cases/bad-01.stderr Advertisement is malformed! + return 1 + validate_output /tmp/tmp.pGoaIe/cases/bad-01.stderr + local output=/tmp/tmp.pGoaIe/cases/bad-01.stderr + grep -Fq jose /tmp/tmp.pGoaIe/cases/bad-01.stderr + for c in "${CASES}"/bad-* ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=2557 + STDERR=/tmp/tmp.pGoaIe/cases/bad-02.stderr + do_test 2557 /tmp/tmp.pGoaIe/cases/bad-02 /tmp/tmp.pGoaIe/cases/bad-02.stderr + local port=2557 + local response=/tmp/tmp.pGoaIe/cases/bad-02 + local stderr=/tmp/tmp.pGoaIe/cases/bad-02.stderr + run_test_server 2557 /tmp/tmp.pGoaIe/cases/bad-02 + local port=2557 + local response=/tmp/tmp.pGoaIe/cases/bad-02 + '[' -z /usr/bin/socat ']' + '[' -z 2557 ']' + '[' -z /tmp/tmp.pGoaIe/cases/bad-02 ']' + sleep 1 + /usr/bin/socat -v -v TCP-LISTEN:2557,reuseaddr 'SYSTEM:cat /tmp/tmp.pGoaIe/cases/bad-02' ++ printf '{"url":"localhost:%d"}' 2557 + cfg='{"url":"localhost:2557"}' + echo foo + clevis encrypt tang '{"url":"localhost:2557"}' -y > 2022/06/17 22:13:58.000626519 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:2557\r User-Agent: curl/7.83.1\r Accept: */*\r \r < 2022/06/17 22:13:58.000627553 length=24 from=0 to=23 HTTP/1.0 404 Not Found + echo 'Error (do_test) response: /tmp/tmp.pGoaIe/cases/bad-02' Error (do_test) response: /tmp/tmp.pGoaIe/cases/bad-02 + '[' -r /tmp/tmp.pGoaIe/cases/bad-02.stderr ']' + cat /tmp/tmp.pGoaIe/cases/bad-02.stderr Unable to fetch advertisement: 'localhost:2557/adv/'! + return 1 + validate_output /tmp/tmp.pGoaIe/cases/bad-02.stderr + local output=/tmp/tmp.pGoaIe/cases/bad-02.stderr + grep -Fq jose /tmp/tmp.pGoaIe/cases/bad-02.stderr + for c in "${CASES}"/bad-* ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=6431 + STDERR=/tmp/tmp.pGoaIe/cases/bad-03.stderr + do_test 6431 /tmp/tmp.pGoaIe/cases/bad-03 /tmp/tmp.pGoaIe/cases/bad-03.stderr + local port=6431 + local response=/tmp/tmp.pGoaIe/cases/bad-03 + local stderr=/tmp/tmp.pGoaIe/cases/bad-03.stderr + run_test_server 6431 /tmp/tmp.pGoaIe/cases/bad-03 + local port=6431 + local response=/tmp/tmp.pGoaIe/cases/bad-03 + '[' -z /usr/bin/socat ']' + '[' -z 6431 ']' + '[' -z /tmp/tmp.pGoaIe/cases/bad-03 ']' + sleep 1 + /usr/bin/socat -v -v TCP-LISTEN:6431,reuseaddr 'SYSTEM:cat /tmp/tmp.pGoaIe/cases/bad-03' ++ printf '{"url":"localhost:%d"}' 6431 + cfg='{"url":"localhost:6431"}' + echo foo + clevis encrypt tang '{"url":"localhost:6431"}' -y > 2022/06/17 22:13:59.000668578 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:6431\r User-Agent: curl/7.83.1\r Accept: */*\r \r < 2022/06/17 22:13:59.000670054 length=32 from=0 to=31 HTTP/1.0 301 Moved Permanently + echo 'Error (do_test) response: /tmp/tmp.pGoaIe/cases/bad-03' Error (do_test) response: /tmp/tmp.pGoaIe/cases/bad-03 + '[' -r /tmp/tmp.pGoaIe/cases/bad-03.stderr ']' + cat /tmp/tmp.pGoaIe/cases/bad-03.stderr Advertisement is malformed! + return 1 + validate_output /tmp/tmp.pGoaIe/cases/bad-03.stderr + local output=/tmp/tmp.pGoaIe/cases/bad-03.stderr + grep -Fq jose /tmp/tmp.pGoaIe/cases/bad-03.stderr + for c in "${CASES}"/bad-* ++ tang_new_random_port ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ shuf -i 1024-65535 -n 1 + port=36743 + STDERR=/tmp/tmp.pGoaIe/cases/bad-04.stderr + do_test 36743 /tmp/tmp.pGoaIe/cases/bad-04 /tmp/tmp.pGoaIe/cases/bad-04.stderr + local port=36743 + local response=/tmp/tmp.pGoaIe/cases/bad-04 + local stderr=/tmp/tmp.pGoaIe/cases/bad-04.stderr + run_test_server 36743 /tmp/tmp.pGoaIe/cases/bad-04 + local port=36743 + local response=/tmp/tmp.pGoaIe/cases/bad-04 + '[' -z /usr/bin/socat ']' + '[' -z 36743 ']' + '[' -z /tmp/tmp.pGoaIe/cases/bad-04 ']' + sleep 1 + /usr/bin/socat -v -v TCP-LISTEN:36743,reuseaddr 'SYSTEM:cat /tmp/tmp.pGoaIe/cases/bad-04' ++ printf '{"url":"localhost:%d"}' 36743 + cfg='{"url":"localhost:36743"}' + echo foo + clevis encrypt tang '{"url":"localhost:36743"}' -y > 2022/06/17 22:14:00.000709954 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:36743\r User-Agent: curl/7.83.1\r Accept: */*\r \r < 2022/06/17 22:14:00.000711475 length=36 from=0 to=35 HTTP/1.0 500 Internal Server Error + echo 'Error (do_test) response: /tmp/tmp.pGoaIe/cases/bad-04' Error (do_test) response: /tmp/tmp.pGoaIe/cases/bad-04 + '[' -r /tmp/tmp.pGoaIe/cases/bad-04.stderr ']' + cat /tmp/tmp.pGoaIe/cases/bad-04.stderr Unable to fetch advertisement: 'localhost:36743/adv/'! + return 1 + validate_output /tmp/tmp.pGoaIe/cases/bad-04.stderr + local output=/tmp/tmp.pGoaIe/cases/bad-04.stderr + grep -Fq jose /tmp/tmp.pGoaIe/cases/bad-04.stderr + STDERR=/tmp/tmp.pGoaIe/cases/stderr + for adv in "[]" "]" "" "{}" + do_test_with_adv 36743 '[]' /tmp/tmp.pGoaIe/cases/stderr + local port=36743 + local 'adv=[]' + local stderr=/tmp/tmp.pGoaIe/cases/stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 36743 '[]' + cfg='{"url":"localhost:36743","adv":"[]"}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:36743","adv":"[]"}' + echo 'Error (do_test_with_adv) adv: [] response: ' Error (do_test_with_adv) adv: [] response: + '[' -r /tmp/tmp.pGoaIe/cases/stderr ']' + cat /tmp/tmp.pGoaIe/cases/stderr Advertisement file '[]' not found! + return 1 + validate_output /tmp/tmp.pGoaIe/cases/stderr + local output=/tmp/tmp.pGoaIe/cases/stderr + grep -Fq jose /tmp/tmp.pGoaIe/cases/stderr + for adv in "[]" "]" "" "{}" + do_test_with_adv 36743 ']' /tmp/tmp.pGoaIe/cases/stderr + local port=36743 + local 'adv=]' + local stderr=/tmp/tmp.pGoaIe/cases/stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 36743 ']' + cfg='{"url":"localhost:36743","adv":"]"}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:36743","adv":"]"}' + echo 'Error (do_test_with_adv) adv: ] response: ' Error (do_test_with_adv) adv: ] response: + '[' -r /tmp/tmp.pGoaIe/cases/stderr ']' + cat /tmp/tmp.pGoaIe/cases/stderr Advertisement file ']' not found! + return 1 + validate_output /tmp/tmp.pGoaIe/cases/stderr + local output=/tmp/tmp.pGoaIe/cases/stderr + grep -Fq jose /tmp/tmp.pGoaIe/cases/stderr + for adv in "[]" "]" "" "{}" + do_test_with_adv 36743 '' /tmp/tmp.pGoaIe/cases/stderr + local port=36743 + local adv= + local stderr=/tmp/tmp.pGoaIe/cases/stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 36743 '' + cfg='{"url":"localhost:36743","adv":""}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:36743","adv":""}' + echo 'Error (do_test_with_adv) adv: response: ' Error (do_test_with_adv) adv: response: + '[' -r /tmp/tmp.pGoaIe/cases/stderr ']' + cat /tmp/tmp.pGoaIe/cases/stderr Advertisement file '' not found! + return 1 + validate_output /tmp/tmp.pGoaIe/cases/stderr + local output=/tmp/tmp.pGoaIe/cases/stderr + grep -Fq jose /tmp/tmp.pGoaIe/cases/stderr + for adv in "[]" "]" "" "{}" + do_test_with_adv 36743 '{}' /tmp/tmp.pGoaIe/cases/stderr + local port=36743 + local 'adv={}' + local stderr=/tmp/tmp.pGoaIe/cases/stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 36743 '{}' + cfg='{"url":"localhost:36743","adv":"{}"}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:36743","adv":"{}"}' + echo 'Error (do_test_with_adv) adv: {} response: ' Error (do_test_with_adv) adv: {} response: + '[' -r /tmp/tmp.pGoaIe/cases/stderr ']' + cat /tmp/tmp.pGoaIe/cases/stderr Advertisement file '{}' not found! + return 1 + validate_output /tmp/tmp.pGoaIe/cases/stderr + local output=/tmp/tmp.pGoaIe/cases/stderr + grep -Fq jose /tmp/tmp.pGoaIe/cases/stderr + tang_run /tmp/tmp.pGoaIe 36743 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.pGoaIe + local port=36743 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.pGoaIe ']' + '[' -z 36743 ']' + tang_new_keys /tmp/tmp.pGoaIe '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.pGoaIe + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.pGoaIe ']' + local db=/tmp/tmp.pGoaIe/db + mkdir -p /tmp/tmp.pGoaIe/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.pGoaIe/db Unable to change owner/group for /tmp/tmp.pGoaIe/db/C5hYCbYINxbYuw_zN-5wZN-cdxGsqFoWjo9asE4S8pQ.jwk to tang:tang Unable to change owner/group for /tmp/tmp.pGoaIe/db/HSdpTVjuTun85Drqw83UrIV2SAo4prL1AHsX-82Rrk0.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.pGoaIe/cache + '[' -z '' ']' + KEYS=/tmp/tmp.pGoaIe/db + local pid pidfile + pidfile=/tmp/tmp.pGoaIe/tang.pid + pid=41376 + echo 41376 + /usr/bin/socat -v -v TCP-LISTEN:36743,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.pGoaIe/db' + tang_wait_until_ready 36743 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=36743 + '[' -z 36743 ']' + local max_timeout_in_s=5 + local start elapsed + start=5 + curl --output /dev/null --silent --fail http://localhost:36743/adv > 2022/06/17 22:14:00.000851098 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:36743\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:14:00.000857786 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFRTllrOGxjNmdXSDNGbHA0TmhKbkpKcnN6N3djSFItLXpRaGcxMDhFRE5zQi1WakRkRXBlMXNNYWtUN3ZYdk9jbjV6LTZYRzRQRHdKV0FuLUlHZlNfVC0iLCAieSI6ICJBVXRfRW43eEdBakd4VGQ4OHU1emx0ZkRON29lVmMxb3lKYXpvLTFZQ0tQMXh6Z3RuOEtYVEZYRmNBa3dsS0E0NUQ1SnR2eDNHbWRSZkhZa0VxVzdnV1EwIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUxMYzBDNEVKdWdQclhIeFhrcFJMd1hLVkJaX1MtSC1YZm85Z1RpVWlZZEVaMkdGQk0zSW9oN3A5eUljYWk5VzNnQVBzVmw5WkFvUGpUeDUwdzVkMTloNCIsICJ5IjogIkFlNjNwQTRqdjBxcm1oLV8xV3VVZTVRVGtUX2VsamNyWk4xU3NJeHBjd3BVSGxldnFjaW1MbEVWNk1JTlhuWXpMZzJMcnhIVWx6aHVDSEFLV3Jia1dvZWQifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AdgC4i91lkfD5iRrzC11l8wv_NqgV-mNS8jUvHt3kXjpVjnAHAROITSusX3MToG7xWMseqj7sQEhciBi5a4ntd5ZAB-mwruZ4pale2J2-KriwoW2pAHuXYbO5oMWgfY0ib73kt0AQ74CxilCWiDMuApCwECCBPGZjUcWfSIGfP5C0ZIM"}+ touch /tmp/tmp.pGoaIe/cases/adv-bad-01 + echo '{' + echo foobar + tang_get_adv 36743 /tmp/tmp.pGoaIe/cases/adv-good-01 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=36743 + local adv=/tmp/tmp.pGoaIe/cases/adv-good-01 + '[' -z 36743 ']' + curl -L -o /tmp/tmp.pGoaIe/cases/adv-good-01 http://localhost:36743/adv % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0> 2022/06/17 22:14:00.000868685 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:36743\r User-Agent: curl/7.83.1\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/06/17 22:14:00.000875294 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFRTllrOGxjNmdXSDNGbHA0TmhKbkpKcnN6N3djSFItLXpRaGcxMDhFRE5zQi1WakRkRXBlMXNNYWtUN3ZYdk9jbjV6LTZYRzRQRHdKV0FuLUlHZlNfVC0iLCAieSI6ICJBVXRfRW43eEdBakd4VGQ4OHU1emx0ZkRON29lVmMxb3lKYXpvLTFZQ0tQMXh6Z3RuOEtYVEZYRmNBa3dsS0E0NUQ1SnR2eDNHbWRSZkhZa0VxVzdnV1EwIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUxMYzBDNEVKdWdQclhIeFhrcFJMd1hLVkJaX1MtSC1YZm85Z1RpVWlZZEVaMkdGQk0zSW9oN3A5eUljYWk5VzNnQVBzVmw5WkFvUGpUeDUwdzVkMTloNCIsICJ5IjogIkFlNjNwQTRqdjBxcm1oLV8xV3VVZTVRVGtUX2VsamNyWk4xU3NJeHBjd3BVSGxldnFjaW1MbEVWNk1JTlhuWXpMZzJMcnhIVWx6aHVDSEFLV3Jia1dvZWQifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AVqeT9RIdNL8Ay-Hz5W1cjZIxMuW_fNygwiFHdILddM7qhF4pPOw_g_lCxa3TleQqj5cCtHFHMRCdBdFCzeqxP1mAaadU7ljeuSMmsfGCu2YnUGWW5LHRWV9oj-infWR1iyXUtL-w0jNR3rV8re86-WmDcW8lvTbZ-5uID-PDqszRGGh"} 100 993 100 993 0 0 100k 0 --:--:-- --:--:-- --:--:-- 107k + for adv in "${CASES}"/adv-good-* + STDERR=/tmp/tmp.pGoaIe/cases/adv-good-01.stderr + do_test_with_adv 36743 /tmp/tmp.pGoaIe/cases/adv-good-01 /tmp/tmp.pGoaIe/cases/adv-good-01.stderr + local port=36743 + local adv=/tmp/tmp.pGoaIe/cases/adv-good-01 + local stderr=/tmp/tmp.pGoaIe/cases/adv-good-01.stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 36743 /tmp/tmp.pGoaIe/cases/adv-good-01 + cfg='{"url":"localhost:36743","adv":"/tmp/tmp.pGoaIe/cases/adv-good-01"}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:36743","adv":"/tmp/tmp.pGoaIe/cases/adv-good-01"}' + validate_output /tmp/tmp.pGoaIe/cases/adv-good-01.stderr + local output=/tmp/tmp.pGoaIe/cases/adv-good-01.stderr + grep -Fq jose /tmp/tmp.pGoaIe/cases/adv-good-01.stderr + for adv in "${CASES}"/adv-bad-* + STDERR=/tmp/tmp.pGoaIe/cases/adv-bad-01.stderr + do_test_with_adv 36743 /tmp/tmp.pGoaIe/cases/adv-bad-01 /tmp/tmp.pGoaIe/cases/adv-bad-01.stderr + local port=36743 + local adv=/tmp/tmp.pGoaIe/cases/adv-bad-01 + local stderr=/tmp/tmp.pGoaIe/cases/adv-bad-01.stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 36743 /tmp/tmp.pGoaIe/cases/adv-bad-01 + cfg='{"url":"localhost:36743","adv":"/tmp/tmp.pGoaIe/cases/adv-bad-01"}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:36743","adv":"/tmp/tmp.pGoaIe/cases/adv-bad-01"}' + echo 'Error (do_test_with_adv) adv: /tmp/tmp.pGoaIe/cases/adv-bad-01 response: ' Error (do_test_with_adv) adv: /tmp/tmp.pGoaIe/cases/adv-bad-01 response: + '[' -r /tmp/tmp.pGoaIe/cases/adv-bad-01.stderr ']' + cat /tmp/tmp.pGoaIe/cases/adv-bad-01.stderr Advertisement file '' is malformed! + return 1 + validate_output /tmp/tmp.pGoaIe/cases/adv-bad-01.stderr + local output=/tmp/tmp.pGoaIe/cases/adv-bad-01.stderr + grep -Fq jose /tmp/tmp.pGoaIe/cases/adv-bad-01.stderr + for adv in "${CASES}"/adv-bad-* + STDERR=/tmp/tmp.pGoaIe/cases/adv-bad-02.stderr + do_test_with_adv 36743 /tmp/tmp.pGoaIe/cases/adv-bad-02 /tmp/tmp.pGoaIe/cases/adv-bad-02.stderr + local port=36743 + local adv=/tmp/tmp.pGoaIe/cases/adv-bad-02 + local stderr=/tmp/tmp.pGoaIe/cases/adv-bad-02.stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 36743 /tmp/tmp.pGoaIe/cases/adv-bad-02 + cfg='{"url":"localhost:36743","adv":"/tmp/tmp.pGoaIe/cases/adv-bad-02"}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:36743","adv":"/tmp/tmp.pGoaIe/cases/adv-bad-02"}' + echo 'Error (do_test_with_adv) adv: /tmp/tmp.pGoaIe/cases/adv-bad-02 response: ' Error (do_test_with_adv) adv: /tmp/tmp.pGoaIe/cases/adv-bad-02 response: + '[' -r /tmp/tmp.pGoaIe/cases/adv-bad-02.stderr ']' + cat /tmp/tmp.pGoaIe/cases/adv-bad-02.stderr Advertisement file '' is malformed! + return 1 + validate_output /tmp/tmp.pGoaIe/cases/adv-bad-02.stderr + local output=/tmp/tmp.pGoaIe/cases/adv-bad-02.stderr + grep -Fq jose /tmp/tmp.pGoaIe/cases/adv-bad-02.stderr + for adv in "${CASES}"/adv-bad-* + STDERR=/tmp/tmp.pGoaIe/cases/adv-bad-03.stderr + do_test_with_adv 36743 /tmp/tmp.pGoaIe/cases/adv-bad-03 /tmp/tmp.pGoaIe/cases/adv-bad-03.stderr + local port=36743 + local adv=/tmp/tmp.pGoaIe/cases/adv-bad-03 + local stderr=/tmp/tmp.pGoaIe/cases/adv-bad-03.stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 36743 /tmp/tmp.pGoaIe/cases/adv-bad-03 + cfg='{"url":"localhost:36743","adv":"/tmp/tmp.pGoaIe/cases/adv-bad-03"}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:36743","adv":"/tmp/tmp.pGoaIe/cases/adv-bad-03"}' + echo 'Error (do_test_with_adv) adv: /tmp/tmp.pGoaIe/cases/adv-bad-03 response: ' Error (do_test_with_adv) adv: /tmp/tmp.pGoaIe/cases/adv-bad-03 response: + '[' -r /tmp/tmp.pGoaIe/cases/adv-bad-03.stderr ']' + cat /tmp/tmp.pGoaIe/cases/adv-bad-03.stderr Advertisement file '' is malformed! + return 1 + validate_output /tmp/tmp.pGoaIe/cases/adv-bad-03.stderr + local output=/tmp/tmp.pGoaIe/cases/adv-bad-03.stderr + grep -Fq jose /tmp/tmp.pGoaIe/cases/adv-bad-03.stderr + on_exit + local exit_status=0 + tang_stop /tmp/tmp.pGoaIe + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.pGoaIe + '[' -z /tmp/tmp.pGoaIe ']' + local pidfile=/tmp/tmp.pGoaIe/tang.pid + '[' -f /tmp/tmp.pGoaIe/tang.pid ']' + local pid + pid=41376 + kill -9 41376 + '[' -d /tmp/tmp.pGoaIe ']' + rm -rf /tmp/tmp.pGoaIe /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/tests/tang-validate-adv: line 23: 41376 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" + exit 0 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― Ok: 5 Expected Fail: 0 Fail: 0 Unexpected Pass: 0 Skipped: 39 Timeout: 0 Full log written to /home/buildozer/aports/testing/clevis/src/clevis-18/output/meson-logs/testlog.txt >>> clevis: Entering fakeroot... Installing src/luks/udisks2/clevis-luks-udisks2 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/libexec Installing src/pins/sss/clevis-decrypt-sss to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing src/pins/sss/clevis-encrypt-sss to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing clevis-luks-unbind.1 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/man/man1 Installing clevis-luks-bind.1 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/man/man1 Installing clevis-luks-unlockers.7 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/man/man7 Installing clevis-luks-list.1 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/man/man1 Installing clevis-luks-unlock.1 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/man/man1 Installing clevis-luks-regen.1 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/man/man1 Installing clevis-luks-report.1 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/man/man1 Installing clevis-luks-edit.1 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/man/man1 Installing clevis-luks-pass.1 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/man/man1 Installing clevis-encrypt-sss.1 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/man/man1 Installing clevis-encrypt-tang.1 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/man/man1 Installing clevis-encrypt-tpm2.1 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/man/man1 Installing clevis-decrypt.1 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/man/man1 Installing clevis.1 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/man/man1 Installing /home/buildozer/aports/testing/clevis/src/clevis-18/src/bash/clevis to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/bash-completion/completions Installing /home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/udisks2/clevis-luks-udisks2.desktop to /home/buildozer/aports/testing/clevis/pkg/clevis/etc/xdg/autostart Installing /home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/clevis-luks-unbind to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/clevis-luks-bind to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing /home/buildozer/aports/testing/clevis/src/clevis-18/output/src/luks/clevis-luks-common-functions to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/clevis-luks-list to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/clevis-luks-unlock to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/clevis-luks-regen to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/clevis-luks-report to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/clevis-luks-edit to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/clevis-luks-pass to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/clevis-decrypt-tang to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/clevis-encrypt-tang to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2/clevis-decrypt-tpm2 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2/clevis-encrypt-tpm2 to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing /home/buildozer/aports/testing/clevis/src/clevis-18/src/clevis-decrypt to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin Installing /home/buildozer/aports/testing/clevis/src/clevis-18/src/clevis to /home/buildozer/aports/testing/clevis/pkg/clevis/usr/bin >>> clevis-dbg*: Running split function dbg... >>> clevis-dbg*: Preparing subpackage clevis-dbg... >>> clevis-dbg*: Running postcheck for clevis-dbg >>> clevis-doc*: Running split function doc... >>> clevis-doc*: Preparing subpackage clevis-doc... >>> clevis-doc*: Running postcheck for clevis-doc >>> clevis-bash-completion*: Running split function bashcomp... '/home/buildozer/aports/testing/clevis/pkg/clevis/usr/share/bash-completion/completions' -> '/home/buildozer/aports/testing/clevis/pkg/clevis-bash-completion/usr/share/bash-completion/completions' >>> clevis-bash-completion*: Preparing subpackage clevis-bash-completion... >>> clevis-bash-completion*: Running postcheck for clevis-bash-completion >>> clevis*: Running postcheck for clevis >>> clevis*: Preparing package clevis... >>> clevis-bash-completion*: Scanning shared objects >>> clevis-dbg*: Scanning shared objects >>> clevis-doc*: Scanning shared objects >>> clevis*: Scanning shared objects >>> clevis-bash-completion*: Tracing dependencies... >>> clevis-bash-completion*: Package size: 24.0 KB >>> clevis-bash-completion*: Compressing data... >>> clevis-bash-completion*: Create checksum... >>> clevis-bash-completion*: Create clevis-bash-completion-18-r0.apk >>> clevis-dbg*: Tracing dependencies... >>> clevis-dbg*: Package size: 140.0 KB >>> clevis-dbg*: Compressing data... >>> clevis-dbg*: Create checksum... >>> clevis-dbg*: Create clevis-dbg-18-r0.apk >>> clevis-doc*: Tracing dependencies... >>> clevis-doc*: Package size: 80.0 KB >>> clevis-doc*: Compressing data... >>> clevis-doc*: Create checksum... >>> clevis-doc*: Create clevis-doc-18-r0.apk >>> clevis*: Tracing dependencies... bash cryptsetup jose libpwquality so:libaudit.so.1 so:libc.musl-x86_64.so.1 so:libcrypto.so.1.1 so:libcryptsetup.so.12 so:libgio-2.0.so.0 so:libglib-2.0.so.0 so:libgobject-2.0.so.0 so:libjansson.so.4 so:libjose.so.0 so:libluksmeta.so.0 so:libudisks2.so.0 >>> clevis*: Package size: 216.0 KB >>> clevis*: Compressing data... >>> clevis*: Create checksum... >>> clevis*: Create clevis-18-r0.apk >>> clevis: Build complete at Fri, 17 Jun 2022 22:14:03 +0000 elapsed time 0h 0m 24s >>> clevis: Cleaning up srcdir >>> clevis: Cleaning up pkgdir >>> clevis: Uninstalling dependencies... (1/146) Purging meson-bash-completion (0.62.2-r0) (2/146) Purging tpm2-tools-bash-completion (5.2-r1) (3/146) Purging .makedepends-clevis (20220617.221340) (4/146) Purging cryptsetup-openrc (2.4.3-r0) (5/146) Purging cryptsetup (2.4.3-r0) (6/146) Purging libpwquality (1.4.4-r3) (7/146) Purging cracklib-words (2.9.7-r4) (8/146) Purging asciidoc (9.1.1-r0) (9/146) Purging source-highlight (3.1.9-r5) (10/146) Purging git-bash-completion (2.36.1-r0) (11/146) Purging openrc-bash-completion (0.44.10-r7) (12/146) Purging bash-completion (2.11-r4) (13/146) Purging bash (5.1.16-r2) Executing bash-5.1.16-r2.pre-deinstall (14/146) Purging meson (0.62.2-r0) (15/146) Purging samurai (1.2-r2) (16/146) Purging tpm2-tools (5.2-r1) (17/146) Purging jose-dev (11-r1) (18/146) Purging audit-dev (3.0.8-r0) (19/146) Purging audit-libs (3.0.8-r0) (20/146) Purging udisks2-dev (2.9.4-r1) (21/146) Purging gobject-introspection-dev (1.72.0-r0) (22/146) Purging cairo-dev (1.17.6-r1) (23/146) Purging cairo-tools (1.17.6-r1) (24/146) Purging xcb-util-dev (0.4.0-r3) (25/146) Purging util-macros (1.19.3-r0) (26/146) Purging xcb-util (0.4.0-r3) (27/146) Purging cairo-gobject (1.17.6-r1) (28/146) Purging cairo (1.17.6-r1) (29/146) Purging libtool (2.4.7-r0) (30/146) Purging libltdl (2.4.7-r0) (31/146) Purging polkit-dev (0.120-r2) (32/146) Purging polkit-common (0.120-r2) (33/146) Purging polkit-libs (0.120-r2) (34/146) Purging dbus-glib-dev (0.112-r0) (35/146) Purging dbus-glib (0.112-r0) (36/146) Purging libatasmart-dev (0.19-r1) (37/146) Purging libatasmart (0.19-r1) (38/146) Purging libgudev-dev (237-r1) (39/146) Purging libgudev (237-r1) (40/146) Purging acl-dev (2.3.1-r0) (41/146) Purging lvm2-dev (2.02.187-r2) (42/146) Purging lvm2-libs (2.02.187-r2) (43/146) Purging udisks2-libs (2.9.4-r1) (44/146) Purging luksmeta-dev (9-r0) (45/146) Purging luksmeta (9-r0) (46/146) Purging jq (1.6-r1) (47/146) Purging tang-openrc (11-r0) (48/146) Purging socat (1.7.4.3-r0) (49/146) Purging tang (11-r0) (50/146) Purging jose (11-r1) (51/146) Purging udev-init-scripts-openrc (35-r0) (52/146) Purging eudev-openrc (3.2.11-r0) (53/146) Purging glib-dev (2.72.2-r0) (54/146) Purging gettext-dev (0.21-r2) (55/146) Purging gettext-asprintf (0.21-r2) (56/146) Purging gettext (0.21-r2) (57/146) Purging bzip2-dev (1.0.8-r1) (58/146) Purging docbook-xsl (1.79.2-r4) Executing docbook-xsl-1.79.2-r4.post-deinstall (59/146) Purging libxslt (1.1.35-r0) (60/146) Purging docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-deinstall (61/146) Purging libxml2-utils (2.9.14-r0) (62/146) Purging python3 (3.10.5-r0) (63/146) Purging readline (8.1.2-r0) (64/146) Purging dbus-dev (1.14.0-r1) (65/146) Purging dbus-libs (1.14.0-r1) (66/146) Purging util-linux-dev (2.38-r1) (67/146) Purging libfdisk (2.38-r1) (68/146) Purging libsmartcols (2.38-r1) (69/146) Purging eudev-dev (3.2.11-r0) (70/146) Purging eudev (3.2.11-r0) (71/146) Purging udev-init-scripts (35-r0) (72/146) Purging eudev-libs (3.2.11-r0) (73/146) Purging cryptsetup-dev (2.4.3-r0) (74/146) Purging cryptsetup-libs (2.4.3-r0) (75/146) Purging gobject-introspection (1.72.0-r0) (76/146) Purging glib (2.72.2-r0) (77/146) Purging libmount (2.38-r1) (78/146) Purging libblkid (2.38-r1) (79/146) Purging argon2-libs (20190702-r1) (80/146) Purging device-mapper-event-libs (2.02.187-r2) (81/146) Purging device-mapper-libs (2.02.187-r2) (82/146) Purging tpm2-tss-fapi (3.1.0-r0) (83/146) Purging acl (2.3.1-r0) (84/146) Purging json-c (0.16-r0) (85/146) Purging libuuid (2.38-r1) (86/146) Purging jansson-dev (2.14-r0) (87/146) Purging libjose (11-r1) (88/146) Purging jansson (2.14-r0) (89/146) Purging cracklib (2.9.7-r4) (90/146) Purging gettext-libs (0.21-r2) (91/146) Purging libintl (0.21-r2) (92/146) Purging linux-pam (1.5.2-r0) (93/146) Purging libffi-dev (3.4.2-r1) (94/146) Purging linux-headers (5.16.7-r1) (95/146) Purging libffi (3.4.2-r1) (96/146) Purging gdbm (1.23-r0) (97/146) Purging mpdecimal (2.5.1-r1) (98/146) Purging sqlite-libs (3.38.5-r0) (99/146) Purging libxml2 (2.9.14-r0) (100/146) Purging libgcrypt (1.10.1-r0) (101/146) Purging libgpg-error (1.45-r0) (102/146) Purging tpm2-tss-esys (3.1.0-r0) (103/146) Purging tpm2-tss-sys (3.1.0-r0) (104/146) Purging tpm2-tss-mu (3.1.0-r0) (105/146) Purging tpm2-tss-tctildr (3.1.0-r0) (106/146) Purging tpm2-tss-rc (3.1.0-r0) (107/146) Purging openssl-dev (1.1.1o-r0) (108/146) Purging fontconfig-dev (2.14.0-r0) (109/146) Purging fontconfig (2.14.0-r0) (110/146) Purging freetype-dev (2.12.1-r0) (111/146) Purging freetype (2.12.1-r0) (112/146) Purging libpng-dev (1.6.37-r1) (113/146) Purging libpng (1.6.37-r1) (114/146) Purging zlib-dev (1.2.12-r1) (115/146) Purging libcap-ng (0.8.3-r1) (116/146) Purging expat-dev (2.4.8-r0) (117/146) Purging brotli-dev (1.0.9-r6) (118/146) Purging libxrender-dev (0.9.10-r3) (119/146) Purging libxrender (0.9.10-r3) (120/146) Purging libxext-dev (1.3.4-r0) (121/146) Purging libxext (1.3.4-r0) (122/146) Purging libx11-dev (1.8.1-r1) (123/146) Purging xtrans (1.4.0-r1) (124/146) Purging libx11 (1.8.1-r1) (125/146) Purging libxcb-dev (1.15-r0) (126/146) Purging xcb-proto (1.15-r0) (127/146) Purging libxcb (1.15-r0) (128/146) Purging libxau-dev (1.0.9-r0) (129/146) Purging libxau (1.0.9-r0) (130/146) Purging libxdmcp-dev (1.1.3-r0) (131/146) Purging libxdmcp (1.1.3-r0) (132/146) Purging xorgproto (2022.1-r0) (133/146) Purging libbsd (0.11.6-r2) (134/146) Purging libmd (1.0.4-r0) (135/146) Purging pixman-dev (0.40.0-r3) (136/146) Purging pixman (0.40.0-r3) (137/146) Purging pcre-dev (8.45-r2) (138/146) Purging libpcre16 (8.45-r2) (139/146) Purging libpcre32 (8.45-r2) (140/146) Purging libpcrecpp (8.45-r2) (141/146) Purging pcre (8.45-r2) (142/146) Purging libunistring (1.0-r0) (143/146) Purging kmod-libs (29-r2) (144/146) Purging libaio (0.3.112-r2) (145/146) Purging oniguruma (6.9.8-r0) (146/146) Purging http-parser (2.9.4-r0) Executing busybox-1.35.0-r16.trigger OK: 333 MiB in 100 packages >>> clevis: Updating the testing/x86_64 repository index... >>> clevis: Signing the index...