>>> clevis: Building testing/clevis 18-r1 (using abuild 3.9.0-r3) started Thu, 04 Aug 2022 19:42:53 +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/139) Installing readline (8.1.2-r0) (2/139) Installing bash (5.1.16-r2) Executing bash-5.1.16-r2.post-install (3/139) Installing argon2-libs (20190702-r1) (4/139) Installing device-mapper-libs (2.02.187-r2) (5/139) Installing json-c (0.16-r0) (6/139) Installing libuuid (2.38-r3) (7/139) Installing cryptsetup-libs (2.5.0-r1) (8/139) Installing cryptsetup (2.5.0-r1) (9/139) Installing jansson (2.14-r0) (10/139) Installing libjose (11-r2) (11/139) Installing jose (11-r2) (12/139) Installing cracklib-words (2.9.7-r4) (13/139) Installing cracklib (2.9.7-r4) (14/139) Installing libintl (0.21-r3) (15/139) Installing linux-pam (1.5.2-r1) (16/139) Installing libpwquality (1.4.4-r3) (17/139) Installing libffi (3.4.2-r1) (18/139) Installing gdbm (1.23-r0) (19/139) Installing mpdecimal (2.5.1-r1) (20/139) Installing sqlite-libs (3.39.2-r0) (21/139) Installing python3 (3.10.5-r2) (22/139) Installing libxml2 (2.9.14-r1) (23/139) Installing libxml2-utils (2.9.14-r1) (24/139) Installing libgpg-error (1.45-r0) (25/139) Installing libgcrypt (1.10.1-r0) (26/139) Installing libxslt (1.1.35-r0) (27/139) Installing docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-install (28/139) Installing docbook-xsl (1.79.2-r4) Executing docbook-xsl-1.79.2-r4.post-install (29/139) Installing source-highlight (3.1.9-r5) (30/139) Installing asciidoc (9.1.1-r0) (31/139) Installing bash-completion (2.11-r4) (32/139) Installing samurai (1.2-r2) (33/139) Installing meson (0.63.0-r1) (34/139) Installing meson-bash-completion (0.63.0-r1) (35/139) Installing tpm2-tss-mu (3.2.0-r0) (36/139) Installing tpm2-tss-sys (3.2.0-r0) (37/139) Installing tpm2-tss-esys (3.2.0-r0) (38/139) Installing acl (2.3.1-r1) (39/139) Installing tpm2-tss-tctildr (3.2.0-r0) (40/139) Installing tpm2-tss-fapi (3.2.0-r0) Executing tpm2-tss-fapi-3.2.0-r0.pre-install Executing tpm2-tss-fapi-3.2.0-r0.post-install (41/139) Installing tpm2-tss-rc (3.2.0-r0) (42/139) Installing tpm2-tools (5.2-r2) (43/139) Installing tpm2-tools-bash-completion (5.2-r2) (44/139) Installing cryptsetup-dev (2.5.0-r1) (45/139) Installing jansson-dev (2.14-r0) (46/139) Installing openssl-dev (3.0.5-r1) (47/139) Installing zlib-dev (1.2.12-r1) (48/139) Installing jose-dev (11-r2) (49/139) Installing linux-headers (5.16.7-r1) (50/139) Installing libcap-ng (0.8.3-r1) (51/139) Installing audit-libs (3.0.8-r0) (52/139) Installing audit-dev (3.0.8-r0) (53/139) Installing cairo-tools (1.17.6-r2) (54/139) Installing libpng (1.6.37-r1) (55/139) Installing freetype (2.12.1-r0) (56/139) Installing fontconfig (2.14.0-r0) (57/139) Installing expat (2.4.8-r1) (58/139) Installing expat-dev (2.4.8-r1) (59/139) Installing brotli-dev (1.0.9-r7) (60/139) Installing libpng-dev (1.6.37-r1) (61/139) Installing freetype-dev (2.12.1-r0) (62/139) Installing fontconfig-dev (2.14.0-r0) (63/139) Installing libxau (1.0.9-r0) (64/139) Installing xorgproto (2022.1-r0) (65/139) Installing libxau-dev (1.0.9-r0) (66/139) Installing libmd (1.0.4-r0) (67/139) Installing libbsd (0.11.6-r2) (68/139) Installing libxdmcp (1.1.3-r0) (69/139) Installing libxcb (1.15-r0) (70/139) Installing libx11 (1.8.1-r1) (71/139) Installing libxext (1.3.4-r0) (72/139) Installing xcb-proto (1.15-r0) (73/139) Installing libxdmcp-dev (1.1.3-r0) (74/139) Installing libxcb-dev (1.15-r0) (75/139) Installing xtrans (1.4.0-r1) (76/139) Installing libx11-dev (1.8.1-r1) (77/139) Installing libxext-dev (1.3.4-r0) (78/139) Installing libxrender (0.9.10-r3) (79/139) Installing libxrender-dev (0.9.10-r3) (80/139) Installing pixman (0.40.0-r3) (81/139) Installing pixman-dev (0.40.0-r3) (82/139) Installing util-macros (1.19.3-r0) (83/139) Installing xcb-util (0.4.0-r3) (84/139) Installing xcb-util-dev (0.4.0-r3) (85/139) Installing cairo (1.17.6-r2) (86/139) Installing libmount (2.38-r3) (87/139) Installing pcre (8.45-r2) (88/139) Installing glib (2.72.3-r0) (89/139) Installing cairo-gobject (1.17.6-r2) (90/139) Installing gettext-asprintf (0.21-r3) (91/139) Installing libunistring (1.0-r0) (92/139) Installing gettext-libs (0.21-r3) (93/139) Installing gettext (0.21-r3) (94/139) Installing gettext-dev (0.21-r3) (95/139) Installing bzip2-dev (1.0.8-r1) (96/139) Installing libffi-dev (3.4.2-r1) (97/139) Installing libpcre16 (8.45-r2) (98/139) Installing libpcre32 (8.45-r2) (99/139) Installing libpcrecpp (8.45-r2) (100/139) Installing pcre-dev (8.45-r2) (101/139) Installing libfdisk (2.38-r3) (102/139) Installing libsmartcols (2.38-r3) (103/139) Installing util-linux-dev (2.38-r3) (104/139) Installing glib-dev (2.72.3-r0) (105/139) Installing cairo-dev (1.17.6-r2) (106/139) Installing libltdl (2.4.7-r0) (107/139) Installing libtool (2.4.7-r0) (108/139) Installing gobject-introspection (1.72.0-r0) (109/139) Installing gobject-introspection-dev (1.72.0-r0) (110/139) Installing polkit-libs (121-r0) (111/139) Installing polkit-common (121-r0) Executing polkit-common-121-r0.pre-install (112/139) Installing dbus-libs (1.14.0-r1) (113/139) Installing dbus-glib (0.112-r0) (114/139) Installing dbus-dev (1.14.0-r1) (115/139) Installing dbus-glib-dev (0.112-r0) (116/139) Installing polkit-dev (121-r0) (117/139) Installing libatasmart (0.19-r1) (118/139) Installing libatasmart-dev (0.19-r1) (119/139) Installing libgudev (237-r1) (120/139) Installing libgudev-dev (237-r1) (121/139) Installing acl-dev (2.3.1-r1) (122/139) Installing device-mapper-event-libs (2.02.187-r2) (123/139) Installing libaio (0.3.112-r2) (124/139) Installing lvm2-libs (2.02.187-r2) (125/139) Installing lvm2-dev (2.02.187-r2) (126/139) Installing udisks2-libs (2.9.4-r1) (127/139) Installing udisks2-dev (2.9.4-r1) (128/139) Installing luksmeta (9-r0) (129/139) Installing luksmeta-dev (9-r0) (130/139) Installing oniguruma (6.9.8-r0) (131/139) Installing jq (1.6-r1) (132/139) Installing http-parser (2.9.4-r0) (133/139) Installing tang (11-r0) Executing tang-11-r0.pre-install (134/139) Installing .makedepends-clevis (20220804.194255) (135/139) Installing cryptsetup-openrc (2.5.0-r1) (136/139) Installing socat (1.7.4.3-r1) (137/139) Installing tang-openrc (11-r0) (138/139) Installing openrc-bash-completion (0.45.2-r0) (139/139) Installing git-bash-completion (2.37.1-r1) Executing busybox-1.35.0-r22.trigger Executing cracklib-2.9.7-r4.trigger Executing glib-2.72.3-r0.trigger No schema files found: removed existing output file. OK: 967 MiB in 262 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 100 78191 100 78191 0 0 550k 0 --:--:-- --:--:-- --:--:-- 553k >>> clevis: Fetching https://distfiles.alpinelinux.org/distfiles/edge/clevis-openssl3.patch % 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 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> clevis: Fetching clevis-openssl3.patch::https://github.com/latchset/clevis/commit/ee1dfedb9baca107e66a0fec76693c9d479dcfd9.patch % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1500 100 1500 0 0 4793 0 --:--:-- --:--:-- --:--:-- 4807 >>> clevis: Fetching https://distfiles.alpinelinux.org/distfiles/edge/clevis-18.tar.gz >>> clevis: Fetching https://distfiles.alpinelinux.org/distfiles/edge/clevis-openssl3.patch >>> clevis: Checking sha512sums... clevis-18.tar.gz: OK musl.patch: OK clevis-openssl3.patch: OK >>> clevis: Unpacking /var/cache/distfiles/edge/clevis-18.tar.gz... >>> clevis: musl.patch patching file src/pins/sss/sss.h >>> clevis: clevis-openssl3.patch patching file src/pins/sss/sss.c The Meson build system Version: 0.63.0 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.5.0 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.3 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 3.0.5 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_=97 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 >>> MALLOC_PERTURB_=230 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-luks1 3/44 unbind-unbound-slot-luks1 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/unbind-unbound-slot-luks1 4/44 unbind-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_=47 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unbind-luks1 5/44 bind-key-file-non-interactive RUNNING >>> MALLOC_PERTURB_=95 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-key-file-non-interactive-luks1 6/44 bind-pass-with-newline RUNNING >>> MALLOC_PERTURB_=93 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-luks1 7/44 bind-pass-with-newline-keyfile 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/bind-pass-with-newline-keyfile-luks1 8/44 bind-binary-keyfile 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_=217 /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_=200 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_=62 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_=94 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 >>> 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_=60 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/list-tang-luks1 13/44 list-sss-tang-luks1 RUNNING >>> MALLOC_PERTURB_=155 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 >>> MALLOC_PERTURB_=10 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/unlock-tang-luks1 15/44 assume-yes RUNNING >>> MALLOC_PERTURB_=41 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 16/44 regen-inplace-luks1 RUNNING >>> MALLOC_PERTURB_=25 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_=2 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 >>> MALLOC_PERTURB_=69 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-tang-luks1 19/44 report-sss-luks1 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/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_=172 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/edit-tang-luks1 21/44 backup-restore-luks1 RUNNING >>> MALLOC_PERTURB_=88 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_=166 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 >>> 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_=24 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-wrong-pass-luks2 24/44 bind-luks2 RUNNING >>> MALLOC_PERTURB_=197 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_=53 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 >>> MALLOC_PERTURB_=227 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-luks2 27/44 list-recursive-luks2 RUNNING >>> MALLOC_PERTURB_=128 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_=11 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 >>> MALLOC_PERTURB_=237 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-luks2 30/44 unlock-tang-luks2 RUNNING >>> MALLOC_PERTURB_=126 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/unlock-tang-luks2 31/44 assume-yes-luks2 RUNNING >>> MALLOC_PERTURB_=61 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_=186 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.25s 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.jDlLIN + ADV=/tmp/tmp.jDlLIN/adv.jws + tang_create_adv /tmp/tmp.jDlLIN /tmp/tmp.jDlLIN/adv.jws + local basedir=/tmp/tmp.jDlLIN + local adv=/tmp/tmp.jDlLIN/adv.jws + local SIG=/tmp/tmp.jDlLIN/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.jDlLIN/sig.jwk + local EXC=/tmp/tmp.jDlLIN/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.jDlLIN/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.jDlLIN/sig.jwk --input=/tmp/tmp.jDlLIN/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.jDlLIN/sig.jwk --output=/tmp/tmp.jDlLIN/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.jDlLIN/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.jDlLIN/adv.jws"}' + DEV=/tmp/tmp.jDlLIN/luks1-device + new_device luks1 /tmp/tmp.jDlLIN/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.jDlLIN/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.jDlLIN ']' + rm -rf /tmp/tmp.jDlLIN ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 2/44 bind-luks1 SKIP 0.25s 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.nhMCCi + ADV=/tmp/tmp.nhMCCi/adv.jws + tang_create_adv /tmp/tmp.nhMCCi /tmp/tmp.nhMCCi/adv.jws + local basedir=/tmp/tmp.nhMCCi + local adv=/tmp/tmp.nhMCCi/adv.jws + local SIG=/tmp/tmp.nhMCCi/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.nhMCCi/sig.jwk + local EXC=/tmp/tmp.nhMCCi/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.nhMCCi/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.nhMCCi/sig.jwk --input=/tmp/tmp.nhMCCi/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.nhMCCi/sig.jwk --output=/tmp/tmp.nhMCCi/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.nhMCCi/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.nhMCCi/adv.jws"}' + DEV=/tmp/tmp.nhMCCi/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks1 /tmp/tmp.nhMCCi/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.nhMCCi/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.nhMCCi ']' + rm -rf /tmp/tmp.nhMCCi ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 3/44 unbind-unbound-slot-luks1 SKIP 0.25s 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.emPnCp + DEV=/tmp/tmp.emPnCp/luks1-device + new_device luks1 /tmp/tmp.emPnCp/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.emPnCp/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.emPnCp ']' + rm -rf /tmp/tmp.emPnCp ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 4/44 unbind-luks1 SKIP 0.24s 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.dgnbhe + ADV=/tmp/tmp.dgnbhe/adv.jws + tang_create_adv /tmp/tmp.dgnbhe /tmp/tmp.dgnbhe/adv.jws + local basedir=/tmp/tmp.dgnbhe + local adv=/tmp/tmp.dgnbhe/adv.jws + local SIG=/tmp/tmp.dgnbhe/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.dgnbhe/sig.jwk + local EXC=/tmp/tmp.dgnbhe/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.dgnbhe/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.dgnbhe/sig.jwk --input=/tmp/tmp.dgnbhe/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.dgnbhe/sig.jwk --output=/tmp/tmp.dgnbhe/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.dgnbhe/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.dgnbhe/adv.jws"}' + DEV=/tmp/tmp.dgnbhe/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks1 /tmp/tmp.dgnbhe/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.dgnbhe/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.dgnbhe ']' + rm -rf /tmp/tmp.dgnbhe ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 5/44 bind-key-file-non-interactive SKIP 0.24s 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.ANiiBn + ADV=/tmp/tmp.ANiiBn/adv.jws + tang_create_adv /tmp/tmp.ANiiBn /tmp/tmp.ANiiBn/adv.jws + local basedir=/tmp/tmp.ANiiBn + local adv=/tmp/tmp.ANiiBn/adv.jws + local SIG=/tmp/tmp.ANiiBn/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.ANiiBn/sig.jwk + local EXC=/tmp/tmp.ANiiBn/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.ANiiBn/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.ANiiBn/sig.jwk --input=/tmp/tmp.ANiiBn/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.ANiiBn/sig.jwk --output=/tmp/tmp.ANiiBn/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.ANiiBn/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.ANiiBn/adv.jws"}' + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + KEYFILE=/tmp/tmp.ANiiBn/key ++ new_passphrase ++ jose jwk gen '--input={"kty":"oct","bytes":8}' --output=- ++ jose fmt --json=- --object --get k --unquote=- + PASS=neTUclonN7Y + echo -n neTUclonN7Y + DEV=/tmp/tmp.ANiiBn/luks1-device + new_device_keyfile luks1 /tmp/tmp.ANiiBn/luks1-device /tmp/tmp.ANiiBn/key + local LUKS=luks1 + local DEV=/tmp/tmp.ANiiBn/luks1-device + local KEYFILE=/tmp/tmp.ANiiBn/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.ANiiBn ']' + rm -rf /tmp/tmp.ANiiBn ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 6/44 bind-pass-with-newline SKIP 0.24s 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.CEEKbA + ADV=/tmp/tmp.CEEKbA/adv.jws + tang_create_adv /tmp/tmp.CEEKbA /tmp/tmp.CEEKbA/adv.jws + local basedir=/tmp/tmp.CEEKbA + local adv=/tmp/tmp.CEEKbA/adv.jws + local SIG=/tmp/tmp.CEEKbA/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.CEEKbA/sig.jwk + local EXC=/tmp/tmp.CEEKbA/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.CEEKbA/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.CEEKbA/sig.jwk --input=/tmp/tmp.CEEKbA/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.CEEKbA/sig.jwk --output=/tmp/tmp.CEEKbA/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.CEEKbA/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.CEEKbA/adv.jws"}' + DEV=/tmp/tmp.CEEKbA/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + PASS='foo bar \\&#@@&@*!)( 25294$ ' + new_device luks1 /tmp/tmp.CEEKbA/luks1-device 'foo bar \\&#@@&@*!)( 25294$ ' + local LUKS=luks1 + local DEV=/tmp/tmp.CEEKbA/luks1-device + local 'PASS=foo bar \\&#@@&@*!)( 25294$ ' ++ 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.CEEKbA ']' + rm -rf /tmp/tmp.CEEKbA ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 7/44 bind-pass-with-newline-keyfile SKIP 0.24s 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.oiPOjh + ADV=/tmp/tmp.oiPOjh/adv.jws + tang_create_adv /tmp/tmp.oiPOjh /tmp/tmp.oiPOjh/adv.jws + local basedir=/tmp/tmp.oiPOjh + local adv=/tmp/tmp.oiPOjh/adv.jws + local SIG=/tmp/tmp.oiPOjh/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.oiPOjh/sig.jwk + local EXC=/tmp/tmp.oiPOjh/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.oiPOjh/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.oiPOjh/sig.jwk --input=/tmp/tmp.oiPOjh/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.oiPOjh/sig.jwk --output=/tmp/tmp.oiPOjh/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.oiPOjh/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.oiPOjh/adv.jws"}' + DEV=/tmp/tmp.oiPOjh/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + PASS='foo bar \\&#@@&@*!)( 25301$ ' + KEYFILE=/tmp/tmp.oiPOjh/key + echo -n 'foo bar \\&#@@&@*!)( 25301$ ' + new_device_keyfile luks1 /tmp/tmp.oiPOjh/luks1-device /tmp/tmp.oiPOjh/key + local LUKS=luks1 + local DEV=/tmp/tmp.oiPOjh/luks1-device + local KEYFILE=/tmp/tmp.oiPOjh/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.oiPOjh ']' + rm -rf /tmp/tmp.oiPOjh ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 8/44 bind-binary-keyfile SKIP 0.24s 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.AMFIPH ++ 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=57626 + tang_run /tmp/tmp.AMFIPH 57626 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.AMFIPH + local port=57626 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.AMFIPH ']' + '[' -z 57626 ']' + tang_new_keys /tmp/tmp.AMFIPH '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.AMFIPH + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.AMFIPH ']' + local db=/tmp/tmp.AMFIPH/db + mkdir -p /tmp/tmp.AMFIPH/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.AMFIPH/db Unable to change owner/group for /tmp/tmp.AMFIPH/db/cDtjmutsJp_Yf5Bc3sLhDDOQxBAeBJSGBMsNmZOv0EY.jwk to tang:tang Unable to change owner/group for /tmp/tmp.AMFIPH/db/eKuWS-95s0_iNLgFLRcnE9AXUkEUvsbOllqAtrkfQTg.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.AMFIPH/cache + '[' -z '' ']' + KEYS=/tmp/tmp.AMFIPH/db + local pid pidfile + pidfile=/tmp/tmp.AMFIPH/tang.pid + pid=25420 + echo 25420 + /usr/bin/socat -v -v TCP-LISTEN:57626,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.AMFIPH/db' + tang_wait_until_ready 57626 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=57626 + '[' -z 57626 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:57626/adv > 2022/08/04 19:43:09.000798537 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:57626\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000806649 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWJFR2c4VnVEN0pJbXptWFNUbGlNTXMyUFpRMFJkalM5XzZzbEF4UmZUTHhCd040SlBCRkNxdEhWNnBFLTB6eU5RTzh4bkktQ18xZzNtUGRvNUt6R3AwSSIsICJ5IjogIkFhTUZzUVl4RWllazFwZ0poZWZ3OVFVTDhfczkzS3RHSzJET0ZGNjFvaVZFTC1hZFkyMVdZS2t2QlFTaFFGNzcydUJYWnY2SVhkY2F5TVRSdHRpa2FVVXYifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUpNZWdZR1FfcWdaNUJfcDgtcmI5Yl9OY0tqemVwRzZVQXFxTGZPSmgxU1ZXdFFDNVNvQlY5eURzek9MeHd1RktaN0RVSnVETHc0dWtkeXJxM28taHVCUSIsICJ5IjogIkFOZDY1NkdmOE1taWpyQ25ZYVkxQjJtWFlabGt2by1GUzNNbFp5R1lWUEZMdkZHZTYyeERWaFNPTHJ0U2g4dmJnSDRodFVYY3RlaWxrREdQZ2J2UndzQ3UifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AUDQ-PW4huVunBXmhMF1lC-FolySqbLErfuw4XZOU5Jr7uhAf9c-gUimaL3SFxtzIhvXV3snku87YP4WwEH8p4jCAKmW2Kr4Vis2Ek0Utjg-6l_xVPG582ik7fj15qOMsS6oxRzcuLdmNjI_N7DOtQnXw89svtss4WiyriuLBpnggrZR"}+ url=http://localhost:57626 + ADV=/tmp/tmp.AMFIPH/adv.jws + tang_get_adv 57626 /tmp/tmp.AMFIPH/adv.jws + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=57626 + local adv=/tmp/tmp.AMFIPH/adv.jws + '[' -z 57626 ']' + curl -L -o /tmp/tmp.AMFIPH/adv.jws http://localhost:57626/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/08/04 19:43:09.000813708 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:57626\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000821570 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWJFR2c4VnVEN0pJbXptWFNUbGlNTXMyUFpRMFJkalM5XzZzbEF4UmZUTHhCd040SlBCRkNxdEhWNnBFLTB6eU5RTzh4bkktQ18xZzNtUGRvNUt6R3AwSSIsICJ5IjogIkFhTUZzUVl4RWllazFwZ0poZWZ3OVFVTDhfczkzS3RHSzJET0ZGNjFvaVZFTC1hZFkyMVdZS2t2QlFTaFFGNzcydUJYWnY2SVhkY2F5TVRSdHRpa2FVVXYifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUpNZWdZR1FfcWdaNUJfcDgtcmI5Yl9OY0tqemVwRzZVQXFxTGZPSmgxU1ZXdFFDNVNvQlY5eURzek9MeHd1RktaN0RVSnVETHc0dWtkeXJxM28taHVCUSIsICJ5IjogIkFOZDY1NkdmOE1taWpyQ25ZYVkxQjJtWFlabGt2by1GUzNNbFp5R1lWUEZMdkZHZTYyeERWaFNPTHJ0U2g4dmJnSDRodFVYY3RlaWxrREdQZ2J2UndzQ3UifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AZ-yS5H2yX1vc4AbQGRwxqGZ7OwhgkjsE6YCdIOKo1FN4wJM7RJRxpl_DUjlCOOQRQuDXp8hX0vtS7McBLYmvsXIAIebM_ThUWyg2nklsgZ3x5ViIon8RBQi2s7Fd89dzN9EzPt3U4hayZRvZaYfeGJqSi08OIT0XPqb7gMkdM4UqW3J"} 100 993 100 993 0 0 101k 0 --:--:-- --:--:-- --:--:-- 107k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:57626 /tmp/tmp.AMFIPH/adv.jws + CFG='{"url":"http://localhost:57626","adv":"/tmp/tmp.AMFIPH/adv.jws"}' + DEV=/tmp/tmp.AMFIPH/luks1-device + KEYFILE=/tmp/tmp.AMFIPH/key + dd if=/dev/urandom bs=4096 count=1 + new_device_keyfile luks1 /tmp/tmp.AMFIPH/luks1-device /tmp/tmp.AMFIPH/key + local LUKS=luks1 + local DEV=/tmp/tmp.AMFIPH/luks1-device + local KEYFILE=/tmp/tmp.AMFIPH/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.AMFIPH + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.AMFIPH + '[' -z /tmp/tmp.AMFIPH ']' + local pidfile=/tmp/tmp.AMFIPH/tang.pid + '[' -f /tmp/tmp.AMFIPH/tang.pid ']' + local pid + pid=25420 + kill -9 25420 + '[' -d /tmp/tmp.AMFIPH ']' + rm -rf /tmp/tmp.AMFIPH /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/bind-binary-keyfile-luks1: line 25: 25420 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" + exit 77 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 9/44 bind-already-used-luksmeta-slot SKIP 0.23s 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.ahIiME + ADV=/tmp/tmp.ahIiME/adv.jws + tang_create_adv /tmp/tmp.ahIiME /tmp/tmp.ahIiME/adv.jws + local basedir=/tmp/tmp.ahIiME + local adv=/tmp/tmp.ahIiME/adv.jws + local SIG=/tmp/tmp.ahIiME/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.ahIiME/sig.jwk + local EXC=/tmp/tmp.ahIiME/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.ahIiME/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.ahIiME/sig.jwk --input=/tmp/tmp.ahIiME/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.ahIiME/sig.jwk --output=/tmp/tmp.ahIiME/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.ahIiME/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.ahIiME/adv.jws"}' + DEV=/tmp/tmp.ahIiME/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.ahIiME/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.ahIiME/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.ahIiME ']' + rm -rf /tmp/tmp.ahIiME ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 10/44 bad-sss SKIP 0.23s 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.OLFOEe + CFG='{"t":1, "pins":{"tang":[{"url":"foo bar"}]}}' + DEV=/tmp/tmp.OLFOEe/luks1-device + new_device luks1 /tmp/tmp.OLFOEe/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.OLFOEe/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.OLFOEe ']' + rm -rf /tmp/tmp.OLFOEe ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 11/44 list-recursive-luks1 SKIP 0.23s 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.MGkfEe + ADV=/tmp/tmp.MGkfEe/adv.jws + tang_create_adv /tmp/tmp.MGkfEe /tmp/tmp.MGkfEe/adv.jws + local basedir=/tmp/tmp.MGkfEe + local adv=/tmp/tmp.MGkfEe/adv.jws + local SIG=/tmp/tmp.MGkfEe/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.MGkfEe/sig.jwk + local EXC=/tmp/tmp.MGkfEe/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.MGkfEe/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.MGkfEe/sig.jwk --input=/tmp/tmp.MGkfEe/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.MGkfEe/sig.jwk --output=/tmp/tmp.MGkfEe/adv.jws + PIN=sss ++ printf ' { "t": 1, "pins": { "sss": { "t": 1, "pins": { "sss": { "t": 1, "pins": { "tang": [ { "url": "ADDR","adv": "%s" } ] } } } } } } ' /tmp/tmp.MGkfEe/adv.jws + CFG=' { "t": 1, "pins": { "sss": { "t": 1, "pins": { "sss": { "t": 1, "pins": { "tang": [ { "url": "ADDR","adv": "/tmp/tmp.MGkfEe/adv.jws" } ] } } } } } }' + DEV=/tmp/tmp.MGkfEe/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks1 /tmp/tmp.MGkfEe/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.MGkfEe/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.MGkfEe ']' + rm -rf /tmp/tmp.MGkfEe ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 12/44 list-tang-luks1 SKIP 0.23s 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.ehkBde + ADV=/tmp/tmp.ehkBde/adv.jws + tang_create_adv /tmp/tmp.ehkBde /tmp/tmp.ehkBde/adv.jws + local basedir=/tmp/tmp.ehkBde + local adv=/tmp/tmp.ehkBde/adv.jws + local SIG=/tmp/tmp.ehkBde/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.ehkBde/sig.jwk + local EXC=/tmp/tmp.ehkBde/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.ehkBde/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.ehkBde/sig.jwk --input=/tmp/tmp.ehkBde/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.ehkBde/sig.jwk --output=/tmp/tmp.ehkBde/adv.jws + PIN=tang ++ printf '{"url": "ADDR","adv": "%s"}' /tmp/tmp.ehkBde/adv.jws + CFG='{"url": "ADDR","adv": "/tmp/tmp.ehkBde/adv.jws"}' + DEV=/tmp/tmp.ehkBde/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks1 /tmp/tmp.ehkBde/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.ehkBde/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.ehkBde ']' + rm -rf /tmp/tmp.ehkBde ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 13/44 list-sss-tang-luks1 SKIP 0.22s 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.hDLAMk + ADV=/tmp/tmp.hDLAMk/adv.jws + tang_create_adv /tmp/tmp.hDLAMk /tmp/tmp.hDLAMk/adv.jws + local basedir=/tmp/tmp.hDLAMk + local adv=/tmp/tmp.hDLAMk/adv.jws + local SIG=/tmp/tmp.hDLAMk/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.hDLAMk/sig.jwk + local EXC=/tmp/tmp.hDLAMk/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.hDLAMk/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.hDLAMk/sig.jwk --input=/tmp/tmp.hDLAMk/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.hDLAMk/sig.jwk --output=/tmp/tmp.hDLAMk/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.hDLAMk/adv.jws /tmp/tmp.hDLAMk/adv.jws /tmp/tmp.hDLAMk/adv.jws /tmp/tmp.hDLAMk/adv.jws /tmp/tmp.hDLAMk/adv.jws + CFG=' { "t": 2, "pins": { "tang": [ {"url":"ADDR1","adv":"/tmp/tmp.hDLAMk/adv.jws"}, {"url":"ADDR2","adv":"/tmp/tmp.hDLAMk/adv.jws"}, {"url":"ADDR3","adv":"/tmp/tmp.hDLAMk/adv.jws"}, {"url":"ADDR4","adv":"/tmp/tmp.hDLAMk/adv.jws"}, {"url":"ADDR5","adv":"/tmp/tmp.hDLAMk/adv.jws"} ] } }' + DEV=/tmp/tmp.hDLAMk/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks1 /tmp/tmp.hDLAMk/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.hDLAMk/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.hDLAMk ']' + rm -rf /tmp/tmp.hDLAMk ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 14/44 unlock-tang-luks1 SKIP 0.22s 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.aOJomf ++ 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=36754 + tang_run /tmp/tmp.aOJomf 36754 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.aOJomf + local port=36754 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.aOJomf ']' + '[' -z 36754 ']' + tang_new_keys /tmp/tmp.aOJomf '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.aOJomf + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.aOJomf ']' + local db=/tmp/tmp.aOJomf/db + mkdir -p /tmp/tmp.aOJomf/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.aOJomf/db Unable to change owner/group for /tmp/tmp.aOJomf/db/UwIC2C8mHzbHA3wCuxcbA29iCntJhXgje2Z0S6zN6-Y.jwk to tang:tang Unable to change owner/group for /tmp/tmp.aOJomf/db/gOPNDZIt_YO5JyuKDGld6zey1rhigkgJ3bgGmJVPQTc.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.aOJomf/cache + '[' -z '' ']' + KEYS=/tmp/tmp.aOJomf/db + local pid pidfile + pidfile=/tmp/tmp.aOJomf/tang.pid + pid=25510 + echo 25510 + /usr/bin/socat -v -v TCP-LISTEN:36754,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.aOJomf/db' + tang_wait_until_ready 36754 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=36754 + '[' -z 36754 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:36754/adv > 2022/08/04 19:43:09.000821851 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:36754\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000830031 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWVMaVZYaUtrU1BremhuSGlDd05LLVdYY1RqR3pta3p5SlRDMHhUUDZiMG1nZkR6bXRwdXpnMjVud2xwcW10V2daNXRicDR3MHNqYk44Q29RVEZpeHRuZyIsICJ5IjogIkFkS21LVkdqd0FWRW1VZjRHTkZ6MmU0MTBJbWhLWWVqUkZzNmhhd2Z1b0g3S2ltUVVlT1dBbHZ6UlhFU1g4Y3FrTTRodVdlYlJ3QWl2Sm1YVkppbXlqQ1AifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU5kbDJfMFZQeUZUdk5LaWRUMXBzN3Qzakd6a196eEdqTjdqUTFGZUZMM0s3UDloWWdMLV9CWk5XejRNc1QwSFI1dW1TUFJKZFJsR2dBVnNfNWRkWGF3VCIsICJ5IjogIkFRd0RjUWxQUFhPV3VVWHVYcE5yVkxxdHVEOXNFUVRSY2JJX05ta212WV90VUhNQUtERFdWRGxSSFAxTW43UE5IRGFLQ1dzdE1oLUlvZ2RSVVh6VzlQMWgifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AS8SEoaBPqdgy_gLE6b9_vYBhpaw8aSYqrLZyhdwbnkgOtmLpJ908MDc-l3_IcJ_51_2vkQHwMTaNaJdQEYa2WY8ASBIiGAFsqjegm5DdG7UR8rVepJWVhtsvpJOknF-WKmUkRRkZnrmamWvmnKFlY3qvDEpBUZakbURRDcA-oyVZMrL"}+ url=http://localhost:36754 + adv=/tmp/tmp.aOJomf/adv + tang_get_adv 36754 /tmp/tmp.aOJomf/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=36754 + local adv=/tmp/tmp.aOJomf/adv + '[' -z 36754 ']' + curl -L -o /tmp/tmp.aOJomf/adv http://localhost:36754/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/08/04 19:43:09.000837307 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:36754\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000846431 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWVMaVZYaUtrU1BremhuSGlDd05LLVdYY1RqR3pta3p5SlRDMHhUUDZiMG1nZkR6bXRwdXpnMjVud2xwcW10V2daNXRicDR3MHNqYk44Q29RVEZpeHRuZyIsICJ5IjogIkFkS21LVkdqd0FWRW1VZjRHTkZ6MmU0MTBJbWhLWWVqUkZzNmhhd2Z1b0g3S2ltUVVlT1dBbHZ6UlhFU1g4Y3FrTTRodVdlYlJ3QWl2Sm1YVkppbXlqQ1AifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU5kbDJfMFZQeUZUdk5LaWRUMXBzN3Qzakd6a196eEdqTjdqUTFGZUZMM0s3UDloWWdMLV9CWk5XejRNc1QwSFI1dW1TUFJKZFJsR2dBVnNfNWRkWGF3VCIsICJ5IjogIkFRd0RjUWxQUFhPV3VVWHVYcE5yVkxxdHVEOXNFUVRSY2JJX05ta212WV90VUhNQUtERFdWRGxSSFAxTW43UE5IRGFLQ1dzdE1oLUlvZ2RSVVh6VzlQMWgifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AAn9EWg54frpa4w5DrsgGVOOwGadatqNtOWZEYtzzPLuS6LMQu_OvxpLrDuRMNRjvv-lk-U5EKIdTuamC8HgRm-JAfaIkXb620zCFsZWeVaCncb_o8F8fx5LdhbGp2MuFtQo3lWPM3ZC0Ag7xsXXGvF0RMpH9ClAT6wLGY8ndTXVuLQ2"} 100 993 100 993 0 0 91808 0 --:--:-- --:--:-- --:--:-- 99300 ++ printf '{"url":"%s","adv":"%s"}' http://localhost:36754 /tmp/tmp.aOJomf/adv + cfg='{"url":"http://localhost:36754","adv":"/tmp/tmp.aOJomf/adv"}' + DEV=/tmp/tmp.aOJomf/luks1-device + new_device luks1 /tmp/tmp.aOJomf/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.aOJomf/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.aOJomf ']' + tang_stop /tmp/tmp.aOJomf + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.aOJomf + '[' -z /tmp/tmp.aOJomf ']' + local pidfile=/tmp/tmp.aOJomf/tang.pid + '[' -f /tmp/tmp.aOJomf/tang.pid ']' + local pid + pid=25510 + kill -9 25510 + rm -rf /tmp/tmp.aOJomf /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unlock-tang-luks1: line 25: 25510 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 16/44 regen-inplace-luks1 SKIP 0.22s 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.MmhboD ++ 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=59371 + tang_run /tmp/tmp.MmhboD 59371 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.MmhboD + local port=59371 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.MmhboD ']' + '[' -z 59371 ']' + tang_new_keys /tmp/tmp.MmhboD '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.MmhboD + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.MmhboD ']' + local db=/tmp/tmp.MmhboD/db + mkdir -p /tmp/tmp.MmhboD/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.MmhboD/db Unable to change owner/group for /tmp/tmp.MmhboD/db/mfQwtKfoDOQF3InBDg8mS6naHNEzUyNuIkDPY1DP5M4.jwk to tang:tang Unable to change owner/group for /tmp/tmp.MmhboD/db/jX00xvziE99jlycLpG-aI69S1eO6Skpmq05HlrvmR7w.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.MmhboD/cache + '[' -z '' ']' + KEYS=/tmp/tmp.MmhboD/db + local pid pidfile + pidfile=/tmp/tmp.MmhboD/tang.pid + pid=25566 + + /usr/bin/socat -v echo -v TCP-LISTEN:59371,reuseaddr,fork 25566 'exec:/usr/libexec/tangd /tmp/tmp.MmhboD/db' + tang_wait_until_ready 59371 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=59371 + '[' -z 59371 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:59371/adv > 2022/08/04 19:43:09.000833887 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:59371\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000842131 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVhFazRzT1c2cjQ2WDhPbGQyNzlKTFNkM0lreng0VzU1UHlFZUpCemYzWGhNWnhKanpPR3JObWxlT1pFNDhHWE5IeVR4WVJqOGJqM3RXZlM2TjR4WWxkMCIsICJ5IjogIkFHNHB1Sjk3cTQyNVl6SHhmSnJBMXVNY3VMY1dlTUdUTE14ZHJ0TnFFVEV2UkxmRDRUSGkwRlJCd3N0NGRXX0F3cG9OR09aTDBibk5YT2V5Zl84V3NOeEsifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUJyblNkdjJsWnhNaVlkSEtGY2pZSGhiMWtxd2VQaUxSN0Eza2lqV3dpWjdIaGxVQmU4Q2pvbm81NXB0RV9EaEhsOWJJVXFyVmNLU0w3V0R0a3ZqNlBEViIsICJ5IjogIkFKUHJGdDcwcjVJNTBmV25NaTduUmMxTXhyRGNvOTBHT3g0NWVBYUd1NHJZNVNpVGRVaXFaZjlfa2ZkSklqN0NHNkdfUkVEU3VuT3E5a2F4aWZzQ1I3VjUifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AVajNyKpTokWICh42UPgi8J93ZyqZdwroPJ4ydVZgcjMTO1pHPbpGnJZzCvE0aKEfi8IfAQCJDbShUZFfy-XWAqyAHERivhYqx6qfn6Wpz-gINPxMdbuEWFe_1X7nKF9MBQHxSItxhaWHk5YHDfArT0YrV_SC5JrhBM905ltaQe_-mts"}+ url=http://localhost:59371 + adv=/tmp/tmp.MmhboD/adv + tang_get_adv 59371 /tmp/tmp.MmhboD/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=59371 + local adv=/tmp/tmp.MmhboD/adv + '[' -z 59371 ']' + curl -L -o /tmp/tmp.MmhboD/adv http://localhost:59371/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/08/04 19:43:09.000849554 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:59371\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000857793 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVhFazRzT1c2cjQ2WDhPbGQyNzlKTFNkM0lreng0VzU1UHlFZUpCemYzWGhNWnhKanpPR3JObWxlT1pFNDhHWE5IeVR4WVJqOGJqM3RXZlM2TjR4WWxkMCIsICJ5IjogIkFHNHB1Sjk3cTQyNVl6SHhmSnJBMXVNY3VMY1dlTUdUTE14ZHJ0TnFFVEV2UkxmRDRUSGkwRlJCd3N0NGRXX0F3cG9OR09aTDBibk5YT2V5Zl84V3NOeEsifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUJyblNkdjJsWnhNaVlkSEtGY2pZSGhiMWtxd2VQaUxSN0Eza2lqV3dpWjdIaGxVQmU4Q2pvbm81NXB0RV9EaEhsOWJJVXFyVmNLU0w3V0R0a3ZqNlBEViIsICJ5IjogIkFKUHJGdDcwcjVJNTBmV25NaTduUmMxTXhyRGNvOTBHT3g0NWVBYUd1NHJZNVNpVGRVaXFaZjlfa2ZkSklqN0NHNkdfUkVEU3VuT3E5a2F4aWZzQ1I3VjUifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "Aen6aOAvLV8sp8hu4b1LIxel8KmKkcUewDMoBSwVLD0jIC_b0jf_iGx8HqjQDYIaWXuBmOYP1xRrEhYtfYvaOFCuACUFIUj7Ik_2ZHRczv1X1BBPQhiAiMfY27QeOxu2GtS8vtFDrqcqMsfP6sIju1G7cU4usWtpZYdbJ8XPo7d-wfn6"} 100 993 100 993 0 0 98570 0 --:--:-- --:--:-- --:--:-- 107k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:59371 /tmp/tmp.MmhboD/adv + cfg='{"url":"http://localhost:59371","adv":"/tmp/tmp.MmhboD/adv"}' + DEV=/tmp/tmp.MmhboD/luks1-device + new_device luks1 /tmp/tmp.MmhboD/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.MmhboD/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.MmhboD ']' + tang_stop /tmp/tmp.MmhboD + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.MmhboD + '[' -z /tmp/tmp.MmhboD ']' + local pidfile=/tmp/tmp.MmhboD/tang.pid + '[' -f /tmp/tmp.MmhboD/tang.pid ']' + local pid + pid=25566 + kill -9 25566 + rm -rf /tmp/tmp.MmhboD /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-inplace-luks1: line 25: 25566 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 17/44 regen-not-inplace-luks1 SKIP 0.21s 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.AMcKbd + TMP=/tmp/tmp.AMcKbd ++ 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=56679 + tang_run /tmp/tmp.AMcKbd 56679 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.AMcKbd + local port=56679 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.AMcKbd ']' + '[' -z 56679 ']' + tang_new_keys /tmp/tmp.AMcKbd '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.AMcKbd + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.AMcKbd ']' + local db=/tmp/tmp.AMcKbd/db + mkdir -p /tmp/tmp.AMcKbd/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.AMcKbd/db Unable to change owner/group for /tmp/tmp.AMcKbd/db/MCLpROjpm1eZ9HVx86flmaUnGlsXRQmAzY-aR5Al-YE.jwk to tang:tang Unable to change owner/group for /tmp/tmp.AMcKbd/db/nuWMFNDiKpMXXq4QmVWf-GWScAoRocmMjyr0dlQMCpY.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.AMcKbd/cache + '[' -z '' ']' + KEYS=/tmp/tmp.AMcKbd/db + local pid pidfile + pidfile=/tmp/tmp.AMcKbd/tang.pid + pid=25553 + echo 25553 + /usr/bin/socat -v -v TCP-LISTEN:56679,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.AMcKbd/db' + tang_wait_until_ready 56679 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=56679 + '[' -z 56679 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:56679/adv > 2022/08/04 19:43:09.000831291 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:56679\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000839866 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVBwNmhkRG0yOWFwVmk4aTJONWxTbFhHMjVNSXloLXFnVzJ1alR4Ql9SU2sweUxsSzNOcklkTW1KcTRNS3VMTnVMRFhZbnBfTGxWSUhfVjlWT3MwX09oMiIsICJ5IjogIkFXdTc1eTI3Uk95dTNWcG50Wm8wRWpaWXhIZHZxRXVFWmJOTk14WV9wYzNOQmp6ODZ3b0xYcmlXYmhwRTNJdjlfTHRGQW1wclBmaFdCWTRRWV83c2FhQTQifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUNWRE5KLUNkZ3RZeW1KQlhGRC1lZHM0QU9IdE9hbDFyU19zY0RKZk1yWXZIYzZWbGlZdllveGpXY3I0dGUyVHJZREZVYmpZbU5QbEd5d3RRcHhsNmdWXyIsICJ5IjogIkFBRXJqYjdhU25aZUpxQmJwY0d2MndRVmxCYXlQLUl6SmpMdkFDUEJsTGZiV2lsTXBMTUg4SlNKd2ZRXzhZVzRsQ0R2M1hTNFJVcHVlaDU4ckdEMUJfX1EifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "Aa8B-wZzHdduWFVPEanKGa1NBkdFJccdPUvGgQc3H2kF_wiflmpj1fW8FSBASKiPUUV55cTfTCigVIy26ks6uSTiALJGlPk_-mcPMOUkiCxqIAz37ETQDC3BggOZjOUjFfHp-ytDwGNIHK00DRN14OJo_f14sghH2MOoXDIk3i17wWpt"}+ url=http://localhost:56679 + adv=/tmp/tmp.AMcKbd/adv + tang_get_adv 56679 /tmp/tmp.AMcKbd/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=56679 + local adv=/tmp/tmp.AMcKbd/adv + '[' -z 56679 ']' + curl -L -o /tmp/tmp.AMcKbd/adv http://localhost:56679/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/08/04 19:43:09.000847449 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:56679\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000854994 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVBwNmhkRG0yOWFwVmk4aTJONWxTbFhHMjVNSXloLXFnVzJ1alR4Ql9SU2sweUxsSzNOcklkTW1KcTRNS3VMTnVMRFhZbnBfTGxWSUhfVjlWT3MwX09oMiIsICJ5IjogIkFXdTc1eTI3Uk95dTNWcG50Wm8wRWpaWXhIZHZxRXVFWmJOTk14WV9wYzNOQmp6ODZ3b0xYcmlXYmhwRTNJdjlfTHRGQW1wclBmaFdCWTRRWV83c2FhQTQifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUNWRE5KLUNkZ3RZeW1KQlhGRC1lZHM0QU9IdE9hbDFyU19zY0RKZk1yWXZIYzZWbGlZdllveGpXY3I0dGUyVHJZREZVYmpZbU5QbEd5d3RRcHhsNmdWXyIsICJ5IjogIkFBRXJqYjdhU25aZUpxQmJwY0d2MndRVmxCYXlQLUl6SmpMdkFDUEJsTGZiV2lsTXBMTUg4SlNKd2ZRXzhZVzRsQ0R2M1hTNFJVcHVlaDU4ckdEMUJfX1EifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AF7s8Y29VVM4pJYJbKJ-OxMjTDLSm1JlsPFLOYdfcVt_HYtLLhGIe0CaOAhD7Jer5LAFsPoYGBy6OezmUN_bnNbOAdpwYBt4vtYSDXs0fUw5bdzmQ_BU0c3QjYCI1wZjLky83MI2bnBwT54uqQeB-Vk8GAoFssrUmwoFv1kdyXBlm6MS"} 100 993 100 993 0 0 106k 0 --:--:-- --:--:-- --:--:-- 107k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:56679 /tmp/tmp.AMcKbd/adv + cfg='{"url":"http://localhost:56679","adv":"/tmp/tmp.AMcKbd/adv"}' + DEV=/tmp/tmp.AMcKbd/luks1-device + new_device luks1 /tmp/tmp.AMcKbd/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.AMcKbd/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.AMcKbd ']' + tang_stop /tmp/tmp.AMcKbd + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.AMcKbd + '[' -z /tmp/tmp.AMcKbd ']' + local pidfile=/tmp/tmp.AMcKbd/tang.pid + '[' -f /tmp/tmp.AMcKbd/tang.pid ']' + local pid + pid=25553 + kill -9 25553 + rm -rf /tmp/tmp.AMcKbd /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-not-inplace-luks1: line 25: 25553 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 18/44 report-tang-luks1 SKIP 0.21s 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.LdIiMc ++ 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=10867 + tang_run /tmp/tmp.LdIiMc 10867 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.LdIiMc + local port=10867 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.LdIiMc ']' + '[' -z 10867 ']' + tang_new_keys /tmp/tmp.LdIiMc '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.LdIiMc + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.LdIiMc ']' + local db=/tmp/tmp.LdIiMc/db + mkdir -p /tmp/tmp.LdIiMc/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.LdIiMc/db Unable to change owner/group for /tmp/tmp.LdIiMc/db/Ipzwzj0xCh23ThOqvJHG1HH5y0YsRtsTrQPx_zH8cus.jwk to tang:tang Unable to change owner/group for /tmp/tmp.LdIiMc/db/_FH-5lRyq5992vTMlu1gDyN4_MmFPtDozm3nDgxwns8.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.LdIiMc/cache + '[' -z '' ']' + KEYS=/tmp/tmp.LdIiMc/db + local pid pidfile + pidfile=/tmp/tmp.LdIiMc/tang.pid + pid=25588 + echo 25588 + /usr/bin/socat -v -v TCP-LISTEN:10867,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.LdIiMc/db' + tang_wait_until_ready 10867 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=10867 + '[' -z 10867 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:10867/adv > 2022/08/04 19:43:09.000839962 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:10867\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000848431 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJwNG54V2xnU1BNWURtY3BMMmx2a3JScWVmUmxoQ1dmaG04eGttM05KN2lnU3ByMUJpSWhBX2F5OWN6MUM1ekFzSC0tc0duMXRVQnhQU0lGMVZJaHBqYiIsICJ5IjogIkFXVExzM2FrOXl1WUN6ZGxPMlRWd1luZW9pclJidnpoU1dGUFVJV3BYTFE4dGEyYmhlRDc2VGRwMzl6YkFZa0FzZnJVcFdYQzNXaEJTaW5QT0xvZ1NXV3kifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWItbVQxdUtZNG9TT3I1OUs0Rk9IOHI2NmZwemVTMmhUbWpncG9kOFlGTkdzdXB3NmNsWjByaHVCSW9rck9aTUk5TkdacWlPcTMxaWtQYTVYUk5mX3ZuVSIsICJ5IjogIkFSeEh5OV9UZUtJeFBWYk1xcHJpblZPb2lEU1RnblpBUVFEXzR4aFRpdkJaMHBaaDJ4ZzNoVzZfOFMwV25la0x1WGJDTTZXN0hSb09HblJWdEJQU2hYaDcifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AElhoSZd9e43cCjL8jLEBZA6MZ7h1j_VbpoKHA1A7C6JCeyIvpdiSa0zHWhNndiMn5zZo0Pk6bthlYtk65sJtDWzAHYckRemuMq1VEV_0XdmHzqtlrKzm2C3nX1Yr56d4kbO8F4T2qMfbWcYQmDuTFZLIIo5MuCwftnhz6Ckd26qDyBC"}+ url=http://localhost:10867 + adv=/tmp/tmp.LdIiMc/adv + tang_get_adv 10867 /tmp/tmp.LdIiMc/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=10867 + local adv=/tmp/tmp.LdIiMc/adv + '[' -z 10867 ']' + curl -L -o /tmp/tmp.LdIiMc/adv http://localhost:10867/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/08/04 19:43:09.000854481 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:10867\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000861404 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJwNG54V2xnU1BNWURtY3BMMmx2a3JScWVmUmxoQ1dmaG04eGttM05KN2lnU3ByMUJpSWhBX2F5OWN6MUM1ekFzSC0tc0duMXRVQnhQU0lGMVZJaHBqYiIsICJ5IjogIkFXVExzM2FrOXl1WUN6ZGxPMlRWd1luZW9pclJidnpoU1dGUFVJV3BYTFE4dGEyYmhlRDc2VGRwMzl6YkFZa0FzZnJVcFdYQzNXaEJTaW5QT0xvZ1NXV3kifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWItbVQxdUtZNG9TT3I1OUs0Rk9IOHI2NmZwemVTMmhUbWpncG9kOFlGTkdzdXB3NmNsWjByaHVCSW9rck9aTUk5TkdacWlPcTMxaWtQYTVYUk5mX3ZuVSIsICJ5IjogIkFSeEh5OV9UZUtJeFBWYk1xcHJpblZPb2lEU1RnblpBUVFEXzR4aFRpdkJaMHBaaDJ4ZzNoVzZfOFMwV25la0x1WGJDTTZXN0hSb09HblJWdEJQU2hYaDcifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AKPyNnL-_9vuyz40kYFa6jCzPvMS-vePYuFXp8Fzb8HZFj4OXJFKKHAxUq4wHAdccEheflXkvtjKQO-ZsS4A8sN5AQQMyxl3POpVUeTMBEfRTMDEHtwYXjbks4gC2EXTiZEsBdjZDTX5FulVxr90BuwQSvX3qK2S8k5pkPOWD_47wDoR"} 100 993 100 993 0 0 116k 0 --:--:-- --:--:-- --:--:-- 121k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:10867 /tmp/tmp.LdIiMc/adv + cfg='{"url":"http://localhost:10867","adv":"/tmp/tmp.LdIiMc/adv"}' + DEV=/tmp/tmp.LdIiMc/luks1-device + new_device luks1 /tmp/tmp.LdIiMc/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.LdIiMc/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.LdIiMc ']' + tang_stop /tmp/tmp.LdIiMc + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.LdIiMc + '[' -z /tmp/tmp.LdIiMc ']' + local pidfile=/tmp/tmp.LdIiMc/tang.pid + '[' -f /tmp/tmp.LdIiMc/tang.pid ']' + local pid + pid=25588 + kill -9 25588 + rm -rf /tmp/tmp.LdIiMc /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-tang-luks1: line 25: 25588 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 19/44 report-sss-luks1 SKIP 0.21s 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.DIecfI ++ 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=48083 + tang_run /tmp/tmp.DIecfI 48083 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.DIecfI + local port=48083 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.DIecfI ']' + '[' -z 48083 ']' + tang_new_keys /tmp/tmp.DIecfI '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.DIecfI + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.DIecfI ']' + local db=/tmp/tmp.DIecfI/db + mkdir -p /tmp/tmp.DIecfI/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.DIecfI/db Unable to change owner/group for /tmp/tmp.DIecfI/db/F-GbHnBhM6FiAGXAQpllGs5ESQk6TO8kuaR_OB8dZwA.jwk to tang:tang Unable to change owner/group for /tmp/tmp.DIecfI/db/yyAO5S-kB0YcKPePDLGWpQd74eu4a8ugqBNiVtKV1Uw.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.DIecfI/cache + '[' -z '' ']' + KEYS=/tmp/tmp.DIecfI/db + local pid pidfile + pidfile=/tmp/tmp.DIecfI/tang.pid + pid=25597 + echo 25597 + /usr/bin/socat -v -v TCP-LISTEN:48083,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.DIecfI/db' + tang_wait_until_ready 48083 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=48083 + '[' -z 48083 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:48083/adv > 2022/08/04 19:43:09.000842764 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:48083\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000851812 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFaOEdnSzNxTDJxVXQxY3RWSWppTTdZRDlhUTJyZVdjaFJzaWRRX2JSZGUtUTlwNkp4VDJmdUdtQ1JieTNrWXI3dVBZWE1xR3lNbWZPQ0RvZTVUb29CRk8iLCAieSI6ICJBZm1TbFliQ1N1czZ2NG8welZTTDB1QmljSUt5ZUF4aEpROWRkd2lmZFp2bTJnRXhRczQ1ZXdSSzFrLV9Ya2lqWEp0OWoxOV9wazBqWktqdG5iUF83WDNGIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUduSE9QOEhnOEdJUnZSdEFTMVIyM21XaE1NSG9SNFQ3NGREN0ljVWtKVEp4RktBMFltOEJCME9pMEg3Mm95eS1QTXJ4T2ZvYWhoQkQ5SWtFb2J0MzJiTSIsICJ5IjogIkFma1pYZUU4SUhpMzVqc2FnT0ZSRGFqeTlfVFlXVWdGdXNhZVhNd3JVX19JUU12NDlSVVp1MEF1MG9TdzZZWXZvaWVFb0FKLTlhcW9Eblp3Yk0yR05wTzYifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ACzVuXcTbzv_QnxGwHB4imfJVEVredE1YFZ2Yy0eDhll5ySd5uQB9Vcut6Re391Z70IbV1pVFjitNssFZDR5k8WHAaBvENCsF0xz3juNKVJ4uKlhlRzfg7sZEVyZtGgeeKOrYo48bQm1Zgj3q7sSwtID3cjWwIlrGiLBl8dmcjpJWZv9"}+ url=http://localhost:48083 + adv=/tmp/tmp.DIecfI/adv + tang_get_adv 48083 /tmp/tmp.DIecfI/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=48083 + local adv=/tmp/tmp.DIecfI/adv + '[' -z 48083 ']' + curl -L -o /tmp/tmp.DIecfI/adv http://localhost:48083/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/08/04 19:43:09.000857313 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:48083\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000863929 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFaOEdnSzNxTDJxVXQxY3RWSWppTTdZRDlhUTJyZVdjaFJzaWRRX2JSZGUtUTlwNkp4VDJmdUdtQ1JieTNrWXI3dVBZWE1xR3lNbWZPQ0RvZTVUb29CRk8iLCAieSI6ICJBZm1TbFliQ1N1czZ2NG8welZTTDB1QmljSUt5ZUF4aEpROWRkd2lmZFp2bTJnRXhRczQ1ZXdSSzFrLV9Ya2lqWEp0OWoxOV9wazBqWktqdG5iUF83WDNGIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUduSE9QOEhnOEdJUnZSdEFTMVIyM21XaE1NSG9SNFQ3NGREN0ljVWtKVEp4RktBMFltOEJCME9pMEg3Mm95eS1QTXJ4T2ZvYWhoQkQ5SWtFb2J0MzJiTSIsICJ5IjogIkFma1pYZUU4SUhpMzVqc2FnT0ZSRGFqeTlfVFlXVWdGdXNhZVhNd3JVX19JUU12NDlSVVp1MEF1MG9TdzZZWXZvaWVFb0FKLTlhcW9Eblp3Yk0yR05wTzYifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ALrgICS1FozK0peVJ2F-Gg0QwaOl_frKEdGkpyPbwPq0X7HmU6Lw8Srph4epW0A4qDQDe4VRrY6LYMf89S6wRL0dABTPHOtabgi7UdKJaDjowHQi8cgPwystGIsXR68AfRCVrdzV8a_aoDXGD4Jm9Po-npmWRIsbppo4TW7q5AwuiT1V"} 100 993 100 993 0 0 117k 0 --:--:-- --:--:-- --:--:-- 121k ++ printf '{"t": 1, "pins":{"tang":[{"url":"%s"}], "sss":{"t":1,"pins":{"tang":[{"url":"%s"}]}}}}' http://localhost:48083 http://localhost:48083 + cfg='{"t": 1, "pins":{"tang":[{"url":"http://localhost:48083"}], "sss":{"t":1,"pins":{"tang":[{"url":"http://localhost:48083"}]}}}}' + DEV=/tmp/tmp.DIecfI/luks1-device + new_device luks1 /tmp/tmp.DIecfI/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.DIecfI/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.DIecfI ']' + tang_stop /tmp/tmp.DIecfI + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.DIecfI + '[' -z /tmp/tmp.DIecfI ']' + local pidfile=/tmp/tmp.DIecfI/tang.pid + '[' -f /tmp/tmp.DIecfI/tang.pid ']' + local pid + pid=25597 + kill -9 25597 + rm -rf /tmp/tmp.DIecfI /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-sss-luks1: line 25: 25597 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.bIfFNP ++ 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=20289 + tang_run /tmp/tmp.bIfFNP 20289 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.bIfFNP + local port=20289 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.bIfFNP ']' + '[' -z 20289 ']' + tang_new_keys /tmp/tmp.bIfFNP '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.bIfFNP + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.bIfFNP ']' + local db=/tmp/tmp.bIfFNP/db + mkdir -p /tmp/tmp.bIfFNP/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.bIfFNP/db Unable to change owner/group for /tmp/tmp.bIfFNP/db/BKQh-u1aWWnMyVWggEsFBp4mYtbJ00sTn7TqsKTOovg.jwk to tang:tang Unable to change owner/group for /tmp/tmp.bIfFNP/db/hQeOfcDpKlcQEYcyTNoY-RI_dOFL3Ma6zeCHwqtfXJU.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.bIfFNP/cache + '[' -z '' ']' + KEYS=/tmp/tmp.bIfFNP/db + local pid pidfile + pidfile=/tmp/tmp.bIfFNP/tang.pid + pid=25626 + echo 25626 + /usr/bin/socat -v -v TCP-LISTEN:20289,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.bIfFNP/db' + tang_wait_until_ready 20289 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=20289 + '[' -z 20289 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:20289/adv > 2022/08/04 19:43:09.000852391 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:20289\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000860500 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU1POWtCUzEzdklXT0t3T2k2Njlxa0NZTDRqbVlZQ1BUbzdhSFo5SHBsX09aSnlXRi1mTW1YbHZhUWpiaTJpaWtuTWZhZHZmUFpmYldoX1p0Z3NYMnY3ayIsICJ5IjogIkFJcm1zazd2b0N6Y1RWQ2EwUUxEQ053cFFnZUpwTDR3azdIM3pBaDAtUWFnZElVOUxvR0xlVWM2RVRJZ2Z5OEFVMTQ1aU81eDB6dEp5aWtZR280eHB1dFoifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUlNdVZqQk9OSXY5U1gtTVpycWFOWm5jYjRkcTBtQXJYc0RRZjliNG54QjJKSUFWbnllejBTa242czRRYXZHX29zM0F5SXRYUGxwZGc3cVc4eU8xMG95UiIsICJ5IjogIkFDbXlLMEN3a0hIY0QxVmFNR2taVEhmbTEwUGlrdnpudlhGMWV2RHlsWEV3MjRfSFN4MndNR0k3OTNyeVNvUVlCS2RXU3JVWFBOdzNMNG44dlNaX2Q5WEEifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AaatQBwsvk_9hsJ9T521G_1q1ZGAbm_SbEn_g5YqykaqttuViWd_SqffDjq01-999Hn_bZiagc9zjDmobD-I_h07AE83yjX1LTVXvy9QUKzzhn1flZORgrv_hLzosoDYruRb3Y7tSJ3yH94fMdXHHkhd5E8ls0NuUT0TATw9KtcZcDO9"}+ url=http://localhost:20289 ++ printf '{"url":"%s"}' http://localhost:20289 + cfg='{"url":"http://localhost:20289"}' + DEV=/tmp/tmp.bIfFNP/luks1-device + new_device luks1 /tmp/tmp.bIfFNP/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.bIfFNP/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.bIfFNP ']' + tang_stop /tmp/tmp.bIfFNP + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.bIfFNP + '[' -z /tmp/tmp.bIfFNP ']' + local pidfile=/tmp/tmp.bIfFNP/tang.pid + '[' -f /tmp/tmp.bIfFNP/tang.pid ']' + local pid + pid=25626 + kill -9 25626 + rm -rf /tmp/tmp.bIfFNP /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/edit-tang-luks1: line 27: 25626 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.lMpKHC + ADV=/tmp/tmp.lMpKHC/adv.jws + tang_create_adv /tmp/tmp.lMpKHC /tmp/tmp.lMpKHC/adv.jws + local basedir=/tmp/tmp.lMpKHC + local adv=/tmp/tmp.lMpKHC/adv.jws + local SIG=/tmp/tmp.lMpKHC/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.lMpKHC/sig.jwk + local EXC=/tmp/tmp.lMpKHC/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.lMpKHC/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.lMpKHC/sig.jwk --input=/tmp/tmp.lMpKHC/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.lMpKHC/sig.jwk --output=/tmp/tmp.lMpKHC/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.lMpKHC/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.lMpKHC/adv.jws"}' + DEV=/tmp/tmp.lMpKHC/luks1-device + new_device luks1 /tmp/tmp.lMpKHC/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.lMpKHC/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.lMpKHC ']' + rm -rf /tmp/tmp.lMpKHC ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 22/44 pass-tang-luks1 SKIP 0.20s 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.KhAEjm ++ 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=37617 + tang_run /tmp/tmp.KhAEjm 37617 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.KhAEjm + local port=37617 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.KhAEjm ']' + '[' -z 37617 ']' + tang_new_keys /tmp/tmp.KhAEjm '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.KhAEjm + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.KhAEjm ']' + local db=/tmp/tmp.KhAEjm/db + mkdir -p /tmp/tmp.KhAEjm/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.KhAEjm/db Unable to change owner/group for /tmp/tmp.KhAEjm/db/JXm3lLoVDSwsHSdC1PUpPtEzo2DSQsTVbNFg0Ske_Qw.jwk to tang:tang Unable to change owner/group for /tmp/tmp.KhAEjm/db/DJ7mxV6ucQD1r9DmjuDbRpi4dnaPOc-oPFL6a0O2p-g.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.KhAEjm/cache + '[' -z '' ']' + KEYS=/tmp/tmp.KhAEjm/db + local pid pidfile + pidfile=/tmp/tmp.KhAEjm/tang.pid + pid=25655 + echo 25655 + /usr/bin/socat -v -v TCP-LISTEN:37617,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.KhAEjm/db' + tang_wait_until_ready 37617 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=37617 + '[' -z 37617 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:37617/adv > 2022/08/04 19:43:09.000858713 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:37617\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000865443 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUNTMk0yN1dNOEVZdDVEUVZnZGI5QTJuOW1NaU03QUpqUXZBdFhlUTJTZVJLMlpOVkRwZzFNdHVaYnVVeGxqcFowZDZPZVFOVE02cU1BSkdSOUNBZ1JVYiIsICJ5IjogIkFXVnlvOWJvUGJDbDlaU0Jzcm9ZaVkzNE91UVRaMXczR2U3S0RGQVNQNWN0Q21ETEtSTnIyNlVpTWZzcnNxSmxCZy1Vb2UtYVpaMWNKUlZ2Vlc5SmY4ek8ifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU03MWNkX3V2dUwtX0Ria1pIN1NES1F0QndlaEhkRzhqRkRSVFNqUnM0VDJVcnV3ZDlPcjFhYXA1anB1UnVXSlp1b2hQZHJtR1VsYmF3TDhpS3ZpOU1aTSIsICJ5IjogIkFUZXBrb2FOSXJPMWk4YzVXOXhPWE1Id2ExM2VhX1RvbXdPRUhBTmJoMll0NnlCNHdVQWp5RjlBNEI4Z1RtZXNITWo4V3htRXkzWTFMaUwzLUwtaGF6eEkifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AL-tlT3nYS30wAHbG_IYeinSbyo0ndavCFaHso1NXbMU9y8yiWCU3rQLhQ9qujNhBXh5oGKHyBfrSaIu7nqbsF8WAB7-oN8BbtzOYtjcvewfmrnBLoHEN3r_fcer1c-Ay-_FyAZQVf8hOGgRwUfw-EPiEe82Fg80okvJs9QS3pQdDH9s"}+ url=http://localhost:37617 + adv=/tmp/tmp.KhAEjm/adv + tang_get_adv 37617 /tmp/tmp.KhAEjm/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=37617 + local adv=/tmp/tmp.KhAEjm/adv + '[' -z 37617 ']' + curl -L -o /tmp/tmp.KhAEjm/adv http://localhost:37617/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/08/04 19:43:09.000871384 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:37617\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000878938 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUNTMk0yN1dNOEVZdDVEUVZnZGI5QTJuOW1NaU03QUpqUXZBdFhlUTJTZVJLMlpOVkRwZzFNdHVaYnVVeGxqcFowZDZPZVFOVE02cU1BSkdSOUNBZ1JVYiIsICJ5IjogIkFXVnlvOWJvUGJDbDlaU0Jzcm9ZaVkzNE91UVRaMXczR2U3S0RGQVNQNWN0Q21ETEtSTnIyNlVpTWZzcnNxSmxCZy1Vb2UtYVpaMWNKUlZ2Vlc5SmY4ek8ifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU03MWNkX3V2dUwtX0Ria1pIN1NES1F0QndlaEhkRzhqRkRSVFNqUnM0VDJVcnV3ZDlPcjFhYXA1anB1UnVXSlp1b2hQZHJtR1VsYmF3TDhpS3ZpOU1aTSIsICJ5IjogIkFUZXBrb2FOSXJPMWk4YzVXOXhPWE1Id2ExM2VhX1RvbXdPRUhBTmJoMll0NnlCNHdVQWp5RjlBNEI4Z1RtZXNITWo4V3htRXkzWTFMaUwzLUwtaGF6eEkifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AMWjg1UMuwFEbGuMlRq8Gu4_z0RDy__Zhjw19L7dBW2hKDDOtDxYMIwtmRPrdKDddimOV0iB7cIZAaSHARnD--DXABVxlIHNaLlVYAPmWEWcfEXjX41Xd9SghnRrwUal_s0AKk15RHQWlgW9jAT8BME8a3qTzRDJ3KoiVXvAJxs3iXIF"} 100 993 100 993 0 0 100k 0 --:--:-- --:--:-- --:--:-- 107k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:37617 /tmp/tmp.KhAEjm/adv + cfg='{"url":"http://localhost:37617","adv":"/tmp/tmp.KhAEjm/adv"}' + DEV=/tmp/tmp.KhAEjm/luks1-device + new_device luks1 /tmp/tmp.KhAEjm/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.KhAEjm/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.KhAEjm ']' + tang_stop /tmp/tmp.KhAEjm + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.KhAEjm + '[' -z /tmp/tmp.KhAEjm ']' + local pidfile=/tmp/tmp.KhAEjm/tang.pid + '[' -f /tmp/tmp.KhAEjm/tang.pid ']' + local pid + pid=25655 + kill -9 25655 + rm -rf /tmp/tmp.KhAEjm /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/pass-tang-luks1: line 25: 25655 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.ofnBeF + ADV=/tmp/tmp.ofnBeF/adv.jws + tang_create_adv /tmp/tmp.ofnBeF /tmp/tmp.ofnBeF/adv.jws + local basedir=/tmp/tmp.ofnBeF + local adv=/tmp/tmp.ofnBeF/adv.jws + local SIG=/tmp/tmp.ofnBeF/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.ofnBeF/sig.jwk + local EXC=/tmp/tmp.ofnBeF/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.ofnBeF/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.ofnBeF/sig.jwk --input=/tmp/tmp.ofnBeF/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.ofnBeF/sig.jwk --output=/tmp/tmp.ofnBeF/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.ofnBeF/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.ofnBeF/adv.jws"}' + DEV=/tmp/tmp.ofnBeF/luks2-device + new_device luks2 /tmp/tmp.ofnBeF/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.ofnBeF/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.ofnBeF ']' + rm -rf /tmp/tmp.ofnBeF ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 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.CohfoH + ADV=/tmp/tmp.CohfoH/adv.jws + tang_create_adv /tmp/tmp.CohfoH /tmp/tmp.CohfoH/adv.jws + local basedir=/tmp/tmp.CohfoH + local adv=/tmp/tmp.CohfoH/adv.jws + local SIG=/tmp/tmp.CohfoH/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.CohfoH/sig.jwk + local EXC=/tmp/tmp.CohfoH/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.CohfoH/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.CohfoH/sig.jwk --input=/tmp/tmp.CohfoH/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.CohfoH/sig.jwk --output=/tmp/tmp.CohfoH/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.CohfoH/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.CohfoH/adv.jws"}' + DEV=/tmp/tmp.CohfoH/luks2-device + TOKEN_ID=5 + new_device luks2 /tmp/tmp.CohfoH/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.CohfoH/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.CohfoH ']' + rm -rf /tmp/tmp.CohfoH ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 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.FNcHEA + DEV=/tmp/tmp.FNcHEA/luks2-device + SLT=2 + new_device luks2 /tmp/tmp.FNcHEA/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.FNcHEA/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.FNcHEA ']' + rm -rf /tmp/tmp.FNcHEA ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 26/44 unbind-luks2 SKIP 0.15s 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.eCghLK + ADV=/tmp/tmp.eCghLK/adv.jws + tang_create_adv /tmp/tmp.eCghLK /tmp/tmp.eCghLK/adv.jws + local basedir=/tmp/tmp.eCghLK + local adv=/tmp/tmp.eCghLK/adv.jws + local SIG=/tmp/tmp.eCghLK/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.eCghLK/sig.jwk + local EXC=/tmp/tmp.eCghLK/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.eCghLK/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.eCghLK/sig.jwk --input=/tmp/tmp.eCghLK/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.eCghLK/sig.jwk --output=/tmp/tmp.eCghLK/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.eCghLK/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.eCghLK/adv.jws"}' + DEV=/tmp/tmp.eCghLK/luks2-device + new_device luks2 /tmp/tmp.eCghLK/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.eCghLK/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.eCghLK ']' + rm -rf /tmp/tmp.eCghLK ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 27/44 list-recursive-luks2 SKIP 0.15s 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.MBjKgp + ADV=/tmp/tmp.MBjKgp/adv.jws + tang_create_adv /tmp/tmp.MBjKgp /tmp/tmp.MBjKgp/adv.jws + local basedir=/tmp/tmp.MBjKgp + local adv=/tmp/tmp.MBjKgp/adv.jws + local SIG=/tmp/tmp.MBjKgp/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.MBjKgp/sig.jwk + local EXC=/tmp/tmp.MBjKgp/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.MBjKgp/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.MBjKgp/sig.jwk --input=/tmp/tmp.MBjKgp/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.MBjKgp/sig.jwk --output=/tmp/tmp.MBjKgp/adv.jws + PIN=sss ++ printf ' { "t": 1, "pins": { "sss": { "t": 1, "pins": { "sss": { "t": 1, "pins": { "tang": [ { "url": "ADDR","adv": "%s" } ] } } } } } } ' /tmp/tmp.MBjKgp/adv.jws + CFG=' { "t": 1, "pins": { "sss": { "t": 1, "pins": { "sss": { "t": 1, "pins": { "tang": [ { "url": "ADDR","adv": "/tmp/tmp.MBjKgp/adv.jws" } ] } } } } } }' + DEV=/tmp/tmp.MBjKgp/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks2 /tmp/tmp.MBjKgp/luks1-device + local LUKS=luks2 + local DEV=/tmp/tmp.MBjKgp/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.MBjKgp ']' + rm -rf /tmp/tmp.MBjKgp ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 28/44 list-tang-luks2 SKIP 0.14s 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.lAmAJc + ADV=/tmp/tmp.lAmAJc/adv.jws + tang_create_adv /tmp/tmp.lAmAJc /tmp/tmp.lAmAJc/adv.jws + local basedir=/tmp/tmp.lAmAJc + local adv=/tmp/tmp.lAmAJc/adv.jws + local SIG=/tmp/tmp.lAmAJc/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.lAmAJc/sig.jwk + local EXC=/tmp/tmp.lAmAJc/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.lAmAJc/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.lAmAJc/sig.jwk --input=/tmp/tmp.lAmAJc/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.lAmAJc/sig.jwk --output=/tmp/tmp.lAmAJc/adv.jws + PIN=tang ++ printf '{"url": "ADDR","adv": "%s"}' /tmp/tmp.lAmAJc/adv.jws + CFG='{"url": "ADDR","adv": "/tmp/tmp.lAmAJc/adv.jws"}' + DEV=/tmp/tmp.lAmAJc/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks2 /tmp/tmp.lAmAJc/luks1-device + local LUKS=luks2 + local DEV=/tmp/tmp.lAmAJc/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.lAmAJc ']' + rm -rf /tmp/tmp.lAmAJc ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 33/44 regen-not-inplace-luks2 RUNNING >>> MALLOC_PERTURB_=43 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 >>> MALLOC_PERTURB_=120 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-tang-luks2 35/44 report-sss-luks2 RUNNING >>> MALLOC_PERTURB_=126 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_=112 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_=45 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/backup-restore-luks2 38/44 pass-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_=236 /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/pass-tang-luks2 39/44 pin-sss RUNNING >>> MALLOC_PERTURB_=26 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 /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_=77 /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/sss/pin-test 41/44 pin-tang RUNNING >>> MALLOC_PERTURB_=118 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_=186 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_=151 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 >>> 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 MALLOC_PERTURB_=171 /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tpm2/pin-tpm2 29/44 list-sss-tang-luks2 SKIP 0.22s 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.CdOhgP + ADV=/tmp/tmp.CdOhgP/adv.jws + tang_create_adv /tmp/tmp.CdOhgP /tmp/tmp.CdOhgP/adv.jws + local basedir=/tmp/tmp.CdOhgP + local adv=/tmp/tmp.CdOhgP/adv.jws + local SIG=/tmp/tmp.CdOhgP/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.CdOhgP/sig.jwk + local EXC=/tmp/tmp.CdOhgP/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.CdOhgP/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.CdOhgP/sig.jwk --input=/tmp/tmp.CdOhgP/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.CdOhgP/sig.jwk --output=/tmp/tmp.CdOhgP/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.CdOhgP/adv.jws /tmp/tmp.CdOhgP/adv.jws /tmp/tmp.CdOhgP/adv.jws /tmp/tmp.CdOhgP/adv.jws /tmp/tmp.CdOhgP/adv.jws + CFG=' { "t": 2, "pins": { "tang": [ {"url":"ADDR1","adv":"/tmp/tmp.CdOhgP/adv.jws"}, {"url":"ADDR2","adv":"/tmp/tmp.CdOhgP/adv.jws"}, {"url":"ADDR3","adv":"/tmp/tmp.CdOhgP/adv.jws"}, {"url":"ADDR4","adv":"/tmp/tmp.CdOhgP/adv.jws"}, {"url":"ADDR5","adv":"/tmp/tmp.CdOhgP/adv.jws"} ] } }' + DEV=/tmp/tmp.CdOhgP/luks1-device + UUID=cb6e8904-81ff-40da-a84a-07ab9ab5715e + new_device luks2 /tmp/tmp.CdOhgP/luks1-device + local LUKS=luks2 + local DEV=/tmp/tmp.CdOhgP/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.CdOhgP ']' + rm -rf /tmp/tmp.CdOhgP ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 31/44 assume-yes-luks2 SKIP 0.21s 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.efpPjF ++ 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=13145 + tang_run /tmp/tmp.efpPjF 13145 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.efpPjF + local port=13145 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.efpPjF ']' + '[' -z 13145 ']' + tang_new_keys /tmp/tmp.efpPjF '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.efpPjF + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.efpPjF ']' + local db=/tmp/tmp.efpPjF/db + mkdir -p /tmp/tmp.efpPjF/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.efpPjF/db Unable to change owner/group for /tmp/tmp.efpPjF/db/sBkoQUOPdvuI1U8ni1XgmZZBrgZT_v3yQtvhT5d88Vk.jwk to tang:tang Unable to change owner/group for /tmp/tmp.efpPjF/db/lmNloh4o2C6-T_NZD_i9cYxbDRXU0P-dg_jK99_Kjuo.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.efpPjF/cache + '[' -z '' ']' + KEYS=/tmp/tmp.efpPjF/db + local pid pidfile + pidfile=/tmp/tmp.efpPjF/tang.pid + pid=25824 + echo 25824 + /usr/bin/socat -v -v TCP-LISTEN:13145,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.efpPjF/db' + tang_wait_until_ready 13145 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=13145 + '[' -z 13145 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:13145/adv > 2022/08/04 19:43:09.000946253 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:13145\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000954289 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFZcHRGeEg0WmFqbW5UWVIzVlZPc1dQQTlJU1NnbElXbHFQWjVLSDZscUljbHE4QVg4bzB0QzNVN0hlV3VNOVI0RkhwWVdEWVNTUGdiV0E0YTZRSzNKQloiLCAieSI6ICJBTmN0UTZ2dkNfaFVXUWd0czBGVTFLTzVSZDAxOTFEcy13ME16S19VY3YtZVlmUDE0elZkVXRPYXc1V2lyX2tqWkluaS10eUJObUpJYWJBZnFPTXpKVy1ZIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUJxdlRkQWs0UGdWd1dLcGROM2gwWDFEM19iZUY0d1BxMU1sekRMRmRueW91R2VsZDlrajluMFZiVjZNRmV2a3RVTDNkQnV0SE5oeWFCVEFCYjhrbmhDYiIsICJ5IjogIkFEb0JRN3N6UmhkWS1kTDBsbEtJdnhaNDVQLUpzaDZwLTJQZDdUZzAwV2cxa09ObTN4d0MxeVBZV3ZMY1M1SHVVaXRCY0IwOTZfemxPRl93d3gyOTl6dVcifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AFaMWNmbCwwMbLfk6JKdDbywU_17YfAFr_88Qx9gEWvQ4KJ-K4fklI1LQVuTlb3d3ehfbHxPbEYJyG6SHZfSSrKBAHcC8b3n1jiwSPdMVkHOwx4wYOChT33tp1DFzZIuNSRSQjQXiKbslWxEbnoez39m0V7qd6IHWxlq8lvDMOX-dTBL"}+ url=http://localhost:13145 ++ printf '{"url":"%s"}' http://localhost:13145 + cfg='{"url":"http://localhost:13145"}' + DEV=/tmp/tmp.efpPjF/luks2-device + new_device luks2 /tmp/tmp.efpPjF/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.efpPjF/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.efpPjF ']' + tang_stop /tmp/tmp.efpPjF + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.efpPjF + '[' -z /tmp/tmp.efpPjF ']' + local pidfile=/tmp/tmp.efpPjF/tang.pid + '[' -f /tmp/tmp.efpPjF/tang.pid ']' + local pid + pid=25824 + kill -9 25824 + rm -rf /tmp/tmp.efpPjF /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/assume-yes-luks2: line 25: 25824 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 30/44 unlock-tang-luks2 SKIP 0.22s 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.EKegbO ++ 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=22066 + tang_run /tmp/tmp.EKegbO 22066 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.EKegbO + local port=22066 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.EKegbO ']' + '[' -z 22066 ']' + tang_new_keys /tmp/tmp.EKegbO '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.EKegbO + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.EKegbO ']' + local db=/tmp/tmp.EKegbO/db + mkdir -p /tmp/tmp.EKegbO/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.EKegbO/db Unable to change owner/group for /tmp/tmp.EKegbO/db/S-G5xrcZ5PmXhecCrqqLzuvCPELZbLxbqsLmN18kQFA.jwk to tang:tang Unable to change owner/group for /tmp/tmp.EKegbO/db/2vrCbAMm2-ye8yRMUAPsHgYmVOc-K7Opo_270eSV6l0.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.EKegbO/cache + '[' -z '' ']' + KEYS=/tmp/tmp.EKegbO/db + local pid pidfile + pidfile=/tmp/tmp.EKegbO/tang.pid + pid=25831 + echo 25831 + /usr/bin/socat -v -v TCP-LISTEN:22066,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.EKegbO/db' + tang_wait_until_ready 22066 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=22066 + '[' -z 22066 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:22066/adv > 2022/08/04 19:43:09.000954511 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:22066\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000969278 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFYdWtQV2l2MENQWk5fcW1sZnV0aVJ2YndpQi1IbXFCSDVCWFF3V3dQZnphNjd2Z3lKS3psdkJHWXhVNU5TdkpFRWQ5MElWeFllai1nSXJoYlJNdnlFNVgiLCAieSI6ICJBZW1FUFdXYlpHUm0zaUhVM2g4d0dFc1pWMW1TVmZucGJBZjBPb0lUSFFhOXpibHVONTRMcXpKV3FabVZ2b3lVYUNjQWh2V0NJMW1DZU8wUnQtTGVBZ1ZsIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWJ0b01GYi0wZzI0aXI5THdybXU5SVlKeU5wYXRmb1NfelE2a3hoeVlGMnVOUk90TDZZYWNRRlFzYVpSQjNsWXVjLV9lMXFJY1RmZV80QlJyX2tqWWgxbSIsICJ5IjogIkFkTjJUYXRMeXE4eG9pN2FCeW5ZZzVnUFV4cFBDanJzWUIwWXZOd1EzNGEyU08tQjZjRFZ2V2taMUFMVmdGWjlQZkwzVG1ZM29HSkc2N18yN002VWEzX0gifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AOtE-X1c2zlJysdn4ozpZ8w521DcRMX_13PN3DMfNLKclHRHAOlwoAGEn1curkVyw3HeoY1FT81L98As_jlW76SsAQk8YHWtxmElWzc73GL-sJY74joWqP56zmeu-JAVbkp5FuJdiUXRuc7jCrvdEbmtWONon73bBCppVCNZ9ICEdLBk"}+ url=http://localhost:22066 + adv=/tmp/tmp.EKegbO/adv + tang_get_adv 22066 /tmp/tmp.EKegbO/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=22066 + local adv=/tmp/tmp.EKegbO/adv + '[' -z 22066 ']' + curl -L -o /tmp/tmp.EKegbO/adv http://localhost:22066/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/08/04 19:43:09.000981114 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:22066\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000995780 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFYdWtQV2l2MENQWk5fcW1sZnV0aVJ2YndpQi1IbXFCSDVCWFF3V3dQZnphNjd2Z3lKS3psdkJHWXhVNU5TdkpFRWQ5MElWeFllai1nSXJoYlJNdnlFNVgiLCAieSI6ICJBZW1FUFdXYlpHUm0zaUhVM2g4d0dFc1pWMW1TVmZucGJBZjBPb0lUSFFhOXpibHVONTRMcXpKV3FabVZ2b3lVYUNjQWh2V0NJMW1DZU8wUnQtTGVBZ1ZsIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWJ0b01GYi0wZzI0aXI5THdybXU5SVlKeU5wYXRmb1NfelE2a3hoeVlGMnVOUk90TDZZYWNRRlFzYVpSQjNsWXVjLV9lMXFJY1RmZV80QlJyX2tqWWgxbSIsICJ5IjogIkFkTjJUYXRMeXE4eG9pN2FCeW5ZZzVnUFV4cFBDanJzWUIwWXZOd1EzNGEyU08tQjZjRFZ2V2taMUFMVmdGWjlQZkwzVG1ZM29HSkc2N18yN002VWEzX0gifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ADAF5jXJ1Oy9l4YjWMFpy21TIxjO50RmGjMeuWYxaJ_OOdzY-n0eIabTeu0aJR0mzRpxGvYYqp6b4b09b8BRbC_5AOGGJ2Rnxf19XWnMP9M6qivwcKa2qKihAEZGhAuiY-CFOSz7sK-k4ZqxIb2I214vOEz-4SrGee28uPqttY1Fu7JV"} 100 993 100 993 0 0 54455 0 --:--:-- --:--:-- --:--:-- 55166 ++ printf '{"url":"%s","adv":"%s"}' http://localhost:22066 /tmp/tmp.EKegbO/adv + cfg='{"url":"http://localhost:22066","adv":"/tmp/tmp.EKegbO/adv"}' + DEV=/tmp/tmp.EKegbO/luks2-device + new_device luks2 /tmp/tmp.EKegbO/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.EKegbO/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.EKegbO ']' + tang_stop /tmp/tmp.EKegbO + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.EKegbO + '[' -z /tmp/tmp.EKegbO ']' + local pidfile=/tmp/tmp.EKegbO/tang.pid + '[' -f /tmp/tmp.EKegbO/tang.pid ']' + local pid + pid=25831 + kill -9 25831 + rm -rf /tmp/tmp.EKegbO /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/unlock-tang-luks2: line 25: 25831 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 32/44 regen-inplace-luks2 SKIP 0.21s 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.hePaeL ++ 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=5105 + tang_run /tmp/tmp.hePaeL 5105 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.hePaeL + local port=5105 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.hePaeL ']' + '[' -z 5105 ']' + tang_new_keys /tmp/tmp.hePaeL '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.hePaeL + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.hePaeL ']' + local db=/tmp/tmp.hePaeL/db + mkdir -p /tmp/tmp.hePaeL/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.hePaeL/db Unable to change owner/group for /tmp/tmp.hePaeL/db/cbDvMENztsOEw74o6ZRoQVUOn1efOvLT-FsCJJH3pso.jwk to tang:tang Unable to change owner/group for /tmp/tmp.hePaeL/db/5AMZdgDV3qyCk_sOSTT7blm9yS_Drk5px7v7VtuLj2g.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.hePaeL/cache + '[' -z '' ']' + KEYS=/tmp/tmp.hePaeL/db + local pid pidfile + pidfile=/tmp/tmp.hePaeL/tang.pid + pid=25830 + echo 25830 + /usr/bin/socat -v -v TCP-LISTEN:5105,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.hePaeL/db' + tang_wait_until_ready 5105 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=5105 + '[' -z 5105 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:5105/adv > 2022/08/04 19:43:09.000949558 length=81 from=0 to=80 GET /adv HTTP/1.1\r Host: localhost:5105\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000959466 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFmdVVpNWsta0NvOU1KSTlBb1BZVjFXdFJzWVk4Sm1RVTdJTG1HcVgyZzVJXzhaTUFfUWJULXhPTTVldzV3Z0oyV0MtTkU5OWtDeTVCbVhpR2F3WERBVHYiLCAieSI6ICJBUjRwb09mbTV6b19RQURCem90X1c4QlFNeGVra25DbVV6MzBfTkRucWdvMnlXR2FJdGVUMmdSTm5XQjhTbk9XWEI5ZkFUeUhLRjc0SG5DT0ppakIwWEJEIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUJEY2dlRUxjZ20yemlVZko3NlJ6WFJKZ2tESWhXLXY5LWFLbmUwQnQ3ZjdMOEJWRUp6VkU1UE8yTWZqMU1nODRBOWNwMlVFeW1zZF9JRkdyMGVyTHNFNSIsICJ5IjogIkFQX0Jsek1EZnItSkdkTnhzZ2JZblI0ZnVwcE13V2x6SUlrNGhXcXNjSUFwN0pNM2puZEdjcGUtRlJsRWtabEpPeFJ2dm44b2tXT2xBSHM0cUdJYmdMT3gifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AU9j6UAaVdP97wNAGO_r9ou8VV83DdOrT3CSqEWsBWibudViZsTsvQdDMHnjpsgEvwEyrNeEKvbj0ewtPLTNTefdAJc0J_-0QgooCDYYw_EkF_6Q42ExlcyCzhtlpLw4GptNU2QssBHg7KWbf73NTHFNzESFtgh39G3iSgM4EnCEDTuz"}+ url=http://localhost:5105 + adv=/tmp/tmp.hePaeL/adv + tang_get_adv 5105 /tmp/tmp.hePaeL/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=5105 + local adv=/tmp/tmp.hePaeL/adv + '[' -z 5105 ']' + curl -L -o /tmp/tmp.hePaeL/adv http://localhost:5105/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/08/04 19:43:09.000966326 length=81 from=0 to=80 GET /adv HTTP/1.1\r Host: localhost:5105\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000978077 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFmdVVpNWsta0NvOU1KSTlBb1BZVjFXdFJzWVk4Sm1RVTdJTG1HcVgyZzVJXzhaTUFfUWJULXhPTTVldzV3Z0oyV0MtTkU5OWtDeTVCbVhpR2F3WERBVHYiLCAieSI6ICJBUjRwb09mbTV6b19RQURCem90X1c4QlFNeGVra25DbVV6MzBfTkRucWdvMnlXR2FJdGVUMmdSTm5XQjhTbk9XWEI5ZkFUeUhLRjc0SG5DT0ppakIwWEJEIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUJEY2dlRUxjZ20yemlVZko3NlJ6WFJKZ2tESWhXLXY5LWFLbmUwQnQ3ZjdMOEJWRUp6VkU1UE8yTWZqMU1nODRBOWNwMlVFeW1zZF9JRkdyMGVyTHNFNSIsICJ5IjogIkFQX0Jsek1EZnItSkdkTnhzZ2JZblI0ZnVwcE13V2x6SUlrNGhXcXNjSUFwN0pNM2puZEdjcGUtRlJsRWtabEpPeFJ2dm44b2tXT2xBSHM0cUdJYmdMT3gifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "Ac-tMFs75k_DKuPiBoq78NBCKKRTTnjxFhuPdp97kZLVAS5yVqSwFfDQCqLYRnbIiZIhJoPMSlfZMg_Gks6C0SlXAKpA5Y4tfeXfFeEy-aadqJGm9icYW1_Kv25kZD-K9BhsWPDeYthb8tvV3EW92ooJI3RzPYrfvSWfWqT_A174ThNy"} 100 993 100 993 0 0 72614 0 --:--:-- --:--:-- --:--:-- 76384 ++ printf '{"url":"%s","adv":"%s"}' http://localhost:5105 /tmp/tmp.hePaeL/adv + cfg='{"url":"http://localhost:5105","adv":"/tmp/tmp.hePaeL/adv"}' + DEV=/tmp/tmp.hePaeL/luks2-device + new_device luks2 /tmp/tmp.hePaeL/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.hePaeL/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.hePaeL ']' + tang_stop /tmp/tmp.hePaeL + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.hePaeL + '[' -z /tmp/tmp.hePaeL ']' + local pidfile=/tmp/tmp.hePaeL/tang.pid + '[' -f /tmp/tmp.hePaeL/tang.pid ']' + local pid + pid=25830 + kill -9 25830 + rm -rf /tmp/tmp.hePaeL /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-inplace-luks2: line 25: 25830 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 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.LPmbHa + ADV=/tmp/tmp.LPmbHa/adv.jws + tang_create_adv /tmp/tmp.LPmbHa /tmp/tmp.LPmbHa/adv.jws + local basedir=/tmp/tmp.LPmbHa + local adv=/tmp/tmp.LPmbHa/adv.jws + local SIG=/tmp/tmp.LPmbHa/sig.jwk + jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.LPmbHa/sig.jwk + local EXC=/tmp/tmp.LPmbHa/exc.jwk + jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.LPmbHa/exc.jwk + local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' + jose jwk pub --set --input=/tmp/tmp.LPmbHa/sig.jwk --input=/tmp/tmp.LPmbHa/exc.jwk + jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.LPmbHa/sig.jwk --output=/tmp/tmp.LPmbHa/adv.jws ++ printf '{"url":"foobar","adv":"%s"}' /tmp/tmp.LPmbHa/adv.jws + CFG='{"url":"foobar","adv":"/tmp/tmp.LPmbHa/adv.jws"}' + DEV=/tmp/tmp.LPmbHa/luks2-device + new_device luks2 /tmp/tmp.LPmbHa/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.LPmbHa/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.LPmbHa ']' + rm -rf /tmp/tmp.LPmbHa ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 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 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 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.iMLPiC ++ 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=8361 + tang_run /tmp/tmp.iMLPiC 8361 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.iMLPiC + local port=8361 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.iMLPiC ']' + '[' -z 8361 ']' + tang_new_keys /tmp/tmp.iMLPiC '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.iMLPiC + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.iMLPiC ']' + local db=/tmp/tmp.iMLPiC/db + mkdir -p /tmp/tmp.iMLPiC/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.iMLPiC/db Unable to change owner/group for /tmp/tmp.iMLPiC/db/01JsZcijnREUyFIzEZZdVSFvPMvIAXCYTv4S0C_X8HA.jwk to tang:tang Unable to change owner/group for /tmp/tmp.iMLPiC/db/ZSC0TezlWp0pY-0Dump2cZQdWsorWIrLU7A94m0Tpco.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.iMLPiC/cache + '[' -z '' ']' + KEYS=/tmp/tmp.iMLPiC/db + local pid pidfile + pidfile=/tmp/tmp.iMLPiC/tang.pid + pid=26065 + echo 26065 + /usr/bin/socat -v -v TCP-LISTEN:8361,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.iMLPiC/db' + tang_wait_until_ready 8361 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=8361 + '[' -z 8361 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:8361/adv > 2022/08/04 19:43:10.000105081 length=81 from=0 to=80 GET /adv HTTP/1.1\r Host: localhost:8361\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000113427 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU9SLTBlbXNwQkdRZm9NdDdkdzNPc3l2RUpfQzVVZlMwZERVSjJBT1dDWW5fc01DTDlSenFTM1RVT1doRGRxbFVPWUJRNFlZbzdHWnZWU0k3U1YxR3QxSyIsICJ5IjogIkFMV09IQVZDNklxakZBV1ljY3FVSWhZaVhTVGZzeVhhVlRtT2c4S09QeGxhN2tsQnFMaEJQUlRZbzJNT0REX05GTzFpQVY4M3lmYWFtY2o3SzViWEJWMnkifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVpIS25SbDB5Qm1yczRyV25iTkpNbVY5aHpoWlQ4am8tMkx5a3RXQ1E1WS1kcEhweFpNWHk4XzVTVC1XSUF5Q1NxNk5OZFI5V2NIWGloUzUxVlNOSHRXeCIsICJ5IjogIkFQNzZYS3FvLXJ1TGNqSnl2THFrZjNwZGx2S0Q5OU1sdVZYTmlCQ2FiekJSRTl4UExNUGI3R0R2UThKanpicjNVT1hCTG5zaTBhUHR1MGRVUTZPM1YwVHcifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AHeIOXGsCkXG0736kxTWfT-lNfL-upLCky_uNJeRAnYDSWLMzecxgJsegkiHSv24OQpfNUm7bO-HhckgWzvo0NAAAQQEOTrUFPKA4SLMGNj5TYh2zOJPTp_KLzltgLHK5fFdyF4XSZtU_vQqhr46TKhquhS5jUvhh6EHpdid0tk2gbBj"}+ url=http://localhost:8361 ++ printf '{"url":"%s"}' http://localhost:8361 + cfg='{"url":"http://localhost:8361"}' + DEV=/tmp/tmp.iMLPiC/luks2-device + new_device luks2 /tmp/tmp.iMLPiC/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.iMLPiC/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.iMLPiC ']' + tang_stop /tmp/tmp.iMLPiC + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.iMLPiC + '[' -z /tmp/tmp.iMLPiC ']' + local pidfile=/tmp/tmp.iMLPiC/tang.pid + '[' -f /tmp/tmp.iMLPiC/tang.pid ']' + local pid + pid=26065 + kill -9 26065 + rm -rf /tmp/tmp.iMLPiC /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/edit-tang-luks2: line 27: 26065 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" + for d in "${TMP}" "${TMP2}" + '[' '!' -d '' ']' + continue ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 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.OdNBId + TMP=/tmp/tmp.OdNBId ++ 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=57089 + tang_run /tmp/tmp.OdNBId 57089 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.OdNBId + local port=57089 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.OdNBId ']' + '[' -z 57089 ']' + tang_new_keys /tmp/tmp.OdNBId '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.OdNBId + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.OdNBId ']' + local db=/tmp/tmp.OdNBId/db + mkdir -p /tmp/tmp.OdNBId/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.OdNBId/db Unable to change owner/group for /tmp/tmp.OdNBId/db/5XLAFl_pDxLbrj5DX21bnnKGskMLanmEtTMxhZ9r0Uc.jwk to tang:tang Unable to change owner/group for /tmp/tmp.OdNBId/db/NkIn-GewnnJpZvMItj39WxnI-oqef5GTLtZV2G1I5-U.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.OdNBId/cache + '[' -z '' ']' + KEYS=/tmp/tmp.OdNBId/db + local pid pidfile + pidfile=/tmp/tmp.OdNBId/tang.pid + pid=26006 + echo 26006 + /usr/bin/socat -v -v TCP-LISTEN:57089,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.OdNBId/db' + tang_wait_until_ready 57089 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=57089 + '[' -z 57089 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:57089/adv > 2022/08/04 19:43:10.000093017 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:57089\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000101910 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFjUHZIU1hTUzRRZ2thS2JMTzRxSW44NWNNS1Z4RnZ5Y01zUUR3QW1fRUNWdFgwQ1M0bDFuS0pDUFJhWW5DV1c0d2JXUDJJUUQ1SmlTY09XYjNSM0tZaHciLCAieSI6ICJBRTA3X3B0VlcxNFFRRzZxN0VCYWQtNWZoWHBMSkdQQUF6VEJXcGRsdXUwdDlvZUVhazlpQ0x5NDFTWjh0aUFwMlpIeVkwVGV5UnNZSjBrWGxhNWtHWDBHIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU1KUDZvd2EwTVZuZ2I0V1JVdG5aNjRWOFdUOEFUZm9BdW0yUXdWWHRZWGgzakY2TGxPSkNqcEhaVGNxdXYwRHFnNXpLOUQxbGFHWVVJTmxfSFlKWEJXbiIsICJ5IjogIkFBOWlOb3VUMTNZVVJOb3hCT0hKVnRiSWFjVTNPN0FnUkp1Y0xhMFFBOG1ESGk2dDRrNGhXUjZ3MC13TURhR25KcXFHMGV6OXdsdGQtVUhYMkM5cFZCS0gifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ARwIEg_dlEcaFWUyBSfHfFPCcXPsP6McX-a6k17PjPfda8zqT8DbOheJF1bW91DMx_AxKJs7xTTBv8dn6hIx1M2kAP03nSGbhH1uEzl3rvPuM2qPMKymBsFWQ5nCy3MoFjZBI5dkU-yVcHNH8nrmFiU6D1bhetcT2xquwvA_1XnJrmkU"}+ url=http://localhost:57089 + adv=/tmp/tmp.OdNBId/adv + tang_get_adv 57089 /tmp/tmp.OdNBId/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=57089 + local adv=/tmp/tmp.OdNBId/adv + '[' -z 57089 ']' + curl -L -o /tmp/tmp.OdNBId/adv http://localhost:57089/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/08/04 19:43:10.000108412 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:57089\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000116456 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFjUHZIU1hTUzRRZ2thS2JMTzRxSW44NWNNS1Z4RnZ5Y01zUUR3QW1fRUNWdFgwQ1M0bDFuS0pDUFJhWW5DV1c0d2JXUDJJUUQ1SmlTY09XYjNSM0tZaHciLCAieSI6ICJBRTA3X3B0VlcxNFFRRzZxN0VCYWQtNWZoWHBMSkdQQUF6VEJXcGRsdXUwdDlvZUVhazlpQ0x5NDFTWjh0aUFwMlpIeVkwVGV5UnNZSjBrWGxhNWtHWDBHIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQU1KUDZvd2EwTVZuZ2I0V1JVdG5aNjRWOFdUOEFUZm9BdW0yUXdWWHRZWGgzakY2TGxPSkNqcEhaVGNxdXYwRHFnNXpLOUQxbGFHWVVJTmxfSFlKWEJXbiIsICJ5IjogIkFBOWlOb3VUMTNZVVJOb3hCT0hKVnRiSWFjVTNPN0FnUkp1Y0xhMFFBOG1ESGk2dDRrNGhXUjZ3MC13TURhR25KcXFHMGV6OXdsdGQtVUhYMkM5cFZCS0gifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "APAyQlxg6KPrgoTL5Q2navGHzuR9xoq9qD80UGrWD-2EJThSVXTFoPX_gAPit9Q4A7TD-vBLsy28H1hZe0guAeWpAY13oiD95SRLIcoVYan9t8jBTMDsAKI5qImPep_Ut08o7Rx4XRHry4ZLLTL2pv1kcgW4CyAc-6Zt2Prehwe6M1Fk"} 100 993 100 993 0 0 97171 0 --:--:-- --:--:-- --:--:-- 99300 ++ printf '{"url":"%s","adv":"%s"}' http://localhost:57089 /tmp/tmp.OdNBId/adv + cfg='{"url":"http://localhost:57089","adv":"/tmp/tmp.OdNBId/adv"}' + DEV=/tmp/tmp.OdNBId/luks2-device + new_device luks2 /tmp/tmp.OdNBId/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.OdNBId/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.OdNBId ']' + tang_stop /tmp/tmp.OdNBId + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.OdNBId + '[' -z /tmp/tmp.OdNBId ']' + local pidfile=/tmp/tmp.OdNBId/tang.pid + '[' -f /tmp/tmp.OdNBId/tang.pid ']' + local pid + pid=26006 + kill -9 26006 + rm -rf /tmp/tmp.OdNBId /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/regen-not-inplace-luks2: line 25: 26006 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.EkclHF ++ 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=29298 + tang_run /tmp/tmp.EkclHF 29298 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.EkclHF + local port=29298 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.EkclHF ']' + '[' -z 29298 ']' + tang_new_keys /tmp/tmp.EkclHF '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.EkclHF + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.EkclHF ']' + local db=/tmp/tmp.EkclHF/db + mkdir -p /tmp/tmp.EkclHF/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.EkclHF/db Unable to change owner/group for /tmp/tmp.EkclHF/db/svY02LDr8Prn0kEPataE8BJpdDbhhDZs_C9L2ejHCDo.jwk to tang:tang Unable to change owner/group for /tmp/tmp.EkclHF/db/u7Y_3YD402qQpSloGW7TXQ_FKRN9W58zvu2MSbYU3N4.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.EkclHF/cache + '[' -z '' ']' + KEYS=/tmp/tmp.EkclHF/db + local pid pidfile + pidfile=/tmp/tmp.EkclHF/tang.pid + pid=26010 + echo + 26010 /usr/bin/socat -v -v TCP-LISTEN:29298,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.EkclHF/db' + tang_wait_until_ready 29298 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=29298 + '[' -z 29298 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:29298/adv > 2022/08/04 19:43:10.000094445 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:29298\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000102604 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVFzZUx2YXBmOXpPZU1rU3hJbkd4VHB0YmxLOWdJdmpVcXYwbzJGYURTaEVVWFVaT2dtRldwNWZuTXk2ZWlBazFMV2UtZ2tTOWtEWnd4MWZNd1ZkSUt4SCIsICJ5IjogIkFGNl9kcDBiLTZvZFZpUWlDRDFuYmFGZ3B6eDJkQ3AtSkRZQzl6UElQMl9tcTRvUUNHVjZmQzEtUzJaSlRhd0Zmd1NiZG5GV2w1elRDNW5yLU9jSjJEYWEifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJMTldWTmpSWnBUdDRIVHZ3NUw5UnhjVV9RNVFGbjNsUzBabWdMVmluMnF5MF9LLThMLVJFRk0zN3c3bTcxWXhVU1N0VUIzMzM1cDF2OGZIcU10MUtLaSIsICJ5IjogIkFOU1FCNkRJMk9PZTFxRW1SQnBhMTRsdWFoSU9CQXJaQnRCYndxMllSbjBCNFVOZE9kZGphRERsSDRIeTBGTG5QVEFuX0lUdnFUNF9WUW5wVU16OXZRbEEifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AUfdPyy9jdPiGDhqxTZ1YAtkq63FBfW6FuOgqNNSdzivfBVnbj7qFBo82PX_MFVjainxywPngOKy44QK6EC7OZTsAJ5Y7xZLlpM8FuJGr0oOAvA3lUm5kFeUWUjBxxE2erq2sLnk4uLtm3ehiSH2hZ98MSV_9XsxOEQu-QfQxs75taqI"}+ url=http://localhost:29298 + adv=/tmp/tmp.EkclHF/adv + tang_get_adv 29298 /tmp/tmp.EkclHF/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=29298 + local adv=/tmp/tmp.EkclHF/adv + '[' -z 29298 ']' + curl -L -o /tmp/tmp.EkclHF/adv http://localhost:29298/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/08/04 19:43:10.000109290 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:29298\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000117505 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVFzZUx2YXBmOXpPZU1rU3hJbkd4VHB0YmxLOWdJdmpVcXYwbzJGYURTaEVVWFVaT2dtRldwNWZuTXk2ZWlBazFMV2UtZ2tTOWtEWnd4MWZNd1ZkSUt4SCIsICJ5IjogIkFGNl9kcDBiLTZvZFZpUWlDRDFuYmFGZ3B6eDJkQ3AtSkRZQzl6UElQMl9tcTRvUUNHVjZmQzEtUzJaSlRhd0Zmd1NiZG5GV2w1elRDNW5yLU9jSjJEYWEifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJMTldWTmpSWnBUdDRIVHZ3NUw5UnhjVV9RNVFGbjNsUzBabWdMVmluMnF5MF9LLThMLVJFRk0zN3c3bTcxWXhVU1N0VUIzMzM1cDF2OGZIcU10MUtLaSIsICJ5IjogIkFOU1FCNkRJMk9PZTFxRW1SQnBhMTRsdWFoSU9CQXJaQnRCYndxMllSbjBCNFVOZE9kZGphRERsSDRIeTBGTG5QVEFuX0lUdnFUNF9WUW5wVU16OXZRbEEifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AMEtjrM78mNMNufDqSLuVOg9SZuLCbfd_HMt-ae9KKFXD8rT1ZsScQdMtLqukzlojBNgZ_ti-wcue9L3bhWWHcynACMerTXO5OHIcnRTnGJNPAOJpwdu--o3R9Fy93SjmRAd7FsL69Pskn6--IeOmVx928uq4eCwsI2za8CFatldS9JM"} 100 993 100 993 0 0 90076 0 --:--:-- --:--:-- --:--:-- 99300 ++ printf '{"url":"%s","adv":"%s"}' http://localhost:29298 /tmp/tmp.EkclHF/adv + cfg='{"url":"http://localhost:29298","adv":"/tmp/tmp.EkclHF/adv"}' + DEV=/tmp/tmp.EkclHF/luks2-device + new_device luks2 /tmp/tmp.EkclHF/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.EkclHF/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.EkclHF ']' + tang_stop /tmp/tmp.EkclHF + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.EkclHF + '[' -z /tmp/tmp.EkclHF ']' + local pidfile=/tmp/tmp.EkclHF/tang.pid + '[' -f /tmp/tmp.EkclHF/tang.pid ']' + local pid + pid=26010 + kill -9 26010 + rm -rf /tmp/tmp.EkclHF /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-tang-luks2: line 25: 26010 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 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.oInacj ++ 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=16496 + tang_run /tmp/tmp.oInacj 16496 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.oInacj + local port=16496 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.oInacj ']' + '[' -z 16496 ']' + tang_new_keys /tmp/tmp.oInacj '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.oInacj + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.oInacj ']' + local db=/tmp/tmp.oInacj/db + mkdir -p /tmp/tmp.oInacj/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.oInacj/db Unable to change owner/group for /tmp/tmp.oInacj/db/RUbbCatM48HVbRMEdV7hb83o3Z-bTl6UvY5LvMTBcUQ.jwk to tang:tang Unable to change owner/group for /tmp/tmp.oInacj/db/ygSeNGarhV_CUeqYaM6pPqQweTE8d8L6beBj5oshJYI.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.oInacj/cache + '[' -z '' ']' + KEYS=/tmp/tmp.oInacj/db + local pid pidfile + pidfile=/tmp/tmp.oInacj/tang.pid + pid=26027 + echo 26027 + /usr/bin/socat -v -v TCP-LISTEN:16496,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.oInacj/db' + tang_wait_until_ready 16496 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=16496 + '[' -z 16496 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:16496/adv > 2022/08/04 19:43:10.000097539 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:16496\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000105570 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFINjZXLTF4UDlLM3dHcFc4N0dWUDd6blhuQ1pFNENDSHJlMFBfRVFRZ29wSFJmTGgzOXBISnFUTEQ4SzNVcTRQcWhpZVUzbEpoRnZuVHY1OXNuN1FFTHoiLCAieSI6ICJBUGtUYXVMcjRBZWhkRjRiS0Q3ZEdpUzNWTGlaT2tNNzVJNE93cXpmdENHNkYzMnU2bWRpZEo3V3VPZ01YV0dTeWItTlNVY212R1dIa0lkcGQ4VmR2UXhRIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlTWldIeldmMWVmcFlPZGdIVjNBVnl6Tm91c19iU3g4aktBczgwZERGa1Z2WkUwTF9leVAzSlJvYlZKak1XcVdpV243aFhnMEJHRTQyT3FKdXFhejVCbSIsICJ5IjogIkFlZ0RTUWlQc3RLUk9qMU43Q0lkUGljR01adGNnZldQM2V1NVNCX0hhWUYtNXF3V0s4TnJfTU9lXzBfSndYcndMUG1BMmtCZGtSRUFVSnhZbzJaN1RnRXcifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ALhHmD7DVMWvrzzbH9DzW9n7pLTiqukjmbTLR0e5zwMeNfysk9MbJG7Dbb5tJtfVxHh3eFhtztwuA-JZSHlLX2WcAOefPlRlTRh0Bf97lGQi1XpQylNGiE0Z9X_NkzhZpi8kphheRKx2PRcvIYTApiF5ph9g2x4DdKDp6GIAMDwq4hm-"}+ url=http://localhost:16496 + adv=/tmp/tmp.oInacj/adv + tang_get_adv 16496 /tmp/tmp.oInacj/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=16496 + local adv=/tmp/tmp.oInacj/adv + '[' -z 16496 ']' + curl -L -o /tmp/tmp.oInacj/adv http://localhost:16496/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/08/04 19:43:10.000112793 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:16496\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000120904 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFINjZXLTF4UDlLM3dHcFc4N0dWUDd6blhuQ1pFNENDSHJlMFBfRVFRZ29wSFJmTGgzOXBISnFUTEQ4SzNVcTRQcWhpZVUzbEpoRnZuVHY1OXNuN1FFTHoiLCAieSI6ICJBUGtUYXVMcjRBZWhkRjRiS0Q3ZEdpUzNWTGlaT2tNNzVJNE93cXpmdENHNkYzMnU2bWRpZEo3V3VPZ01YV0dTeWItTlNVY212R1dIa0lkcGQ4VmR2UXhRIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlTWldIeldmMWVmcFlPZGdIVjNBVnl6Tm91c19iU3g4aktBczgwZERGa1Z2WkUwTF9leVAzSlJvYlZKak1XcVdpV243aFhnMEJHRTQyT3FKdXFhejVCbSIsICJ5IjogIkFlZ0RTUWlQc3RLUk9qMU43Q0lkUGljR01adGNnZldQM2V1NVNCX0hhWUYtNXF3V0s4TnJfTU9lXzBfSndYcndMUG1BMmtCZGtSRUFVSnhZbzJaN1RnRXcifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "APwoW-G_lQzrNMjOkCBUbJWDIzJNqkDSYkWIktuqCudy15hNjNaGxHiGZfEtSRCXAq7O2gaN3K8sqN5jLq_vn8-CAVuuS-Xwx8yNuAosn8DpifkrVRJ2fka_d-ATn0l-Fruk6RAFQtgxdwK_9uDGOyZP7AX3umghalYy7wj29l9rE6Mz"} 100 993 100 993 0 0 95793 0 --:--:-- --:--:-- --:--:-- 99300 ++ printf '{"t": 1, "pins":{"tang":[{"url":"%s"}], "sss":{"t":1,"pins":{"tang":[{"url":"%s"}]}}}}' http://localhost:16496 http://localhost:16496 + cfg='{"t": 1, "pins":{"tang":[{"url":"http://localhost:16496"}], "sss":{"t":1,"pins":{"tang":[{"url":"http://localhost:16496"}]}}}}' + DEV=/tmp/tmp.oInacj/luks2-device + new_device luks2 /tmp/tmp.oInacj/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.oInacj/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.oInacj ']' + tang_stop /tmp/tmp.oInacj + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.oInacj + '[' -z /tmp/tmp.oInacj ']' + local pidfile=/tmp/tmp.oInacj/tang.pid + '[' -f /tmp/tmp.oInacj/tang.pid ']' + local pid + pid=26027 + kill -9 26027 + rm -rf /tmp/tmp.oInacj /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/report-sss-luks2: line 25: 26027 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 38/44 pass-tang-luks2 SKIP 0.09s 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.GgjMgP ++ 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=20944 + tang_run /tmp/tmp.GgjMgP 20944 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.GgjMgP + local port=20944 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.GgjMgP ']' + '[' -z 20944 ']' + tang_new_keys /tmp/tmp.GgjMgP '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.GgjMgP + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.GgjMgP ']' + local db=/tmp/tmp.GgjMgP/db + mkdir -p /tmp/tmp.GgjMgP/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.GgjMgP/db Unable to change owner/group for /tmp/tmp.GgjMgP/db/FfVmXoO_hgAb6XTxir60vdk7V8CoXkni7NQzw3Z4YxY.jwk to tang:tang Unable to change owner/group for /tmp/tmp.GgjMgP/db/3pl4afOFSglP1iE4cuEp4wd90xccOjbzs0V8sZiAgMg.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.GgjMgP/cache + '[' -z '' ']' + KEYS=/tmp/tmp.GgjMgP/db + local pid pidfile + pidfile=/tmp/tmp.GgjMgP/tang.pid + pid=26087 + /usr/bin/socat -v -v TCP-LISTEN:20944,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.GgjMgP/db' + echo 26087 + tang_wait_until_ready 20944 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=20944 + '[' -z 20944 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:20944/adv > 2022/08/04 19:43:10.000112351 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:20944\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000120483 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVUE95Tk9fRTY4OENwbmxhYUNjNGFJUWpYNmRhZ041UXEyRXRwY1pnNnlnMjFGZDhYeU4xcndQUGt1SnliY1VJTkdvRU5ZY19KQWRRa1J0LTJzbGJrOXYiLCAieSI6ICJBU3BXcnU4Xzlwd1dueDVKMmtJN0NZS0o5VThRX2l3YmQ3dm1RUEQyUS1YNE9rNjV6TDdSeXQtdlVSNHF6UHdzb0hTbkVISC14VURleUhFamliVmE2cW5uIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUJyUWQ0WjBuN0FHZERQVTAwU1lOUTdCbVdyMWEzOUtqT3hoVklsREhRNDFhc2JRRjROR1NxamNGc0FBT3NFLTQxTVVoT1puN2toNFNpVlM3bXNBNm5rbCIsICJ5IjogIkFJajNtWGRhYlVaYzJkT1R5SGR0RmdFV09nLUYzZWR5bXZCQjhYNWJnTFo3RUJ3VjhBY25fRE4yQXE1eU5mb3hWdlFnU1FOTFFnWDNhMjM4R1A3Ynd5Ri0ifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ACqXMKRN3Qn2UAtZg7MA7XCaCdVzDGXJvE-cQc-dRCa_-Sc839O0tglYSL7c3CoarDXNSk6Wd7QflnZ9RErjHZJtAKAeh1nUc8anUjbb39TZSS5crkabDqV4J6zcEi9Tdjg9rmFnjslJg2IBpGbeIXWp9tthY7tK8vglSXoMJRd2sBMq"}+ url=http://localhost:20944 + adv=/tmp/tmp.GgjMgP/adv + tang_get_adv 20944 /tmp/tmp.GgjMgP/adv + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=20944 + local adv=/tmp/tmp.GgjMgP/adv + '[' -z 20944 ']' + curl -L -o /tmp/tmp.GgjMgP/adv http://localhost:20944/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/08/04 19:43:10.000127896 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:20944\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000135958 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVUE95Tk9fRTY4OENwbmxhYUNjNGFJUWpYNmRhZ041UXEyRXRwY1pnNnlnMjFGZDhYeU4xcndQUGt1SnliY1VJTkdvRU5ZY19KQWRRa1J0LTJzbGJrOXYiLCAieSI6ICJBU3BXcnU4Xzlwd1dueDVKMmtJN0NZS0o5VThRX2l3YmQ3dm1RUEQyUS1YNE9rNjV6TDdSeXQtdlVSNHF6UHdzb0hTbkVISC14VURleUhFamliVmE2cW5uIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUJyUWQ0WjBuN0FHZERQVTAwU1lOUTdCbVdyMWEzOUtqT3hoVklsREhRNDFhc2JRRjROR1NxamNGc0FBT3NFLTQxTVVoT1puN2toNFNpVlM3bXNBNm5rbCIsICJ5IjogIkFJajNtWGRhYlVaYzJkT1R5SGR0RmdFV09nLUYzZWR5bXZCQjhYNWJnTFo3RUJ3VjhBY25fRE4yQXE1eU5mb3hWdlFnU1FOTFFnWDNhMjM4R1A3Ynd5Ri0ifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ANDmZIu5d8B2t-v7GLCrEyniNbU9b-KuUxOUqtJx1oelwdZp95zWDJaXoPPEonXM5Zc0zCJwiRXLF-3cng1j1UQkAUutOxEF_XAZIKVwLgnV5pIl0YUGXG5uvlQnBK3RQM5kHFPP7zCNQ-HjVXKMz2-JpVwMiaZP0zoam9KqjNUFHOoz"} 100 993 100 993 0 0 99329 0 --:--:-- --:--:-- --:--:-- 107k ++ printf '{"url":"%s","adv":"%s"}' http://localhost:20944 /tmp/tmp.GgjMgP/adv + cfg='{"url":"http://localhost:20944","adv":"/tmp/tmp.GgjMgP/adv"}' + DEV=/tmp/tmp.GgjMgP/luks2-device + new_device luks2 /tmp/tmp.GgjMgP/luks2-device + local LUKS=luks2 + local DEV=/tmp/tmp.GgjMgP/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.GgjMgP ']' + tang_stop /tmp/tmp.GgjMgP + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.GgjMgP + '[' -z /tmp/tmp.GgjMgP ']' + local pidfile=/tmp/tmp.GgjMgP/tang.pid + '[' -f /tmp/tmp.GgjMgP/tang.pid ']' + local pid + pid=26087 + kill -9 26087 + rm -rf /tmp/tmp.GgjMgP /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/pass-tang-luks2: line 25: 26087 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 40/44 pin-test OK 0.11s ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: + trap exit ERR ++ echo -n hi ++ clevis encrypt test '{}' + e=eyJhbGciOiJkaXIiLCJjbGV2aXMiOnsicGluIjoidGVzdCIsInRlc3QiOnsiandrIjp7ImFsZyI6IkEyNTZHQ00iLCJrIjoiWk05aTNoaEUweXJGbjFteUhnVVhKZ1Vlb0xrdThoMUZJQ2tQSktzMG8tcyIsImtleV9vcHMiOlsiZW5jcnlwdCIsImRlY3J5cHQiXSwia3R5Ijoib2N0In19fSwiZW5jIjoiQTI1NkdDTSJ9..3sGt0HIwQiA_mi4g.1iQ.8H3f4C2dLbEnNVstK0RcJw ++ echo -n eyJhbGciOiJkaXIiLCJjbGV2aXMiOnsicGluIjoidGVzdCIsInRlc3QiOnsiandrIjp7ImFsZyI6IkEyNTZHQ00iLCJrIjoiWk05aTNoaEUweXJGbjFteUhnVVhKZ1Vlb0xrdThoMUZJQ2tQSktzMG8tcyIsImtleV9vcHMiOlsiZW5jcnlwdCIsImRlY3J5cHQiXSwia3R5Ijoib2N0In19fSwiZW5jIjoiQTI1NkdDTSJ9..3sGt0HIwQiA_mi4g.1iQ.8H3f4C2dLbEnNVstK0RcJw ++ clevis decrypt + d=hi + test hi == hi ++ echo -n hi ++ clevis encrypt test '{"fail":true}' + e=eyJhbGciOiJkaXIiLCJjbGV2aXMiOnsicGluIjoidGVzdCIsInRlc3QiOnt9fSwiZW5jIjoiQTI1NkdDTSJ9..i5v7qmhYYgsCch4c.Eno.1gyxAC4hwEhfMakkrbbHYQ + echo eyJhbGciOiJkaXIiLCJjbGV2aXMiOnsicGluIjoidGVzdCIsInRlc3QiOnt9fSwiZW5jIjoiQTI1NkdDTSJ9..i5v7qmhYYgsCch4c.Eno.1gyxAC4hwEhfMakkrbbHYQ + clevis decrypt ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 41/44 pin-tang OK 0.70s ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― 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.bgKeJI ++ 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=47450 + tang_run /tmp/tmp.bgKeJI 47450 sig exc + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.bgKeJI + local port=47450 + local sig_name=sig + local exc_name=exc + '[' -z /tmp/tmp.bgKeJI ']' + '[' -z 47450 ']' + tang_new_keys /tmp/tmp.bgKeJI '' sig exc + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.bgKeJI + local rotate= + local sig_name=sig + local exc_name=exc + '[' -z /tmp/tmp.bgKeJI ']' + local db=/tmp/tmp.bgKeJI/db + mkdir -p /tmp/tmp.bgKeJI/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.bgKeJI/db sig exc Unable to change owner/group for /tmp/tmp.bgKeJI/db/sig.jwk to tang:tang Unable to change owner/group for /tmp/tmp.bgKeJI/db/exc.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.bgKeJI/cache + '[' -z '' ']' + KEYS=/tmp/tmp.bgKeJI/db + local pid pidfile + pidfile=/tmp/tmp.bgKeJI/tang.pid + pid=26088 + + /usr/bin/socat echo -v 26088-v TCP-LISTEN:47450,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.bgKeJI/db' + tang_wait_until_ready 47450 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=47450 + '[' -z 47450 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:47450/adv > 2022/08/04 19:43:10.000112282 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:47450\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000120584 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFab3AxODhyel9ZUk5MczNUbUJjeDVnTEJLVDMtOWMwQ0V3RUY0RFAzLUdhNzByMjRnWTJ4dWpKakpJcEMzZWE2ZF9TS0tTRF94M2N3Y3VfOThPdXp3V2EiLCAieSI6ICJBTl8yMFBzbGRvX01OcGlNRnU1LVBOcVdIdTFoRVRFRGFLR0JOVEV6SEtrN1hqOGMyMElhOE44VFZfckFZNUgwZDA0ZktWMFVscnZYWkxYOGt4end4Q1hIIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJuT0txeFRhN1BwemlQZ1pUamo5WEVWMC1iV1k5Q2NobVE2MXExY0wteE5QVzVpNDR4OUdiZzJQZV82UUZHS21XM1VmdkI1Wmo0UlBOWG5QTG9OcmwxQiIsICJ5IjogIkFUaUpieng5RFYyQ3FDdXpiZEI0Nk95UjI4Y1VFVGs4QTNVYkhKWi1ZNk51NG9LdGlSYy04cy1PXzFoaXRLX2ppWDJ4M1IyUnIwR0YyTlkwTGR3TkdtUXkifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AR5NdxXj4rPgSHacrUyD3Olo87y1ldgw3JCBuwsUS9aQ4-nDrO61k5SmlbBiJwXM1aoOYc2tKtOubyH-nYdSBYCcAaWYk0tzroEUddQwrYQadY_J2CZTCKXZw5YEaq52RlGQMi1aamQahnYP0fU3P1D15Rk0Yn_U1bo6RwAkNslLOySR"}++ jose jwk thp -i /tmp/tmp.bgKeJI/db/sig.jwk + thp=xs-qG2WibnW3jwlasZjhsPJildZNdZOOw7ImedKBAos + adv=/tmp/tmp.bgKeJI/adv.jws + tang_get_adv 47450 /tmp/tmp.bgKeJI/adv.jws + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=47450 + local adv=/tmp/tmp.bgKeJI/adv.jws + '[' -z 47450 ']' + curl -L -o /tmp/tmp.bgKeJI/adv.jws http://localhost:47450/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/08/04 19:43:10.000132468 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:47450\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000140995 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFab3AxODhyel9ZUk5MczNUbUJjeDVnTEJLVDMtOWMwQ0V3RUY0RFAzLUdhNzByMjRnWTJ4dWpKakpJcEMzZWE2ZF9TS0tTRF94M2N3Y3VfOThPdXp3V2EiLCAieSI6ICJBTl8yMFBzbGRvX01OcGlNRnU1LVBOcVdIdTFoRVRFRGFLR0JOVEV6SEtrN1hqOGMyMElhOE44VFZfckFZNUgwZDA0ZktWMFVscnZYWkxYOGt4end4Q1hIIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJuT0txeFRhN1BwemlQZ1pUamo5WEVWMC1iV1k5Q2NobVE2MXExY0wteE5QVzVpNDR4OUdiZzJQZV82UUZHS21XM1VmdkI1Wmo0UlBOWG5QTG9OcmwxQiIsICJ5IjogIkFUaUpieng5RFYyQ3FDdXpiZEI0Nk95UjI4Y1VFVGs4QTNVYkhKWi1ZNk51NG9LdGlSYy04cy1PXzFoaXRLX2ppWDJ4M1IyUnIwR0YyTlkwTGR3TkdtUXkifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AHguBCGih_W2qH23NxiZaEElRRKxpb7P6SjsalneWjNKgaLxPzZpqwdqtFJtbeN9HUSwI6imotIuuR8F-tDZvFVUAGd3FS6-TVUi_LUu0ccciH7tMP0H7cqr-gOy5PaNpnSHAbRfv4q7MGtCA0Tk_SuHJEtsRkEDl5BuD3wKlR0DqD-Q"} 100 993 100 993 0 0 92535 0 --:--:-- --:--:-- --:--:-- 99300 + url=http://localhost:47450 ++ printf '{"url":"%s","adv":"%s"}' http://localhost:47450 /tmp/tmp.bgKeJI/adv.jws + cfg='{"url":"http://localhost:47450","adv":"/tmp/tmp.bgKeJI/adv.jws"}' ++ echo -n hi ++ clevis encrypt tang '{"url":"http://localhost:47450","adv":"/tmp/tmp.bgKeJI/adv.jws"}' + enc=eyJhbGciOiJFQ0RILUVTIiwiY2xldmlzIjp7InBpbiI6InRhbmciLCJ0YW5nIjp7ImFkdiI6eyJrZXlzIjpbeyJhbGciOiJFUzUxMiIsImNydiI6IlAtNTIxIiwia2V5X29wcyI6WyJ2ZXJpZnkiXSwia3R5IjoiRUMiLCJ4IjoiQVpvcDE4OHJ6X1lSTkxzM1RtQmN4NWdMQktUMy05YzBDRXdFRjREUDMtR2E3MHIyNGdZMnh1akpqSklwQzNlYTZkX1NLS1NEX3gzY3djdV85OE91endXYSIsInkiOiJBTl8yMFBzbGRvX01OcGlNRnU1LVBOcVdIdTFoRVRFRGFLR0JOVEV6SEtrN1hqOGMyMElhOE44VFZfckFZNUgwZDA0ZktWMFVscnZYWkxYOGt4end4Q1hIIn0seyJhbGciOiJFQ01SIiwiY3J2IjoiUC01MjEiLCJrZXlfb3BzIjpbImRl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host:47450\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"ANaO2Ft6rhyrUedOoonOQ_8jBQji7U5dGwdAVpciENzL68RqYyHR_n0CHhWjog1DG8fr8qXIcx_eZFdqL_GG9OGb","y":"AR62FTvxWx77OGw05WbjJKJ9VSHZzQNvqVRpVVGwlDqcjIy0tWynAnMRSntY_6C7u_gcmcyRZvqx2qHFw0SSynR3"} POST /rec/-HuhXXQJRJwAYKbiyJ75cq-zURtUnz2qF-jctB_l5dE => 200 (../src/tangd.c:155) < 2022/08/04 19:43:10.000379467 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":"Abvv6GbUbIQocMrlfTmcP4sLrYkwsWVvbPDVjZJKt8XJ4rVG58woRp1UxVN_hb63AaQ6hiZNk9ZS2EhTnPQSH_yI","y":"AcJN3arb1HPxTH6FgvWp6m4EnmmX8WJ0j_Jr0PvzSAFDnkkwkEQEJeob7eeaXYf9huP1pGqxzXxKD4ceK94j8--p"}+ dec=hi + test hi == hi ++ printf '{"url":"%s","thp":"%s"}' http://localhost:47450 xs-qG2WibnW3jwlasZjhsPJildZNdZOOw7ImedKBAos + cfg='{"url":"http://localhost:47450","thp":"xs-qG2WibnW3jwlasZjhsPJildZNdZOOw7ImedKBAos"}' ++ echo -n hi ++ clevis encrypt tang '{"url":"http://localhost:47450","thp":"xs-qG2WibnW3jwlasZjhsPJildZNdZOOw7ImedKBAos"}' > 2022/08/04 19:43:10.000459524 length=126 from=0 to=125 GET /adv/xs-qG2WibnW3jwlasZjhsPJildZNdZOOw7ImedKBAos HTTP/1.1\r Host: localhost:47450\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/xs-qG2WibnW3jwlasZjhsPJildZNdZOOw7ImedKBAos => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000473869 length=1349 from=0 to=1348 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 1271\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFab3AxODhyel9ZUk5MczNUbUJjeDVnTEJLVDMtOWMwQ0V3RUY0RFAzLUdhNzByMjRnWTJ4dWpKakpJcEMzZWE2ZF9TS0tTRF94M2N3Y3VfOThPdXp3V2EiLCAieSI6ICJBTl8yMFBzbGRvX01OcGlNRnU1LVBOcVdIdTFoRVRFRGFLR0JOVEV6SEtrN1hqOGMyMElhOE44VFZfckFZNUgwZDA0ZktWMFVscnZYWkxYOGt4end4Q1hIIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVJuT0txeFRhN1BwemlQZ1pUamo5WEVWMC1iV1k5Q2NobVE2MXExY0wteE5QVzVpNDR4OUdiZzJQZV82UUZHS21XM1VmdkI1Wmo0UlBOWG5QTG9OcmwxQiIsICJ5IjogIkFUaUpieng5RFYyQ3FDdXpiZEI0Nk95UjI4Y1VFVGs4QTNVYkhKWi1ZNk51NG9LdGlSYy04cy1PXzFoaXRLX2ppWDJ4M1IyUnIwR0YyTlkwTGR3TkdtUXkifV19", "signatures": [{"signature": "AdF9e7-gKU6N078zpcF9iDc7_DCGUC6XITUVNUBUNtCt4moPR4ClZe-7ghWBSBYXtvw0LQ1037VfePNs9-xEtuJFAKKhU-K2KGwRZNqwt7yvpK8KGjM4GF61KL-ftOzfAJ_k-2YlvDJs4GnbN7XGj-2RiwE4UzfFZ4MpDezY7ADn6XzP", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9"}, {"protected": "eyJhbGciOiJFUzUxM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VYkhKWi1ZNk51NG9LdGlSYy04cy1PXzFoaXRLX2ppWDJ4M1IyUnIwR0YyTlkwTGR3TkdtUXkifV19LCJ1cmwiOiJodHRwOi8vbG9jYWxob3N0OjQ3NDUwIn19LCJlbmMiOiJBMjU2R0NNIiwiZXBrIjp7ImNydiI6IlAtNTIxIiwia3R5IjoiRUMiLCJ4IjoiQUgwOGI4bV9GOGNDWkVycVd2UC1Lc3BORlRpUC1KTTJfakFuVVJQOFJoVml5MlpuNl84SmlPR3pTVFJUUlZvVFRkdzNpcmdUX00tU2g3S1ZjeTFJUFFpQyIsInkiOiJBSnFsRzRpSnd1enYtSE05UDNuNGcwdktyb1lMRlEyOHBRVU1hakZGT21DeklWMGlvbnBwZUpMSlhHQmVzeUFaOHhWRFlFZmpvWVVTVHNFb2pBb05NblprIn0sImtpZCI6Ii1IdWhYWFFKUkp3QVlLYml5Sjc1Y3EtelVSdFVuejJxRi1qY3RCX2w1ZEUifQ..Z8WQogw66UNxbpSI.6KY.tNy-oOVMTHD4M013Pc2ViA++ clevis decrypt > 2022/08/04 19:43:10.000638124 length=414 from=0 to=413 POST /rec/-HuhXXQJRJwAYKbiyJ75cq-zURtUnz2qF-jctB_l5dE HTTP/1.1\r Host: localhost:47450\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"ACZJRfLSN0svRB6KSvJIG7JKlGmkmU6avytGtOa_ar4AMpoVTtlentuVPvR51pcNsZgssAYDk3fSM2HPeC70pn6P","y":"AW45vhGJsinVZsmGhxvbXiZsBUAcuJ2Go2riB1cK-R-3APo1I1IQmD9OAADfimzijlvubNgP9377BVauK5l1BlIm"} POST /rec/-HuhXXQJRJwAYKbiyJ75cq-zURtUnz2qF-jctB_l5dE => 200 (../src/tangd.c:155) < 2022/08/04 19:43:10.000646196 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":"AFwAbmIrwXdhqtbedWjiR3L6IB3mQFa7_SJBeyzQqvurPJQT3OYEp4QPhxi46pDmKZsqHh3MFM-B_YzQzvMPloRU","y":"ATDLCbgljqzANGmI27Y8BO329BrqxazCilTk7-KfwveRa9drTHEdM3A71gRZZh4_xZ8zENA5Dk7zOmnXIJxshBEl"}+ dec=hi + test hi == hi + tang_stop /tmp/tmp.bgKeJI + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.bgKeJI + '[' -z /tmp/tmp.bgKeJI ']' + local pidfile=/tmp/tmp.bgKeJI/tang.pid + '[' -f /tmp/tmp.bgKeJI/tang.pid ']' + local pid + pid=26088 + kill -9 26088 + echo eyJhbGciOiJFQ0RILUVTIiwiY2xldmlzIjp7InBpbiI6InRhbmciLCJ0YW5nIjp7ImFkdiI6eyJrZXlzIjpbeyJhbGciOiJFUzUxMiIsImNydiI6IlAtNTIxIiwia2V5X29wcyI6WyJ2ZXJpZnkiXSwia3R5IjoiRUMiLCJ4IjoiQVpvcDE4OHJ6X1lSTkxzM1RtQmN4NWdMQktUMy05YzBDRXdFRjREUDMtR2E3MHIyNGdZMnh1akpqSklwQzNlYTZkX1NLS1NEX3gzY3djdV85OE91endXYSIsInkiOiJBTl8yMFBzbGRvX01OcGlNRnU1LVBOcVdIdTFoRVRFRGFLR0JOVEV6SEtrN1hqOGMyMElhOE44VFZfckFZNUgwZDA0ZktWMFVscnZYWkxYOGt4end4Q1hIIn0seyJhbGciOiJFQ01SIiwiY3J2IjoiUC01MjEiLCJrZXlfb3BzIjpbImRlcml2ZUtleSJdLCJrdHkiOiJFQyIsIngiOiJBUm5PS3F4VGE3UHB6aVBnWlRqajlYRVYwLWJXWTlDY2htUTYxcTFjTC14TlBXNWk0NHg5R2JnMlBlXzZRRkdLbVczVWZ2QjVaajRSUE5YblBMb05ybDFCIiwieSI6IkFUaUpieng5RFYyQ3FDdXpiZEI0Nk95UjI4Y1VFVGs4QTNVYkhKWi1ZNk51NG9LdGlSYy04cy1PXzFoaXRLX2ppWDJ4M1IyUnIwR0YyTlkwTGR3TkdtUXkifV19LCJ1cmwiOiJodHRwOi8vbG9jYWxob3N0OjQ3NDUwIn19LCJlbmMiOiJBMjU2R0NNIiwiZXBrIjp7ImNydiI6IlAtNTIxIiwia3R5IjoiRUMiLCJ4IjoiQUgwOGI4bV9GOGNDWkVycVd2UC1Lc3BORlRpUC1KTTJfakFuVVJQOFJoVml5MlpuNl84SmlPR3pTVFJUUlZvVFRkdzNpcmdUX00tU2g3S1ZjeTFJUFFpQyIsInkiOiJBSnFsRzRpSnd1enYtSE05UDNuNGcwdktyb1lMRlEyOHBRVU1hakZGT21DeklWMGlvbnBwZUpMSlhHQmVzeUFaOHhWRFlFZmpvWVVTVHNFb2pBb05NblprIn0sImtpZCI6Ii1IdWhYWFFKUkp3QVlLYml5Sjc1Y3EtelVSdFVuejJxRi1qY3RCX2w1ZEUifQ..Z8WQogw66UNxbpSI.6KY.tNy-oOVMTHD4M013Pc2ViA + clevis decrypt Error communicating with the server! /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/tests/pin-tang: line 55: 26088 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" + on_exit + exit_status=0 + tang_stop /tmp/tmp.bgKeJI + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.bgKeJI + '[' -z /tmp/tmp.bgKeJI ']' + local pidfile=/tmp/tmp.bgKeJI/tang.pid + '[' -f /tmp/tmp.bgKeJI/tang.pid ']' + local pid + pid=26088 + kill -9 26088 + : + '[' -d /tmp/tmp.bgKeJI ']' + rm -rf /tmp/tmp.bgKeJI + exit 0 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 39/44 pin-sss OK 1.09s ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stderr: ++ echo hi ++ clevis encrypt sss '{"t":1,"pins":{"test":[{},{}]}}' + e=eyJhbGciOiJkaXIiLCJjbGV2aXMiOnsicGluIjoic3NzIiwic3NzIjp7Imp3ZSI6WyJleUpoYkdjaU9pSmthWElpTENKamJHVjJhWE1pT25zaWNHbHVJam9pZEdWemRDSXNJblJsYzNRaU9uc2lhbmRySWpwN0ltRnNaeUk2SWtFeU5UWkhRMDBpTENKcklqb2liMFV4UzFNMlVsQlJNVEJhYTJkRE5qbHhiRWhsTWsxU1ZIbEhkVjlqZDJObmJYaFhjM2xCYUdKWVZTSXNJbXRsZVY5dmNITWlPbHNpWlc1amNubHdkQ0lzSW1SbFkzSjVjSFFpWFN3aWEzUjVJam9pYjJOMEluMTlmU3dpWlc1aklqb2lRVEkxTmtkRFRTSjkuLmJBWXBTdHRKV20xRXBiVV8udUNSSVZuTDAtZHVoeE5LWEQ1STE5T19OYkplR0V0cnBiVkJ4RFFCZF94b1hiU1BIZmNwNDItMlNzejZiZ2lDN2ZoUXAwZy1TTEE0T0RFNkJpVTNTRFEuQXQtX1NiNFFENEU3MGNQM1ZxV0c1dyIsImV5SmhiR2NpT2lKa2FYSWlMQ0pqYkdWMmFYTWlPbnNpY0dsdUlqb2lkR1Z6ZENJc0luUmxjM1FpT25zaWFuZHJJanA3SW1Gc1p5STZJa0V5TlRaSFEwMGlMQ0pySWpvaU5uVXhXV2hvYTFCVGRsaDJRM3BLYlV4U05scG9abk5uUkd4UVFuRnhWR2cyY3kwdFVYbHFTWGhwTkNJc0ltdGxlVjl2Y0hNaU9sc2laVzVqY25sd2RDSXNJbVJsWTNKNWNIUWlYU3dpYTNSNUlqb2liMk4wSW4xOWZTd2laVzVqSWpvaVFUSTFOa2REVFNKOS4uRXdvNTMyRWxRTXNxbU5sbi4wb3J0akFf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xjM1FpT250OWZTd2laVzVqSWpvaVFUSTFOa2REVFNKOS4uRkpBMnM0NHhPN19TTzV6QS5VY0VaSjVBNWN3U25GTlloMHhLSkpUdDV1T0RMaTNVV2hBX2J4QTVaZXRPcTNuTG9SWE5LaHRVbjVRcXB2a0RLRXVFNzFyRWhmd0FVU1JKTEUwMVNVQS5ITnlrRFBwaC1CckVoNHRreWxZRHJBIl0sInAiOiJfNXJRODVNTDZrbkRZM3NwNHRYYUd1NHJodGM4c0cwc1VQLTFXNTlfZDljIiwidCI6MX19LCJlbmMiOiJBMjU2R0NNIn0..R6SsDVVSMZRbGDo7.OYPT.iDYgL9q3S5BrQQPUTh3hiA ++ clevis decrypt + d=hi + test hi == hi ++ echo hi ++ clevis encrypt sss '{"t":1,"pins":{"test":[{"fail":true},{"fail":true}]}}' + e=eyJhbGciOiJkaXIiLCJjbGV2aXMiOnsicGluIjoic3NzIiwic3NzIjp7Imp3ZSI6WyJleUpoYkdjaU9pSmthWElpTENKamJHVjJhWE1pT25zaWNHbHVJam9pZEdWemRDSXNJblJsYzNRaU9udDlmU3dpWlc1aklqb2lRVEkxTmtkRFRTSjkuLlAxUWRzTEt5NlpERkU1N2QuaFhKcnZrMk1IX0ltZDFsTm9mS2tnQnVxNU1JcXdmV2lnMHBrcDV0aUxhc3dqVEdpRmhpWnRsNzVDY0U2cjJqWHo5WDFPbFlxdFhkODJGZXFoNUtjTncualR5bXBlc3hqSnU4UFBXRGFtOFpTUSIsImV5SmhiR2NpT2lKa2FYSWlMQ0pqYkdWMmFYTWlPbnNpY0dsdUlqb2lkR1Z6ZENJc0luUmxjM1FpT250OWZTd2laVzVqSWpvaVFUSTFOa2REVFNKOS4uYV94YWZnaHVPV2pDMngtYS5aYlpfUzVmM1VkeUNmZmJteUlTbkRpODRXMXphYVI4WVhhQmlEUktaUUZXQ0xGVm5pQVVGMWFGb0I0R3ptYWlaSjdLU2JfZWtSY1pyT2doWWd4dkxhQS41SkN6N3FQcGs0MHRuUTNHMV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pTENKamJHVjJhWE1pT25zaWNHbHVJam9pZEdWemRDSXNJblJsYzNRaU9udDlmU3dpWlc1aklqb2lRVEkxTmtkRFRTSjkuLlRJam01QVUtcmVfeFplUkguSjNoemJzalQ0QUJFbDZiMDNGT0YzcGFfVFAwNy15R0FOX09kTEt4S1IwdW1hUS1BR3EyUE9sOGcyT0pyQUNXVnRIY0l0Vl81cDRFUFlkcmcwNXZWb1EuX2JaaV93ckVzcjY4UTNwYy1PdEpZZyIsImV5SmhiR2NpT2lKa2FYSWlMQ0pqYkdWMmFYTWlPbnNpY0dsdUlqb2lkR1Z6ZENJc0luUmxjM1FpT250OWZTd2laVzVqSWpvaVFUSTFOa2REVFNKOS4uQXZMX0R5RWdlWUhoeDVmWi5VaWRKTElyNGxtRGJzcDREUW5CbGxzeG40MWVqdVR2bVNDTnZmYkEwU1NXZHhBemZhY19LeHY4NGE1QzhRek9YLXJ1REx4WEktRHpKeGFWTnZSeTNLdy5HenNBdW15ZnIzMDJ3ZXZWLVFOdldnIl0sInAiOiI2ZDBtMDFURW9rNW1wYUJ1UU4xa3E0aGRvaHlhNnVYcF9aYmZ5SEZ6YUY4IiwidCI6Mn19LCJlbmMiOiJBMjU2R0NNIn0..2Q6VlcIo4isDhESZ.LPoe.OaLao_W4RT5qThwn0Rp1lw + 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.58s ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― 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.ElKneC ++ 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=31293 + tang_run /tmp/tmp.ElKneC 31293 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.ElKneC + local port=31293 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.ElKneC ']' + '[' -z 31293 ']' + tang_new_keys /tmp/tmp.ElKneC '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.ElKneC + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.ElKneC ']' + local db=/tmp/tmp.ElKneC/db + mkdir -p /tmp/tmp.ElKneC/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.ElKneC/db Unable to change owner/group for /tmp/tmp.ElKneC/db/bQeIOC6FLnxfKXEhdo4qUyLbb3b_hz9psN68gxXvag0.jwk to tang:tang Unable to change owner/group for /tmp/tmp.ElKneC/db/GBIGhMqu3TRctl0jQsRGJ7gpiqkAUHkfwR3tt8MUCsk.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.ElKneC/cache + '[' -z '' ']' + KEYS=/tmp/tmp.ElKneC/db + local pid pidfile + pidfile=/tmp/tmp.ElKneC/tang.pid + pid=26171 + echo 26171 + /usr/bin/socat -v -v TCP-LISTEN:31293,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.ElKneC/db' + tang_wait_until_ready 31293 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=31293 + '[' -z 31293 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:31293/adv > 2022/08/04 19:43:10.000133230 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:31293\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000141321 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlFWDdRVHlQek5LV3lmOE9vRmVNSnd5eEdCMkNvSU9BU1FHSVNDdVZTazgzc1NiMU9KVGkwLVJRZzdvWGJzbDZ1V1N1MUEwSmoxU2FSR0ladkkxeGVQLSIsICJ5IjogIkFGeVNPQzZBYnlqbVQ4ME5oM3B3SENJR1U1c3NFb3VDa1FsbEtDalMxdldQczIwYmNqOUotc1JKcFJ2NFB6NWZZYnE0em1PQ0s2OVg0WElOM3ZjODN0NEUifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWRENGhDbVBnZ2ctUWpwbE9iZlpQVmNGQnNTUVFfbnVFRlNNUEtIZzRLR3duWjYwdmd6eXEzZE9YUWM5aHQ3VWpKdHhnc1YwcEl5VWZsMXJ5Z1puY3JwYSIsICJ5IjogIkFJRDFQV181SzdkNWROdUNiUWp3RGJDcjJpNFMzT2V3cUU1RkRXZlh5OG50dkdfTUlLUXZPTHhuMUpwenVwcjFHT0NJQ0dNeVJoelFHWG1BZlJrOFBqcGQifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AbJyjB6eOx-OjL_qNy9VkCPyZc8S-Z4kuptAD4d1a5aUoXTA4fuPCvlnuvYBEgcxKlHBrUdcYnIE9R4Q7HICjWC-AMyorLolPziTovGsrusbdEbwLONceyd77MEsf01-6C_0r-HDVNsdyc_cLxSzH5rcroG8uhiMkWIEWQYsBrPcDY7g"}+ url=http://localhost:31293 + data='just a sample text' ++ tang_get_adv 31293 ++ tang_sanity_check ++ '[' -n /usr/bin/socat ']' ++ '[' -n /usr/libexec/tangd-keygen ']' ++ '[' -n /usr/libexec/tangd ']' ++ return 0 ++ local port=31293 ++ local adv=/dev/stdout ++ '[' -z 31293 ']' ++ curl -L -o /dev/stdout http://localhost:31293/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/08/04 19:43:10.000148588 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:31293\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000156942 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlFWDdRVHlQek5LV3lmOE9vRmVNSnd5eEdCMkNvSU9BU1FHSVNDdVZTazgzc1NiMU9KVGkwLVJRZzdvWGJzbDZ1V1N1MUEwSmoxU2FSR0ladkkxeGVQLSIsICJ5IjogIkFGeVNPQzZBYnlqbVQ4ME5oM3B3SENJR1U1c3NFb3VDa1FsbEtDalMxdldQczIwYmNqOUotc1JKcFJ2NFB6NWZZYnE0em1PQ0s2OVg0WElOM3ZjODN0NEUifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWRENGhDbVBnZ2ctUWpwbE9iZlpQVmNGQnNTUVFfbnVFRlNNUEtIZzRLR3duWjYwdmd6eXEzZE9YUWM5aHQ3VWpKdHhnc1YwcEl5VWZsMXJ5Z1puY3JwYSIsICJ5IjogIkFJRDFQV181SzdkNWROdUNiUWp3RGJDcjJpNFMzT2V3cUU1RkRXZlh5OG50dkdfTUlLUXZPTHhuMUpwenVwcjFHT0NJQ0dNeVJoelFHWG1BZlJrOFBqcGQifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AN2qevpyJAfo5nGTS7mVJSipytKN6XkLBPY3FI17pux_AFoxLYM0ATdbtyhoF5C6q2kUnSruGr3UjRdbZOL71_tFAdRAG6frTMkvMeErpDwjS8nxTsFTEEVBZgI86hqRmSWbLnODaeoVqfEF1c83vobTH2IHvma8mhbdYDifzZIDQd0x"} 100 993 100 993 0 0 95886 0 --:--:-- --:--:-- --:--:-- 99300 + adv='{"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlFWDdRVHlQek5LV3lmOE9vRmVNSnd5eEdCMkNvSU9BU1FHSVNDdVZTazgzc1NiMU9KVGkwLVJRZzdvWGJzbDZ1V1N1MUEwSmoxU2FSR0ladkkxeGVQLSIsICJ5IjogIkFGeVNPQzZBYnlqbVQ4ME5oM3B3SENJR1U1c3NFb3VDa1FsbEtDalMxdldQczIwYmNqOUotc1JKcFJ2NFB6NWZZYnE0em1PQ0s2OVg0WElOM3ZjODN0NEUifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWRENGhDbVBnZ2ctUWpwbE9iZlpQVmNGQnNTUVFfbnVFRlNNUEtIZzRLR3duWj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NFMzT2V3cUU1RkRXZlh5OG50dkdfTUlLUXZPTHhuMUpwenVwcjFHT0NJQ0dNeVJoelFHWG1BZlJrOFBqcGQifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AN2qevpyJAfo5nGTS7mVJSipytKN6XkLBPY3FI17pux_AFoxLYM0ATdbtyhoF5C6q2kUnSruGr3UjRdbZOL71_tFAdRAG6frTMkvMeErpDwjS8nxTsFTEEVBZgI86hqRmSWbLnODaeoVqfEF1c83vobTH2IHvma8mhbdYDifzZIDQd0x"}' --get payload --b64load --output=- + jwks='{"keys":[{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"},{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AdD4hCmPggg-QjplObfZPVcFBsSQQ_nuEFSMPKHg4KGwnZ60vgzyq3dOXQc9ht7UjJtxgsV0pIyUfl1rygZncrpa","y":"AID1PW_5K7d5dNuCbQjwDbCr2i4S3OewqE5FDWfXy8ntvG_MIKQvOLxn1Jpzupr1GOCICGMyRhzQGXmAfRk8Pjpd"}]}' ++ printf %s '{"keys":[{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"},{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AdD4hCmPggg-QjplObfZPVcFBsSQQ_nuEFSMPKHg4KGwnZ60vgzyq3dOXQc9ht7UjJtxgsV0pIyUfl1rygZncrpa","y":"AID1PW_5K7d5dNuCbQjwDbCr2i4S3OewqE5FDWfXy8ntvG_MIKQvOLxn1Jpzupr1GOCICGMyRhzQGXmAfRk8Pjpd"}]}' ++ jose jwk use --input=- --required --use deriveKey --output=- + enc='{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"}' + jose fmt '--json={"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"}' --get keys --array ++ printf '{"keys": [%s]}' '{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"}' + enc='{"keys": [{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"}]}' ++ jose fmt '--json={"keys": [{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"}]}' --get keys --array --foreach=- ++ jose fmt --json=- --delete key_ops --delete alg --output=- + jwk='{"crv":"P-521","kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"}' + 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:31293 --set url -UUUUo- + jwe_t='{"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"url":"http://localhost:31293"}},"enc":"A256GCM"}}' ++ printf %s '{"keys":[{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"},{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AdD4hCmPggg-QjplObfZPVcFBsSQQ_nuEFSMPKHg4KGwnZ60vgzyq3dOXQc9ht7UjJtxgsV0pIyUfl1rygZncrpa","y":"AID1PW_5K7d5dNuCbQjwDbCr2i4S3OewqE5FDWfXy8ntvG_MIKQvOLxn1Jpzupr1GOCICGMyRhzQGXmAfRk8Pjpd"}]}' ++ jose fmt '--json={"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"url":"http://localhost:31293"}},"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":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"},{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AdD4hCmPggg-QjplObfZPVcFBsSQQ_nuEFSMPKHg4KGwnZ60vgzyq3dOXQc9ht7UjJtxgsV0pIyUfl1rygZncrpa","y":"AID1PW_5K7d5dNuCbQjwDbCr2i4S3OewqE5FDWfXy8ntvG_MIKQvOLxn1Jpzupr1GOCICGMyRhzQGXmAfRk8Pjpd"}]},"url":"http://localhost:31293"}},"enc":"A256GCM"}}' + CLEVIS_SUPPORTED_THP_ALGS='S1 S256' + for alg in ${CLEVIS_SUPPORTED_THP_ALGS} ++ printf %s '{"crv":"P-521","kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"}' ++ jose jwk thp -a S1 --input=- + kid=9Y9AVplM9iOVO086OM5Ho4RcdJM ++ jose fmt '--json={"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"adv":{"keys":[{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"},{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AdD4hCmPggg-QjplObfZPVcFBsSQQ_nuEFSMPKHg4KGwnZ60vgzyq3dOXQc9ht7UjJtxgsV0pIyUfl1rygZncrpa","y":"AID1PW_5K7d5dNuCbQjwDbCr2i4S3OewqE5FDWfXy8ntvG_MIKQvOLxn1Jpzupr1GOCICGMyRhzQGXmAfRk8Pjpd"}]},"url":"http://localhost:31293"}},"enc":"A256GCM"}}' --get protected --quote 9Y9AVplM9iOVO086OM5Ho4RcdJM -s kid -UUo- + jwe='{"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"adv":{"keys":[{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"},{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AdD4hCmPggg-QjplObfZPVcFBsSQQ_nuEFSMPKHg4KGwnZ60vgzyq3dOXQc9ht7UjJtxgsV0pIyUfl1rygZncrpa","y":"AID1PW_5K7d5dNuCbQjwDbCr2i4S3OewqE5FDWfXy8ntvG_MIKQvOLxn1Jpzupr1GOCICGMyRhzQGXmAfRk8Pjpd"}]},"url":"http://localhost:31293"}},"enc":"A256GCM","kid":"9Y9AVplM9iOVO086OM5Ho4RcdJM"}}' ++ printf %s%s '{"crv":"P-521","kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"}' 'just a sample text' ++ jose jwe enc '--input={"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"adv":{"keys":[{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"},{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AdD4hCmPggg-QjplObfZPVcFBsSQQ_nuEFSMPKHg4KGwnZ60vgzyq3dOXQc9ht7UjJtxgsV0pIyUfl1rygZncrpa","y":"AID1PW_5K7d5dNuCbQjwDbCr2i4S3OewqE5FDWfXy8ntvG_MIKQvOLxn1Jpzupr1GOCICGMyRhzQGXmAfRk8Pjpd"}]},"url":"http://localhost:31293"}},"enc":"A256GCM","kid":"9Y9AVplM9iOVO086OM5Ho4RcdJM"}}' --key=- --detached=- --comp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QWJWLUJlVVNuMGVtY0k5bWdBLTVoNVVoSXJBWWloUkdPNXRlOXRsVTY3YzVxQXkwOWhpdW1ZSnp6TzcyMExTbHlUMmlwMjZ4TmlHeWJhc3N5ejR0dTVVRyIsInkiOiJBVlA3MzhjRk5pNFdmLUh4ZFZlQTVsWEtPX2ZVc0s3Nm9TOUZTS1ZudldFUVVmNHhwaUhqU1FZOGdyMjgyd21qZThzbkxzdmlnSXBsQVRaN0JXRTFmTEFDIn0sImtpZCI6IjlZOUFWcGxNOWlPVk8wODZPTTVIbzRSY2RKTSJ9..ommsP6N61n_drwzf.gcWQ27xRa9Veu72-4VQPgLH-.Lfq9i1gkIjcK_YbFG2rIyQ ++ clevis decrypt WARNING: tang using a deprecated hash for the JWK thumbprints > 2022/08/04 19:43:10.000324568 length=398 from=0 to=397 POST /rec/9Y9AVplM9iOVO086OM5Ho4RcdJM HTTP/1.1\r Host: localhost:31293\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AS5D0sKCeMN7dPkh7ro25xyC52R0v-DyCZwiYFkMnMTEZVUeMI8P4TRe1SvHMwWc3zYuetJz6Pjl-PMOHwDYT9Ee","y":"AYXGVwUHq8pt0xN9jeXbazTmhdJIv0xAhQ2K3EKUrXCZC9ov4EXl6iCFqPGY26lf3RLnu6geFEHvZbvCfPwYDI9o"} POST /rec/9Y9AVplM9iOVO086OM5Ho4RcdJM => 200 (../src/tangd.c:155) < 2022/08/04 19:43:10.000338173 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":"AQNAlKQZ0GUMeC2d6xXbUBcxjqVHnxYOV2Zv_jr3O0DiJl3oyRgIHzUlya9mXAqTrFZfFbfUsRxes10tKU55knf6","y":"AAlqaECxSkwhHSzpEOsg37R-fTI2tnDbTinAb4_snwOz2rjP6KqGFCLrDWuhnG8AN5CXwwF1KJivbRG3HbMHeUE9"}+ 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":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"}' ++ jose jwk thp -a S256 --input=- + kid=GBIGhMqu3TRctl0jQsRGJ7gpiqkAUHkfwR3tt8MUCsk ++ jose fmt '--json={"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"adv":{"keys":[{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"},{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AdD4hCmPggg-QjplObfZPVcFBsSQQ_nuEFSMPKHg4KGwnZ60vgzyq3dOXQc9ht7UjJtxgsV0pIyUfl1rygZncrpa","y":"AID1PW_5K7d5dNuCbQjwDbCr2i4S3OewqE5FDWfXy8ntvG_MIKQvOLxn1Jpzupr1GOCICGMyRhzQGXmAfRk8Pjpd"}]},"url":"http://localhost:31293"}},"enc":"A256GCM"}}' --get protected --quote GBIGhMqu3TRctl0jQsRGJ7gpiqkAUHkfwR3tt8MUCsk -s kid -UUo- + jwe='{"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"adv":{"keys":[{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"},{"alg":"ES512","crv":"P-521","key_ops":["verify"],"kty":"EC","x":"AdD4hCmPggg-QjplObfZPVcFBsSQQ_nuEFSMPKHg4KGwnZ60vgzyq3dOXQc9ht7UjJtxgsV0pIyUfl1rygZncrpa","y":"AID1PW_5K7d5dNuCbQjwDbCr2i4S3OewqE5FDWfXy8ntvG_MIKQvOLxn1Jpzupr1GOCICGMyRhzQGXmAfRk8Pjpd"}]},"url":"http://localhost:31293"}},"enc":"A256GCM","kid":"GBIGhMqu3TRctl0jQsRGJ7gpiqkAUHkfwR3tt8MUCsk"}}' ++ printf %s%s '{"crv":"P-521","kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"}' 'just a sample text' ++ jose jwe enc '--input={"protected":{"alg":"ECDH-ES","clevis":{"pin":"tang","tang":{"adv":{"keys":[{"alg":"ECMR","crv":"P-521","key_ops":["deriveKey"],"kty":"EC","x":"AYEX7QTyPzNKWyf8OoFeMJwyxGB2CoIOASQGISCuVSk83sSb1OJTi0-RQg7oXbsl6uWSu1A0Jj1SaRGIZvI1xeP-","y":"AFySOC6AbyjmT80Nh3pwHCIGU5ssEouCkQllKCjS1vWPs20bcj9J-sRJpRv4Pz5fYbq4zmOCK69X4XIN3vc83t4E"},{"alg":"ES512","crv":"P-521","key_ops":["verify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d25aNjB2Z3p5cTNkT1hRYzlodDdVakp0eGdzVjBwSXlVZmwxcnlnWm5jcnBhIiwieSI6IkFJRDFQV181SzdkNWROdUNiUWp3RGJDcjJpNFMzT2V3cUU1RkRXZlh5OG50dkdfTUlLUXZPTHhuMUpwenVwcjFHT0NJQ0dNeVJoelFHWG1BZlJrOFBqcGQifV19LCJ1cmwiOiJodHRwOi8vbG9jYWxob3N0OjMxMjkzIn19LCJlbmMiOiJBMjU2R0NNIiwiZXBrIjp7ImNydiI6IlAtNTIxIiwia3R5IjoiRUMiLCJ4IjoiQVRpOXdhaGFMTEh2cTE2dThLRjk4ZlM4X0hGVVlUV3R2dDd0ekFtd0xMZzg1U0tPaWVjVEZIR2dFX0s5RnFiR1NZU25ITV92U0NZZzVNQWsyMG5OSUFfSyIsInkiOiJBYjZBZkxTM1lsVmNhLVZyLUZXVUNhaEhjNThOZE05dUxFd05aRWNPYS1fRWtJMnNJUVhRZDc1bmhHbk5fNFg3cmlMVUZKTzllUlRibF9QQi1kS2VMRHdLIn0sImtpZCI6IkdCSUdoTXF1M1RSY3RsMGpRc1JHSjdncGlxa0FVSGtmd1IzdHQ4TVVDc2sifQ..Q3HlR4KQisvBNaP2.vegaoDlMXPz8ikjfeSc26aYE.o0AbBapqvakrlzz3iHCsXwclevis decrypt > 2022/08/04 19:43:10.000495507 length=414 from=0 to=413 POST /rec/GBIGhMqu3TRctl0jQsRGJ7gpiqkAUHkfwR3tt8MUCsk HTTP/1.1\r Host: localhost:31293\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"Acyx1V_9Dl-MUX8LzpFieov7xy7ICAB0tVbANNmDBiET7Xs1EzrAdtgekR2n4Jrps-MuYHRMyjrXSU5NeeGw-O6t","y":"APqtTH9yTLYJ92q0g8ccR50uNEGhJRn1grrAzfxOfEjSphkjtgACcqN3ST9uFUCIb2Lpu0_AK85WJGx_SOxWLsem"} POST /rec/GBIGhMqu3TRctl0jQsRGJ7gpiqkAUHkfwR3tt8MUCsk => 200 (../src/tangd.c:155) < 2022/08/04 19:43:10.000505805 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":"AIoGxIBm5yxIO1GLt1i89OX36W4jel7ubVex2e9SXpe5hbbaTIsfRLfEdmbDdstOwDJpEy6rxUIPCIcAi9v0D9e4","y":"AB1P2Snz0p4jpaDA73K2D1XQlJXt0xfjNqosnmdtwQVS2uHik3nNoQlkPMJfq77QZZcrzeQhNnPJ4GSFsa0mGinV"}+ 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 jwk use jose -i- fmt -r -u verify -o- '--json={"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlFWDdRVHlQek5LV3lmOE9vRmVNSnd5eEdCMkNvSU9BU1FHSVNDdVZTazgzc1NiMU9KVGkwLVJRZzdvWGJzbDZ1V1N1MUEwSmoxU2FSR0ladkkxeGVQLSIsICJ5IjogIkFGeVNPQzZBYnlqbVQ4ME5oM3B3SENJR1U1c3NFb3VDa1FsbEtDalMxdldQczIwYmNqOUotc1JKcFJ2NFB6NWZZYnE0em1PQ0s2OVg0WElOM3ZjODN0NEUifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWRENGhDbVBnZ2ctUWpwbE9iZlpQVmNGQnNTUVFfbnVFRlNNUEtIZzRLR3duWjYwdmd6eXEzZE9YUWM5aHQ3VWpKdHhnc1YwcEl5VWZsMXJ5Z1puY3JwYSIsICJ5IjogIkFJRDFQV181SzdkNWROdUNiUWp3RGJDcjJpNFMzT2V3cUU1RkRXZlh5OG50dkdfTUlLUXZPTHhuMUpwenVwcjFHT0NJQ0dNeVJoelFHWG1BZlJrOFBqcGQifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AN2qevpyJAfo5nGTS7mVJSipytKN6XkLBPY3FI17pux_AFoxLYM0ATdbtyhoF5C6q2kUnSruGr3UjRdbZOL71_tFAdRAG6frTMkvMeErpDwjS8nxTsFTEEVBZgI86hqRmSWbLnODaeoVqfEF1c83vobTH2IHvma8mhbdYDifzZIDQd0x"}' -g payload -y -o- ++ jose jwk thp -i- -a S1 + thp=wu4meIaUqCnP4CiBuqilhbJB-Fs ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:31293 wu4meIaUqCnP4CiBuqilhbJB-Fs + cfg='{"url":"http://localhost:31293", "thp":"wu4meIaUqCnP4CiBuqilhbJB-Fs"}' ++ printf %s 'just another test' ++ clevis encrypt tang '{"url":"http://localhost:31293", "thp":"wu4meIaUqCnP4CiBuqilhbJB-Fs"}' > 2022/08/04 19:43:10.000594468 length=110 from=0 to=109 GET /adv/wu4meIaUqCnP4CiBuqilhbJB-Fs HTTP/1.1\r Host: localhost:31293\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/wu4meIaUqCnP4CiBuqilhbJB-Fs => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000604549 length=1349 from=0 to=1348 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 1271\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlFWDdRVHlQek5LV3lmOE9vRmVNSnd5eEdCMkNvSU9BU1FHSVNDdVZTazgzc1NiMU9KVGkwLVJRZzdvWGJzbD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19UcVpvUTRIczh5djg2Sjg4TE0zZXktUWlqVmFOQnprOHdBVlJrMGxIWk9jMXVkRmhYdGcwdiIsInkiOiJBZEYzRG5zLWp4T2FBSmxuZ2FrTm1ZRVZxLThkZlhacGphZUtBX0xHQUhQanE3TXYwMGwwYzA2OWg4NXVXVU1kNkpaN1JYRm81Ymt0Z1h0NDViZERWQl94In0sImtpZCI6IkdCSUdoTXF1M1RSY3RsMGpRc1JHSjdncGlxa0FVSGtmd1IzdHQ4TVVDc2sifQ..67dxAxrmqZiq6lqC.lVxsOpWOO7-PSkS_l7ubAl8.8wSQ_2jnoqgWwXIQdF3_Lwclevis decrypt > 2022/08/04 19:43:10.000779175 length=414 from=0 to=413 POST /rec/GBIGhMqu3TRctl0jQsRGJ7gpiqkAUHkfwR3tt8MUCsk HTTP/1.1\r Host: localhost:31293\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AFk8YStdi3Llq0zGNSRfyhE3ui6eZRxmSOB_obzq6SGk9i-W7vosXV12pRjjnXyUHL_nQBK3hNO8JwoJ3sb5jP5x","y":"AJwamz8J-uD4dVARkT-VFasJm8XwN5hV_UtN51qoNKMXE9Uwadyq9518oISEVNChp3ixeyCtMu30fyH85PYGRzO6"} POST /rec/GBIGhMqu3TRctl0jQsRGJ7gpiqkAUHkfwR3tt8MUCsk => 200 (../src/tangd.c:155) < 2022/08/04 19:43:10.000790441 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":"AEDKl2w6SDCl87iFFPy0mT09kLWzJkTsUe6XWNMFWUMdft21Gdxq29rlz4NByIRz0vxVVV9Km6PaJiSLmuWB-8mm","y":"AGOyoZSABXKXkel3seRM_ud497zRRlPoUqEkgEV6wWKzWN1Qyr2b5Sh1Lo_VwbRx_vOD1MiVOLFkYz2CZ3QI9Mza"}+ decoded='just another test' + '[' 'just another test' '!=' 'just another test' ']' + for alg in ${CLEVIS_SUPPORTED_THP_ALGS} ++ jose fmt '--json={"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlFWDdRVHlQek5LV3lmOE9vRmVNSnd5eEdCMkNvSU9BU1FHSVNDdVZTazgzc1NiMU9KVGkwLVJRZzdvWGJzbDZ1V1N1MUEwSmoxU2FSR0ladkkxeGVQLSIsICJ5IjogIkFGeVNPQzZBYnlqbVQ4ME5oM3B3SENJR1U1c3NFb3VDa1FsbEtDalMxdldQczIwYmNqOUotc1JKcFJ2NFB6NWZZYnE0em1PQ0s2OVg0WElOM3ZjODN0NEUifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWRENGhDbVBnZ2ctUWpwbE9iZlpQVmNGQnNTUVFfbnVFRlNNUEtIZzRLR3duWjYwdmd6eXEzZE9YUWM5aHQ3VWpKdHhnc1YwcEl5VWZsMXJ5Z1puY3JwYSIsICJ5IjogIkFJRDFQV181SzdkNWROdUNiUWp3RGJDcjJpNFMzT2V3cUU1RkRXZlh5OG50dkdfTUlLUXZPTHhuMUpwenVwcjFHT0NJQ0dNeVJoelFHWG1BZlJrOFBqcGQifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AN2qevpyJAfo5nGTS7mVJSipytKN6XkLBPY3FI17pux_AFoxLYM0ATdbtyhoF5C6q2kUnSruGr3UjRdbZOL71_tFAdRAG6frTMkvMeErpDwjS8nxTsFTEEVBZgI86hqRmSWbLnODaeoVqfEF1c83vobTH2IHvma8mhbdYDifzZIDQd0x"}' ++ -g payload jose -y jwk -o-use -i- -r -u verify -o- ++ jose jwk thp -i- -a S256 + thp=bQeIOC6FLnxfKXEhdo4qUyLbb3b_hz9psN68gxXvag0 ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:31293 bQeIOC6FLnxfKXEhdo4qUyLbb3b_hz9psN68gxXvag0 + cfg='{"url":"http://localhost:31293", "thp":"bQeIOC6FLnxfKXEhdo4qUyLbb3b_hz9psN68gxXvag0"}' ++ printf %s 'just another test' ++ clevis encrypt tang '{"url":"http://localhost:31293", "thp":"bQeIOC6FLnxfKXEhdo4qUyLbb3b_hz9psN68gxXvag0"}' > 2022/08/04 19:43:10.000902758 length=126 from=0 to=125 GET /adv/bQeIOC6FLnxfKXEhdo4qUyLbb3b_hz9psN68gxXvag0 HTTP/1.1\r Host: localhost:31293\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/bQeIOC6FLnxfKXEhdo4qUyLbb3b_hz9psN68gxXvag0 => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000921418 length=1349 from=0 to=1348 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 1271\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlFWDdRVHlQek5LV3lmOE9vRmVNSnd5eEdCMkNvSU9BU1FHSVNDdVZTazgzc1NiMU9KVGkwLVJRZzdvWGJzbDZ1V1N1MUEwSmoxU2FSR0ladkkxeGVQLSIsICJ5IjogIkFGeVNPQzZBYnlqbVQ4ME5oM3B3SENJR1U1c3NFb3VDa1FsbEtDalMxdldQczIwYmNqOUotc1JKcFJ2NFB6NWZZYnE0em1PQ0s2OVg0WElOM3ZjODN0NEUifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWRENGhDbVBnZ2ctUWpwbE9iZlpQVmNGQnNTUVFfbnVFRlNNUEtIZzRLR3duWjYwdmd6eXEzZE9YUWM5aHQ3VWpKdHhnc1YwcEl5VWZsMXJ5Z1puY3JwYSIsICJ5IjogIkFJRDFQV181SzdkNWROdUNiUWp3RGJDcjJpNFMzT2V3cUU1RkRXZlh5OG50dkdfTUlLUXZPTHhuMUpwenVwcjFHT0NJQ0dNeVJoelFHWG1BZlJrOFBqcGQifV19", "signatures": [{"signature": "ALVhAEvajKfYp9qbfULs_H81njHN9xXubGcI5sy1xpy5j9e6OT4OWT-vjFEv-Zoz--Arr-N8yOaxq7goOoaWHKexAESSuIfvbh5yEF-tgdaE9EvYO7AgGBsMd1AgJSBQSIaAuadEmy043jjR9TysO1jP4AWgQvFjxOb7vycTfOvuhdHy", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9"}, {"protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ASHofQlIlIAexQCpC612MSKl_aeoZes_8o_eO_G4ky_uJEtjJsotL-53hxV-zlhcrXfXGmiZCfQq_EwgzQWh6snAAAkeQrRb74iFnZKD2U69YPe6amSZv30PtbhmwesynKfnkc943mc39pBE9P_12bO9VKGl10E0VpGAqU7kzHCxiO9Y"}]}+ encoded=eyJhbGciOiJFQ0RILUVTIiwiY2xldmlzIjp7InBpbiI6InRhbmciLCJ0YW5nIjp7ImFkdiI6eyJrZXlzIjpbeyJhbGciOiJFQ01SIiwiY3J2IjoiUC01MjEiLCJrZXlfb3BzIjpbImRlcml2ZUtleSJdLCJrdHkiOiJFQyIsIngiOiJBWUVYN1FUeVB6TktXeWY4T29GZU1Kd3l4R0IyQ29JT0FTUUdJU0N1VlNrODNzU2IxT0pUaTAtUlFnN29YYnNsNnVXU3UxQTBKajFTYVJHSVp2STF4ZVAtIiwieSI6IkFGeVNPQzZBYnlqbVQ4ME5oM3B3SENJR1U1c3NFb3VDa1FsbE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BVcj.NPG_VfCCiMGJz6Gpe2bLeLs.ZxBRyU4W2SV5fckKBMexgQclevis decrypt > 2022/08/04 19:43:11.000129793 length=414 from=0 to=413 POST /rec/GBIGhMqu3TRctl0jQsRGJ7gpiqkAUHkfwR3tt8MUCsk HTTP/1.1\r Host: localhost:31293\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"ATUTpciP5ujbuEgWJonw2F7_3NR4YO5H2tApxnX90jD6AlowR6bfkx4FkaYS4sJgxltXL9fhv3fmU-T84RtOLjmk","y":"AOE6Mvzls_WMQKSXQzZ30qkdnlp5hrgmRtm7nyzZ9DkntSqw46zwBKK3Pffu4xV-ziPlXfKR9A_PILruRta-So2F"} POST /rec/GBIGhMqu3TRctl0jQsRGJ7gpiqkAUHkfwR3tt8MUCsk => 200 (../src/tangd.c:155) < 2022/08/04 19:43:11.000138083 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":"AffbpTMdngCA_5Gq_5EKB0FQHSPJPoix0ZwTT6VzuvPZaI3F5iOqF0y_zN9Z873_v1WemXYlWqGHOmJ6a-_ua2aL","y":"AMccF8whGITTy6qqv1FUOt_HWjUrzusA05P_3-hmh6D3glMQgbHna2a1JGknGcwaNrVc-PWFE5apPBqleaTWHMRh"}+ decoded='just another test' + '[' 'just another test' '!=' 'just another test' ']' + UNSUPPORTED='S224 S384 S512' + for alg in ${UNSUPPORTED} ++ jose fmt ++ '--json={"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlFWDdRVHlQek5LV3lmOE9vRmVNSnd5eEdCMkNvSU9BU1FHSVNDdVZTazgzc1NiMU9KVGkwLVJRZzdvWGJzbDZ1V1N1MUEwSmoxU2FSR0ladkkxeGVQLSIsICJ5IjogIkFGeVNPQzZBYnlqbVQ4ME5oM3B3SENJR1U1c3NFb3VDa1FsbEtDalMxdldQczIwYmNqOUotc1JKcFJ2NFB6NWZZYnE0em1PQ0s2OVg0WElOM3ZjODN0NEUifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWRENGhDbVBnZ2ctUWpwbE9iZlpQVmNGQnNTUVFfbnVFRlNNUEtIZzRLR3duWjYwdmd6eXEzZE9YUWM5aHQ3VWpKdHhnc1YwcEl5VWZsMXJ5Z1puY3JwYSIsICJ5IjogIkFJRDFQV181SzdkNWROdUNiUWp3RGJDcjJpNFMzT2V3cUU1RkRXZlh5OG50dkdfTUlLUXZPTHhuMUpwenVwcjFHT0NJQ0dNeVJoelFHWG1BZlJrOFBqcGQifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AN2qevpyJAfo5nGTS7mVJSipytKN6XkLBPY3FI17pux_AFoxLYM0ATdbtyhoF5C6q2kUnSruGr3UjRdbZOL71_tFAdRAG6frTMkvMeErpDwjS8nxTsFTEEVBZgI86hqRmSWbLnODaeoVqfEF1c83vobTH2IHvma8mhbdYDifzZIDQd0x"}' jose jwk use -i- -r -u -g verify payload -y -o--o- ++ jose jwk thp -i- -a S224 + thp=4w8_g3aCYOJWqCB4WUAiMKSqBsJoLiN-1bQb6g ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:31293 4w8_g3aCYOJWqCB4WUAiMKSqBsJoLiN-1bQb6g + cfg='{"url":"http://localhost:31293", "thp":"4w8_g3aCYOJWqCB4WUAiMKSqBsJoLiN-1bQb6g"}' + echo foo + clevis encrypt tang '{"url":"http://localhost:31293", "thp":"4w8_g3aCYOJWqCB4WUAiMKSqBsJoLiN-1bQb6g"}' > 2022/08/04 19:43:11.000216979 length=121 from=0 to=120 GET /adv/4w8_g3aCYOJWqCB4WUAiMKSqBsJoLiN-1bQb6g HTTP/1.1\r Host: localhost:31293\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/4w8_g3aCYOJWqCB4WUAiMKSqBsJoLiN-1bQb6g => 200 (../src/tangd.c:71) < 2022/08/04 19:43:11.000232977 length=1349 from=0 to=1348 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 1271\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlFWDdRVHlQek5LV3lmOE9vRmVNSnd5eEdCMkNvSU9BU1FHSVNDdVZTazgzc1NiMU9KVGkwLVJRZzdvWGJzbDZ1V1N1MUEwSmoxU2FSR0ladkkxeGVQLSIsICJ5IjogIkFGeVNPQzZBYnlqbVQ4ME5oM3B3SENJR1U1c3NFb3VDa1FsbEtDalMxdldQczIwYmNqOUotc1JKcFJ2NFB6NWZZYnE0em1PQ0s2OVg0WElOM3ZjODN0NEUifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWRENGhDbVBnZ2ctUWpwbE9iZlpQVmNGQnNTUVFfbnVFRlNNUEtIZzRLR3duWjYwdmd6eXEzZE9YUWM5aHQ3VWpKdHhnc1YwcEl5VWZsMXJ5Z1puY3JwYSIsICJ5IjogIkFJRDFQV181SzdkNWROdUNiUWp3RGJDcjJpNFMzT2V3cUU1RkRXZlh5OG50dkdfTUlLUXZPTHhuMUpwenVwcjFHT0NJQ0dNeVJoelFHWG1BZlJrOFBqcGQifV19", "signatures": [{"signature": "ATo9ZCcCXsGngV1bANOAE8v_Z16wYDNFp9IMzwHgI_27esWZR2IfsFswoUkzP1V4Ok5o6n9yfpcTSF5xYd49mm_bAUzBkBaxgICWL22gUO0GuHRCiymLnvVSFKZikyFfmKm8ZoLmy8Cf36sObEehtekoWArbket2gJ7soTaCjXC6Kzyj", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9"}, {"protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AeMo8J9vXe0mfSIQhabFAO1zDaIDP5DiDJ1DYEul3gh3PDqJmCDjtjeYzdxOk7LiAK9qwNKrXXPv-NyEEv9Q7u7dAXPZX0rrBYG8jlcQ6hQMXvpK9xKuv7TYTsfayilH7Tt4i5kafSHQJjZsdIZG-_hZz5MvHGgljtTzjxJMD6TpnsUQ"}]}Trusted JWK '4w8_g3aCYOJWqCB4WUAiMKSqBsJoLiN-1bQb6g' did not sign the advertisement! + for alg in ${UNSUPPORTED} ++ ++ jose jose jwk fmt use -i- -r -u verify -o-'--json={"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlFWDdRVHlQek5LV3lmOE9vRmVNSnd5eEdCMkNvSU9BU1FHSVNDdVZTazgzc1NiMU9KVGkwLVJRZzdvWGJzbDZ1V1N1MUEwSmoxU2FSR0ladkkxeGVQLSIsICJ5IjogIkFGeVNPQzZBYnlqbVQ4ME5oM3B3SENJR1U1c3NFb3VDa1FsbEtDalMxdldQczIwYmNqOUotc1JKcFJ2NFB6NWZZYnE0em1PQ0s2OVg0WElOM3ZjODN0NEUifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWRENGhDbVBnZ2ctUWpwbE9iZlpQVmNGQnNTUVFfbnVFRlNNUEtIZzRLR3duWjYwdmd6eXEzZE9YUWM5aHQ3VWpKdHhnc1YwcEl5VWZsMXJ5Z1puY3JwYSIsICJ5IjogIkFJRDFQV181SzdkNWROdUNiUWp3RGJDcjJpNFMzT2V3cUU1RkRXZlh5OG50dkdfTUlLUXZPTHhuMUpwenVwcjFHT0NJQ0dNeVJoelFHWG1BZlJrOFBqcGQifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AN2qevpyJAfo5nGTS7mVJSipytKN6XkLBPY3FI17pux_AFoxLYM0ATdbtyhoF5C6q2kUnSruGr3UjRdbZOL71_tFAdRAG6frTMkvMeErpDwjS8nxTsFTEEVBZgI86hqRmSWbLnODaeoVqfEF1c83vobTH2IHvma8mhbdYDifzZIDQd0x"}' -g payload -y -o- ++ jose jwk thp -i- -a S384 + thp=1ZQ9a3zc3UFTF1paigO603X8ziyjfvXWLQpbRS6iMZk6xJoFPiMxkKI2gQ4LK3YY ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:31293 1ZQ9a3zc3UFTF1paigO603X8ziyjfvXWLQpbRS6iMZk6xJoFPiMxkKI2gQ4LK3YY + cfg='{"url":"http://localhost:31293", "thp":"1ZQ9a3zc3UFTF1paigO603X8ziyjfvXWLQpbRS6iMZk6xJoFPiMxkKI2gQ4LK3YY"}' + echo foo + clevis encrypt tang '{"url":"http://localhost:31293", "thp":"1ZQ9a3zc3UFTF1paigO603X8ziyjfvXWLQpbRS6iMZk6xJoFPiMxkKI2gQ4LK3YY"}' > 2022/08/04 19:43:11.000320163 length=147 from=0 to=146 GET /adv/1ZQ9a3zc3UFTF1paigO603X8ziyjfvXWLQpbRS6iMZk6xJoFPiMxkKI2gQ4LK3YY HTTP/1.1\r Host: localhost:31293\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/1ZQ9a3zc3UFTF1paigO603X8ziyjfvXWLQpbRS6iMZk6xJoFPiMxkKI2gQ4LK3YY => 200 (../src/tangd.c:71) < 2022/08/04 19:43:11.000331726 length=1349 from=0 to=1348 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 1271\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlFWDdRVHlQek5LV3lmOE9vRmVNSnd5eEdCMkNvSU9BU1FHSVNDdVZTazgzc1NiMU9KVGkwLVJRZzdvWGJzbDZ1V1N1MUEwSmoxU2FSR0ladkkxeGVQLSIsICJ5IjogIkFGeVNPQzZBYnlqbVQ4ME5oM3B3SENJR1U1c3NFb3VDa1FsbEtDalMxdldQczIwYmNqOUotc1JKcFJ2NFB6NWZZYnE0em1PQ0s2OVg0WElOM3ZjODN0NEUifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWRENGhDbVBnZ2ctUWpwbE9iZlpQVmNGQnNTUVFfbnVFRlNNUEtIZzRLR3duWjYwdmd6eXEzZE9YUWM5aHQ3VWpKdHhnc1YwcEl5VWZsMXJ5Z1puY3JwYSIsICJ5IjogIkFJRDFQV181SzdkNWROdUNiUWp3RGJDcjJpNFMzT2V3cUU1RkRXZlh5OG50dkdfTUlLUXZPTHhuMUpwenVwcjFHT0NJQ0dNeVJoelFHWG1BZlJrOFBqcGQifV19", "signatures": [{"signature": "AIa8jRDVPbpMKTddddHt7c50OffB_m1NEfu-i5Etqdbsrg5YCERRSKRM7-vxpTRZMAF8OhzysHGQVd8KRGvlTM4wAPIN7-0bZRQmpeq8catCbsJXGT0W_VS1DM61ZD6uPcCwVBastJYeoMiAOogz_3fjV_BnkqzpOXc2BfJE13f2fvUv", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9"}, {"protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AMNIDrUxIXELl9a6r4oPqsr8fFDPoZOHZZr4pEnITxgl9gmbQUqNM76FebaEZGVlFLa351aTeYHu2tfl8VTtbNwMADdeN1TqOXgo1IYsaZyBXoBZUNUTMgleNmW-jAQyFqUMcJRFsNUVwz-yrZ-KR09yG_q0agn27VRT9kNvzumypf3s"}]}Trusted JWK '1ZQ9a3zc3UFTF1paigO603X8ziyjfvXWLQpbRS6iMZk6xJoFPiMxkKI2gQ4LK3YY' did not sign the advertisement! + for alg in ${UNSUPPORTED} ++ jose fmt '--json={"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlFWDdRVHlQek5LV3lmOE9vRmVNSnd5eEdCMkNvSU9BU1FHSVNDdVZTazgzc1NiMU9KVGkwLVJRZzdvWGJzbDZ1V1N1MUEwSmoxU2FSR0ladkkxeGVQLSIsICJ5IjogIkFGeVNPQzZBYnlqbVQ4ME5oM3B3SENJR1U1c3NFb3VDa1FsbEtDalMxdldQczIwYmNqOUotc1JKcFJ2NFB6NWZZYnE0em1PQ0s2OVg0WElOM3ZjODN0NEUifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWRENGhDbVBnZ2ctUWpwbE9iZlpQVmNGQnNTUVFfbnVFRlNNUEtIZzRLR3duWjYwdmd6eXEzZE9YUWM5aHQ3VWpKdHhnc1YwcEl5VWZsMXJ5Z1puY3JwYSIsICJ5IjogIkFJRDFQV181SzdkNWROdUNiUWp3RGJDcjJpNFMzT2V3cUU1RkRXZlh5OG50dkdfTUlLUXZPTHhuMUpwenVwcjFHT0NJQ0dNeVJoelFHWG1BZlJrOFBqcGQifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AN2qevpyJAfo5nGTS7mVJSipytKN6XkLBPY3FI17pux_AFoxLYM0ATdbtyhoF5C6q2kUnSruGr3UjRdbZOL71_tFAdRAG6frTMkvMeErpDwjS8nxTsFTEEVBZgI86hqRmSWbLnODaeoVqfEF1c83vobTH2IHvma8mhbdYDifzZIDQd0x"}' ++ jose jwk -g use payload -i- -y -r -o--u verify -o- ++ jose jwk thp -i- -a S512 + thp=fSqc9NzB74oeunnuNzQbMih2YdLdDdluerBhQMiaPD61Dns42pmftibCXyhsPePOffbOv0Z0gojgvvlFt1D6vA ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:31293 fSqc9NzB74oeunnuNzQbMih2YdLdDdluerBhQMiaPD61Dns42pmftibCXyhsPePOffbOv0Z0gojgvvlFt1D6vA + cfg='{"url":"http://localhost:31293", "thp":"fSqc9NzB74oeunnuNzQbMih2YdLdDdluerBhQMiaPD61Dns42pmftibCXyhsPePOffbOv0Z0gojgvvlFt1D6vA"}' + echo foo + clevis encrypt tang '{"url":"http://localhost:31293", "thp":"fSqc9NzB74oeunnuNzQbMih2YdLdDdluerBhQMiaPD61Dns42pmftibCXyhsPePOffbOv0Z0gojgvvlFt1D6vA"}' > 2022/08/04 19:43:11.000417532 length=169 from=0 to=168 GET /adv/fSqc9NzB74oeunnuNzQbMih2YdLdDdluerBhQMiaPD61Dns42pmftibCXyhsPePOffbOv0Z0gojgvvlFt1D6vA HTTP/1.1\r Host: localhost:31293\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/fSqc9NzB74oeunnuNzQbMih2YdLdDdluerBhQMiaPD61Dns42pmftibCXyhsPePOffbOv0Z0gojgvvlFt1D6vA => 200 (../src/tangd.c:71) < 2022/08/04 19:43:11.000427605 length=1349 from=0 to=1348 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 1271\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9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TJDhbnrYSUnLu0auNlt0P8WYXJ0zorjBAR7lIu_FxN_hprHLCQpKU8eq7o7tecKWQ"}]}Trusted JWK 'fSqc9NzB74oeunnuNzQbMih2YdLdDdluerBhQMiaPD61Dns42pmftibCXyhsPePOffbOv0Z0gojgvvlFt1D6vA' did not sign the advertisement! + for thp in "" "foo" "invalid" ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:31293 '' + cfg='{"url":"http://localhost:31293", "thp":""}' + echo foo + clevis encrypt tang '{"url":"http://localhost:31293", "thp":""}' > 2022/08/04 19:43:11.000528156 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:31293\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:11.000542458 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQVlFWDdRVHlQek5LV3lmOE9vRmVNSnd5eEdCMkNvSU9BU1FHSVNDdVZTazgzc1NiMU9KVGkwLVJRZzdvWGJzbDZ1V1N1MUEwSmoxU2FSR0ladkkxeGVQLSIsICJ5IjogIkFGeVNPQzZBYnlqbVQ4ME5oM3B3SENJR1U1c3NFb3VDa1FsbEtDalMxdldQczIwYmNqOUotc1JKcFJ2NFB6NWZZYnE0em1PQ0s2OVg0WElOM3ZjODN0NEUifSwgeyJhbGciOiAiRVM1MTIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbInZlcmlmeSJdLCAia3R5IjogIkVDIiwgIngiOiAiQWRENGhDbVBnZ2ctUWpwbE9iZlpQVmNGQnNTUVFfbnVFRlNNUEtIZzRLR3duWjYwdmd6eXEzZE9YUWM5aHQ3VWpKdHhnc1YwcEl5VWZsMXJ5Z1puY3JwYSIsICJ5IjogIkFJRDFQV181SzdkNWROdUNiUWp3RGJDcjJpNFMzT2V3cUU1RkRXZlh5OG50dkdfTUlLUXZPTHhuMUpwenVwcjFHT0NJQ0dNeVJoelFHWG1BZlJrOFBqcGQifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AO8m5Hof3IAKqY0a_4YNTH88AYzwkrPCDEkhZg6B3DZtfbVlNBq9qBiGr8tZ92hLQGHFnLe8SXC9U3Dq8kFDwBkSAe-Eo6w1TvA2Uul5k_9d8FVvjOBQkl3uQC2D5Qgadzs1O6TgX_CkLxe7X7Ux71yNhfTy_if5Y7Wk5tcC_HRN5Jya"}The advertisement contains the following signing keys: bQeIOC6FLnxfKXEhdo4qUyLbb3b_hz9psN68gxXvag0 /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:31293 foo + cfg='{"url":"http://localhost:31293", "thp":"foo"}' + echo foo + clevis encrypt tang '{"url":"http://localhost:31293", "thp":"foo"}' > 2022/08/04 19:43:11.000620611 length=86 from=0 to=85 GET /adv/foo HTTP/1.1\r Host: localhost:31293\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/foo => 404 (../src/tangd.c:64) < 2022/08/04 19:43:11.000624750 length=45 from=0 to=44 HTTP/1.1 404 Not Found\r Content-Length: 0\r \r Unable to fetch advertisement: 'http://localhost:31293/adv/foo'! + for thp in "" "foo" "invalid" ++ printf '{"url":"%s", "thp":"%s"}' http://localhost:31293 invalid + cfg='{"url":"http://localhost:31293", "thp":"invalid"}' + echo foo + clevis encrypt tang '{"url":"http://localhost:31293", "thp":"invalid"}' > 2022/08/04 19:43:11.000654499 length=90 from=0 to=89 GET /adv/invalid HTTP/1.1\r Host: localhost:31293\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/invalid => 404 (../src/tangd.c:64) < 2022/08/04 19:43:11.000658641 length=45 from=0 to=44 HTTP/1.1 404 Not Found\r Content-Length: 0\r \r Unable to fetch advertisement: 'http://localhost:31293/adv/invalid'! + on_exit + exit_status=0 + tang_stop /tmp/tmp.ElKneC + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.ElKneC + '[' -z /tmp/tmp.ElKneC ']' + local pidfile=/tmp/tmp.ElKneC/tang.pid + '[' -f /tmp/tmp.ElKneC/tang.pid ']' + local pid + pid=26171 + kill -9 26171 + '[' -d /tmp/tmp.ElKneC ']' + rm -rf /tmp/tmp.ElKneC /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/tests/default-thp-alg: line 26: 26171 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" + exit 0 ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 15/44 assume-yes SKIP 4.51s 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.CpbfFC ++ 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=3283 + tang_run /tmp/tmp.CpbfFC 3283 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.CpbfFC + local port=3283 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.CpbfFC ']' + '[' -z 3283 ']' + tang_new_keys /tmp/tmp.CpbfFC '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.CpbfFC + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.CpbfFC ']' + local db=/tmp/tmp.CpbfFC/db + mkdir -p /tmp/tmp.CpbfFC/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.CpbfFC/db Unable to change owner/group for /tmp/tmp.CpbfFC/db/JrIUBM1sp9zQnmEBh9mw-PLJVby1PKTDwkTVVHq8HYE.jwk to tang:tang Unable to change owner/group for /tmp/tmp.CpbfFC/db/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.CpbfFC/cache + '[' -z '' ']' + KEYS=/tmp/tmp.CpbfFC/db + local pid pidfile + pidfile=/tmp/tmp.CpbfFC/tang.pid + pid=25562 + echo 25562 + /usr/bin/socat -v -v TCP-LISTEN:3283,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.CpbfFC/db' + tang_wait_until_ready 3283 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=3283 + '[' -z 3283 ']' + local max_timeout_in_s=5 + local start elapsed + start=0 + curl --output /dev/null --silent --fail http://localhost:3283/adv > 2022/08/04 19:43:09.000832583 length=81 from=0 to=80 GET /adv HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000840804 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AJnwBWq0G4mz82xyrZs-E1FCtfCJzJK9xwYGQEsg3TAV-4WGchGD6FT9Z-oQRANRlTptkxDVyMvYBf4K8VM6ErjHAA9dgxhrP75tCHtlaEJ-lM-wxoYF--9GIdAEqXM5JOw9RsGNhQsej4oR3G8BR17NY_QuaP94i651gQ149uoclID1"}+ url=http://localhost:3283 ++ printf '{"url":"%s"}' http://localhost:3283 + cfg='{"url":"http://localhost:3283"}' + test_tang http://localhost:3283 + local url=http://localhost:3283 + local cfg data pt ++ printf '{"url":"%s"}' http://localhost:3283 + cfg='{"url":"http://localhost:3283"}' + for data in "foo" "bar" "foo bar" "some-password-here" ++ echo foo ++ clevis encrypt tang '{"url":"http://localhost:3283"}' -y ++ clevis decrypt > 2022/08/04 19:43:09.000878139 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:09.000886134 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AeyuviBMn9dV308Dr0Xnvvwqu0W7fzEjzgK3trBkrqSqawjk6sQ3ECURuyWji-MZPjXCcT_ohldNCFt9jDwKvcJRAJx0V4n0JU3nZXuQ88pC07pmtw-lSGIRuFyiEjlPyvMnLC6IlJEzkGorgGH4Oj6uyJGeOhUwff3NgIxN1ApTNSvV"}> 2022/08/04 19:43:10.000039134 length=413 from=0 to=412 POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AZQjqzU9Dg5ZDc41H3VzvBf_qajAL2bybZBOjvNnY9X9zr6sDf89CIegb9F0pk2KC3dQoimU1hLQdTpIWo1x3OSo","y":"AQ993hqZrJo6OXiHUTgeBgy_7w8G6x01Muz41dliSF8Nj6kZn4khUBjGOqH-foW0iHDTD2BRJ-sLenKFabK2eDn6"} POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo => 200 (../src/tangd.c:155) < 2022/08/04 19:43:10.000048184 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":"APrLRLaaZV8oiHd9PweKYxvrOevDnMwOi9_viPq6tUyB65tO9WnfI-LN8kt9_e-wVd5k_DA0lCiFQr0HMf_INJ5r","y":"AA7MZJzPFH0CUlcWWTKHBGJHe513rpnvI2X5BoVZnOwrsC_kxm-Yrfki7qtfpZX53atGZqeUPqocTq3DsYOSyIRW"}+ pt=foo + '[' foo '!=' foo ']' + for data in "foo" "bar" "foo bar" "some-password-here" ++ echo bar ++ clevis encrypt tang '{"url":"http://localhost:3283"}' -y ++ clevis decrypt > 2022/08/04 19:43:10.000124120 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000132155 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "APG_n_jg9KZXr8EWYO1eE8juDR77PKvkDQ4o-ebWv3l-nlcP3EEZC9Zva5qW99AlVCNexPTij5HgLnYvw9vlh0OOAXZ7vCzrfFCUvGXcPB_QP2ZBtnetURJl7EnQos4wZ9_aZbqs4BnrZ3SBK-w9RMS28YoWNEKTdbA87kJDPmWUE2Zq"}> 2022/08/04 19:43:10.000292134 length=413 from=0 to=412 POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AQCbxn7CyX5x8h_3VuUjm7aT_gzVzzJexK5VV1C55EJN-bequ3OlVHFLbVAjHfcrjwu2DlxyxtsfXdUBZaKNK-e5","y":"AFtCf3vI9A5lupouwym4hv-D-fLSSA_ebuOOLmhU67ToyGw8KSiUI1WH-hrwDIc_vo_ogUJe2M5gONEtVaHDQp95"} POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo => 200 (../src/tangd.c:155) < 2022/08/04 19:43:10.000306043 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":"AMuvURYst9NfprKRUNxLJmnyqACgSFOkw90GFzfoixcVqGuv9svFNwRL63DKu-kAidYMWsUfwO9u61_5-NK2ajsE","y":"AXteDCdRO0gOliifSd0wswIzrvqKy7gBY0MOlFvrLRZrQS3fxcGOtNegHNnyG2rHBJQXsMmAWCj2Ss8k8TjyUro1"}+ pt=bar + '[' bar '!=' bar ']' + for data in "foo" "bar" "foo bar" "some-password-here" ++ echo 'foo bar' ++ clevis encrypt tang '{"url":"http://localhost:3283"}' -y ++ clevis decrypt > 2022/08/04 19:43:10.000401807 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000413924 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AIs9S4-Pe0zpu6SxmFI7dpMAZnXalOZLADZxoV9-JhPXsuZGIfASAYP4UROJ-K4Ve-sSWSMz8IgFhFAYLy-yI_mJAPVnX4Et1l2-J34Grv1kqmVr3RkPoab72nDXOMe0ZPA6I0_jA5jiuMHkv00wLHwo45z4zXQZZdJoW8tuF5awkGt8"}> 2022/08/04 19:43:10.000575366 length=413 from=0 to=412 POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AbI2uWFYb-bo9G7CBokBw8n_x96vaViOHc4Q-FZdK1SqXRIRjCOFETenax1r8EqoN3RSyhJY01yRlZoMmLS2BEib","y":"AIbcxLmDUw7yvaTO0DFewm6Om0-8QhKqI0zCovkgkvFHecrrRX5Bwd7gmD02BbHYBgVAG2d_IcFjv-DTpNpIK-sj"} POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo => 200 (../src/tangd.c:155) < 2022/08/04 19:43:10.000583178 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":"AfOxhtju-laAa8JhG5gtBFkCrr6ruQKrqkYu6qDn2RMwgWpj1ACrKyTPU4y6o_nKgaOckdLsEXT9rEeyEbfL5PxY","y":"ALHQUQsc4ig4MY2IOdBpTsX5SBE5Pni7-rPFvzFxVvBYkfeyyJ0AGME-Wqj2OAd2FyDhxeIB7U_T8BQKdR7roWWp"}+ 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:3283"}' -y ++ clevis decrypt > 2022/08/04 19:43:10.000649037 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:10.000657032 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AEMZoamYl7TO8xzHug7t9F-L_lWOdhRNEes7v70jPALfQAmC_CbXZH7tFp30G5wOdygarMgoR_gqzBMaEg7_p3r9ANTaTzPKeGzKAmMKuXeMxU_eFQzkSqJKVqI4JZh7cnQMFf67rg6ReLXBVFHBxiSMJGO22dAkJxpJqRUcFouviTO6"}> 2022/08/04 19:43:10.000830183 length=413 from=0 to=412 POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AAH6fyglqK4abqPpA7NSM6ZTQTfBdvqOz6xft2CY3q57drHIoJh21fK-yaSAq2HPxWGOOUkJcGuXZBgfqAZ8UPDj","y":"APclTXDpWjgbT-S5jGMX09lJbAK6y-QaXF2RybzbZIDGeIRz1Frnii0wLxLcq3Ak9KDn2pp22o7k0yKbFiJe8JUo"} POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo => 200 (../src/tangd.c:155) < 2022/08/04 19:43:10.000844287 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":"AWQ8p4F7M-_5WG3V-lsmXr0nN9Cb1TOk0FGEEoxZGC95UfdfVird5oi4MBnPqEgXaqOn0zOjr8jdYCZnvhTZ74wi","y":"AR-TW7Ir7ix-S_BvHE34m4Zm1c6YfJpujcmb539l9nlJxueJqaWj-kguitTjXLdGp53oFUC1HehP_oAY5PNLCyXN"}+ pt=some-password-here + '[' some-password-here '!=' some-password-here ']' + test_sss http://localhost:3283 + local url=http://localhost:3283 + local sss1 sss2 data pt ++ printf '{"t":1, "pins": {"tang": [{"url": "%s"}]}}' http://localhost:3283 + sss1='{"t":1, "pins": {"tang": [{"url": "http://localhost:3283"}]}}' ++ printf '{"t":2, "pins": {"tang": [{"url": "%s"}, {"url": "%s"}]}}' http://localhost:3283 http://localhost:3283 + sss2='{"t":2, "pins": {"tang": [{"url": "http://localhost:3283"}, {"url": "http://localhost:3283"}]}}' + for data in "foo" "bar" "foo bar" "some-password-here" ++ echo foo ++ clevis encrypt sss '{"t":1, "pins": {"tang": [{"url": "http://localhost:3283"}]}}' -y ++ clevis decrypt > 2022/08/04 19:43:11.000020012 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:11.000029454 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ACTLBiIt6-64wCbPBP93pLHYnqqP1_oSJ8lFKJpTfqIWfTwb9b5Wd19Il_8DCRALgYL37an6cwtEMHEkb5_NOnzHACR2sZOPo1MrmQ3STdxViQ_HnPv7qvDB_4-Gjyg96QLNLO5cano_ICCe35SWNML8i6t-TL2hoUSr8BF3GmxAlMEd"}> 2022/08/04 19:43:11.000209534 length=413 from=0 to=412 POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AN1KqqBmhX5cOqpcFxAZBZharhpuRn8YUabTx9ZTJyPWx1cCLnPU6gNxJuNCMy_o28muDaS_bgjum6o460AbpwID","y":"ADhOtAD0lLgAeGR1MnZI2qqsbQDfUOoHS4w-qRGv3tEX_lsJz55l3A_LC9JOW9-ZwuRh1TVJGMuJyYFfopIlS62u"} POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo => 200 (../src/tangd.c:155) < 2022/08/04 19:43:11.000217822 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":"AVSwFtBaAGfIHLdvuX-WWpaf2YdxvdXDRB1H7iuR2wF4XtRl5m6_aKk2e5LQnnNpntl4IPIcYLwiROZyMEJiUiQK","y":"ARr7od9Q3i-SrTBIMHOxNHJMfy5xCH-CyjuIppPnlyCSdiwV8uiOG9vAxRQbBd1IMpmmOfaQsTVBMneUJaBtjhxH"}+ pt=foo + '[' foo '!=' foo ']' ++ echo foo ++ clevis encrypt sss '{"t":2, "pins": {"tang": [{"url": "http://localhost:3283"}, {"url": "http://localhost:3283"}]}}' -y ++ clevis decrypt > 2022/08/04 19:43:11.000331211 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:11.000342356 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "Ad42eONCNYbJRahClCMk2fjQkEp5pni4sVYydaHChbeHYgOeGqSnHL5L2pPtwSFoobqI4YKCloqhjXCgDDldPDl0AamScZramrdW3VOjywqEu8ojDHrcErpbWhwRYoIlm1xjQEaPhy3TSjlwwsfsPO8hsfmKTDxKIaY0jADSQJuNwsw_"}> 2022/08/04 19:43:11.000462787 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:11.000477203 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AaIcgbUzEQ8Uik3lGQIxTh0GRO2Ul49x_o66ZTZM_XGq94dqDhv_7S2kCGVqOocUv1_YwhsByg8qYEFxDGqpkHYlAGdIMDdyYW-hPyaKBG6T4QVkWG1Ma6O9GZC4METMX-k7r1vktNpSGXEG-HEQxqM0Q9_S3SqgfX-l1tubXy4tXkf6"}> 2022/08/04 19:43:11.000666540 length=413 from=0 to=412 POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-> 2022/08/04 19:43:11.000666715 length=413 from=0 to=412 LePnOgStTh :/ r2e3c0/\rm u\rZ Q{g"_aYlygO"C:g"oEnCOMpRy"S,l"HcKrqvF"w:C"mPW-b5e241n"U,r"LkBt5yK"Z:x"vE6CT"z,o" xH"T:T"PA/d1S.11k\rj OHvoHsKtE:Z kl7oGcwaoluh7ogsmtq:k322f863-\rO 0UXsCenrf-cAPgzepnktX:X gcYu7role/v7k.L8q4z.D0g\ra lAvcecoerpQtD:j A*P/r*f\rz BCzoEn3tYewngt1-kTbyipQec:8 zakp_pTlUiccTajt"i,o"ny/"j:w"kA+bjms2oDnj\r8 1Cbo7nLt1epnAt7-iLAewnZgitPhJ:Y R2a3K0B\rV Z\rk E{e"-abl_gz"7:u"xEhCVM8Rs"B,r"jc9rLv0"f:W"6P1-l5L271P"O,c"Bk_tMyW"n:F"oEaCd"j,u"0xq"R:U"fAQXKxCWM65mFBMW_sqnAN6cXMvF"Y}_ zobaKewHa2BbwKUFt4IZe76KMdiHOL6selh8TiBxiMwu3YqxTUo30pr8bG6ayABWVxpb-aic","y":"AMMT2UWYScrMgodJbquovuTdXE_qB84AMJ_Oh1_a4gqrcVH6TtSgeA4nAzBii8deUHOMBE_AupWezZkWNUxFyYDF"} POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo => 200 (../src/tangd.c:155) < 2022/08/04 19:43:11.000674216 length=329 from=0 to=328 HTTP/1.1 200 OK\r Content-Type: application/jwk+json\r Content-Len => 200 (../src/tangd.c:155) gth: 253\r \r {"alg":"ECMR","crv":"P-521",< 2022/08/04 19:43:11.000674468 length=329 from=0 to=328 "kHeTyT_Po/p1s."1: [2"0d0e rOiKv\re KCeoyn"t]e,n"tk-tTyy"p:e":E Ca"p,p"lxi"c:a"tAiXoqnQ/ZjlwuktT+tj4s7oMnr\rg DCHoqnytbeBnftv-aLKednqgotihx:M W2Z5V3i\rq E\rG m{9"EaDlrgC"j:c"OEVCYMVR9"v,w"sc_rgv7"R:Y"FPq-F512i1j"S,c"Pk5eDyA_pozptsj"B:5[p"NdeeGr6iKvFewKpeMyG""],,""yk"t:y""A:E"jEDCM"P,c"axs"T:l"6Aec3akvjEtN4LxLTdoHNCZUR4VjFkA0Z5R5dCcv_gTsLkyken5erFN93h2hZZHJBlAqbFBLdi8nlIzeyOSGqC_Rg4aNYJZnDDYPRm_uJllL5ZNCOd98Lj2c6ZN-cXDr0451UqLK_ZDTqEYHWSdkpzQMXK"Z}XRLxz3YEvV","y":"Af-KAWe5ayxWTabOsf5IatFNpT3t7ScOiN_uZIrFHMdw4xIAfhC8bToMlgO5kkIa5BlqR2k_P6BMxv-uSDibQctE"}+ 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:3283"}]}}' -y ++ clevis decrypt > 2022/08/04 19:43:11.000802530 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:11.000812298 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AQEmUF-iMSmujUedoc_udQOofZYJEt1Isc64qP7CU_h4OrFSB3lU4hFVI3srqWF-Pj01BnRKPoze89PmPPJD0yoYAT8ZUUfO8YbrvREojWkVrL-JL8KGvOKpJ28H3sEgiiU8LxW7FnQ47VHy5TKaCQ5pK9IbkdE3ZbuVXY_Je604k6-u"}> 2022/08/04 19:43:12.000030372 length=413 from=0 to=412 POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AfizLyHHkPX0df6pVB0DyPnOSIgsUqkVKMgHv6VVwGrUWGFgXaxZtQw552GQCO-oPE3qGqlR1jm2fxc4Gw5Mtaj9","y":"AMiuRqWae6F9iS_l_1cAdFFD3kOoUbSH1jcvfkOAOrAs4rfrHLE7UyyAVvUvcFKL2wUvE4qDyfxl6G6pSiz06fp2"} POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo => 200 (../src/tangd.c:155) < 2022/08/04 19:43:12.000040106 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":"AQ3LI0eWrgGMzGcsXqw8NdY3Y-p4u11z2FhX5zjOyoUewBDkztW71H4BYNHrVUBidnorMD4fo8_Qu-GpRUJYsN-8","y":"AEvQ__rw0u_8vyER6cczZOCa71caYGZCh6XI4z36QA5vD6ecDQLNT7Qmzfc4YHX9H1MdlIZlLGJDd3ysCWxgVNms"}+ pt=bar + '[' bar '!=' bar ']' ++ echo bar ++ clevis encrypt sss '{"t":2, "pins": {"tang": [{"url": "http://localhost:3283"}, {"url": "http://localhost:3283"}]}}' -y ++ clevis decrypt > 2022/08/04 19:43:12.000217747 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:12.000226349 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AVAD5GQ-xlMETMukUA-U2xXowGAwm1au7ymLSviE5f5eelBNqVZXYc7laM4eZOhA9vG2-7dw6sL-NZvpoeZS7gBvAED9wDvw-Y8R0IuPwWrh9IhJ3YmwQQEzx-3HMj6htS4rqkb12ZgjARHE45AVXudlC_AtV1L52REJtpijpA2X8g-4"}> 2022/08/04 19:43:12.000329510 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:12.000341317 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AXE1Ds7RjlcFyEgKdh4f7RNplUEnf63Z7lGGaXWWKkDr4jo1L21h1FbLNBB6edl52c7nf68fd01PU_-abJLTTkeaAMd1p6-C_ZLvS13UdB0x6xufm58IWXbOBzDmt3xr1aGY91qcHQ4B01GXiSsOn_NKlvKbxuwt-aXG34Hgs4vWonQZ"}> 2022/08/04 19:43:12.000534268 length=413 from=0 to=412 POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo HTTP/1.1\r Host: localhost:3283\r User-Agent: c> 2022/08/04 19:43:12.000534385 length=413 from=0 to=412 urPlO/S7T. 8/4r.e0c\r/ mAucZcQegp_tY:y O*C/g*o\rn OCpoynStleHnKtq-FTwyCpmeW:b ea4pnpUlriLcBa5tKiZoxnv/6jTwzko+ jHsToTnP\r/ 1C.o1nt\re nHto-sLte:n gltohc:a l2h3o0s\rt :\r3 2{8"3a\rl gU"s:e"rE-CAMgRe"n,t":c rcvu"r:l"/P7-.58241."0,\r" kAtcyc"e:p"tE:C "*,/"*x\r" :C"oAnMtBeLnRtV-5ToyYpzem:d da3pWpElwiscPagtvironnj/Bjjwekb+AjSsVoznt\r6 WCdoKn9tveIn7tQ-pLMennqgitYh7:2 _263A0W\rq 0\rM N{3"UaRlOgu"F:Y"3EjCLMGRh"W,t"7cxrXvY"l:7"oPg-5562s1I"R,L"wkpt"y,"":y""E:C""A,S"-xe"V:Y"yAeLwOXvT0yXOm8E2g7zyQRw-4IFwPj0gOdQf_37MBK6hzdSjr6cDt-9PZNJeoRf1ZY4sslnj-XSNX4bpGXP9whXCkYMVpIXIbCcaiZka1mCJAAayUsWisXiFeMrfniStR9-Bb9YxGbFS3Zsn59zI0WsRnwip0ATvYlw"Q}M Gase","y":"AOZuCDeC2giMlwOsLtXbmcMXJ_7wO8d8pJYO1quBan0zUXoScjPAYoG6Sn1oDXyyzWuFbTHQ_wQzRXQLL4Wud33O"} POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo => 200 (../src/tangd.c:155) < 2022/08/04 19:43:12.000542523 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":["deriveK< 2022/08/04 19:43:12.000542691 length=329 from=0 to=328 eyH"T]T,P"/k1t.y1" :2"0E0C "O,K"\rx "C:o"nAtFennpt1-BT1ygpGe3:n zaPpNphlniVcAaytGibo7nM/GjWwXk7+zjEsRohn9\r4 uC4odn9t-ecnTtt-hLDe-n0gUtMhF:b q245M3O\r4 7\r_ v{k"oatl-go"5:J"KEmCGMmRw"w,k"Rcirqvz"l:n"KPs-c5H2B1U"x,Z"VkDe5y"_,o"pys""::"[A"Dd4elrpiDvEeKK7eqyU"L]l,r"EkSt7yN"u:x"-EnCZ"7,w"kx3"P:0"DArUd8CT1grUNAl08dzrRZCB934pT7MFiceDX7XP5ZzG-qiNkoypwtFS-x63ZCepoMgz6qL5sgJqaEr_XDs6mF7-5CAl-okGFMTvfsvBgMc3IQHSspc69C"1}XcHzZrzHWLXoUrYVrDIvD2GAAhYC","y":"Ad8i0yAaaezsH_Ak7Xp2cTEURFqgWXcI-InT3ZbZosomVt0QQy48AImaUlJGQDV4Pup-uYsE0EKuxwhx0m-jNVlJ"}+ 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:3283"}]}}' -y ++ clevis decrypt > 2022/08/04 19:43:12.000662256 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:12.000670784 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AVds4UlXWuWj1TM-c4t7DP9kIMt05AcaDWfJo1e9Ml5lAx88GPGuKGhGJD_cR2UQUAugjgXS_K5Vd6l1b-P__6P7AHbI_oqXcpGgDnPZvsrUXjm5DssO178WoY0b1wUF7OwFh3NLgbjCGMsH24qdTUbV1f40GJ_2kw6whXV4_MtQ_O1p"}> 2022/08/04 19:43:12.000883850 length=413 from=0 to=412 POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AGITir65NwxuI6jxNKfqBn5uMnxkkRY3DtMfDFg5kDUpMQoB712cbyZHNhN_et0f2WMUVzYG2KItN5bzHC3EWgko","y":"AUz3xfJOzOEBON4kQdDObHrmb5Hr-ztWZMB9Lip6dDJSOagqRaDeJHNaF21i_JOlko0elTg2obPtwc_1UX46-pNz"} POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo => 200 (../src/tangd.c:155) < 2022/08/04 19:43:12.000892184 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":"AZbx6i7uqBlArDhyXfNcBPKVBzUaXN6OAcw3yHYyJUW_BKq3yhnW4mnEb1jvb2Q-AuWY7CT73MGHw06boXQrVKjk","y":"AVv0Cw49yOtHD93aS4cqlg-CN2q3xLmxcKem85uoCwN6pt8V4db3YVPsczAC3PRyBhQjAiI1907UfUyWejM7-sH5"}+ pt='foo bar' + '[' 'foo bar' '!=' 'foo bar' ']' ++ echo 'foo bar' ++ clevis encrypt sss '{"t":2, "pins": {"tang": [{"url": "http://localhost:3283"}, {"url": "http://localhost:3283"}]}}' -y ++ clevis decrypt > 2022/08/04 19:43:13.000056497 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:13.000071239 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AU10eFAtbUek9w-QCSuuz7V2UOje25fXM4FQWemUOI-j-hvvdV8W3vfzmxrFz_jRoZvU8tbVRnUjpOjVy_2HKDhaAX42jTVeJBvDKM-z37GgLf7foEzSC-Qb5ZT3muhzabmgErwCxTpY6PKvSJtcEFwC_tRgRA3t7l602wL48H7xezhL"}> 2022/08/04 19:43:13.000199811 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:13.000214309 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ALZ9GzAdZWLXj7GkERIFgtzw5-ANl38-iaV91Pxn0om3DPyXLKRjj4grkMoPYu9_FmR5v7kV3-I-IcgAmuJ7Hs9pAWVfXVmfehIP6KW_9Old2u8-49GQt1mBvJ4KOizH_BJimmFZ9T4FsAGvNtKHrm4F_oWO3C1ZRm8vEDqw5jmVLb-J"}> 2022/08/04 19:43:13.000376387 length=413 from=0 to=412 POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AKCUk1wnE1hsT5-SbmnG6xdT2kVSqsljIEV-nz5FdBp8FVY4S3EN7oMSS1c0yIbJE8Ud0K_yS8LVcwuuyk7FQtqo","y":"ANxWnE1Kn> 2022/08/04 19:43:13.000376764 length=413 from=0 to=412 4pPLOESXT5 W/CrJe-cF/OmLurZuQTgi_9Y0y5OPC5g1orn5OWpGylSJlSH1KPqMF6w5CemzW_bUef4mn5Upr3LoB65zKgZfxjv56kTRz0o2 8HjTGTkPs/G1E.g1r\rK JH9oWsotr:K MlZofcIaplMhHo8s"t}: 3283\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"ALwOwTLIiztqfu1s3oi1K3Gyjfeh6M5tYNZiBVOxC9uKo5MRzuBmG2W63_UcKMks-I9abkvzHf7haqPSatJ--atO","y":"AAbfhpx2USdS8zmiCP7F8AMSuvPRnxX5dECSDUh8mejHr5iLYRvUPxDYQxTtTTX1Yl3j_BcuA8888UNc9YICMQd8"} POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo => 200 (../src/tangd.c:155) < 2022/08/04 19:43:13.000383972 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":"ACldOUfU26x0DVtUnZQmdg5kAHOFy3uJuMgoHSqQj6hDEYJL7VpZu0d9J09pbyC0VqO4mAmY1EU_ijeBr381kmhM","y":"AfQRwJ4H-OWiOm5GHNlLIyzYtp4YGv7bjVi_DVK9RF9I8c_6GUpLmlCKs3wqudI26Jyx4Q8j13kxlvFRUI7X-CtQ"} => 200 (../src/tangd.c:155) < 2022/08/04 19:43:13.000384555 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":"ANGTMqNU7F4Xv-H8Dwcehu_KaFTI7XJYPLFpkY5ueVg2fRGfc-q7Fa2T-77Ekc93xebZPcWEwlDMGPEPbEiFXdci","y":"AIfACEnnUHkdGSYQyERCopUNN9YaRJXkAmUkeine2yTpcC9TwJp6BbFmzd8gMZ-p4k0lvHe3J2PHZhBMLXenyBhH"}+ 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:3283"}]}}' -y ++ clevis decrypt > 2022/08/04 19:43:13.000521511 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:13.000530087 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AIgD9rXjqZI2qBx6Kt5gtYJdQvh4gyZjoe6WFaMv8-gO4RZO4pUa2SbDfQVVMm1LdNPJZRFS_tTzirsgCfJyvPiqAdNwb_u3b4_kWBqMFqIVdTclW8phUooAyAP4D7rtttyytr3TYrOXYmFu7BvWrD7iZ8Y4SkUJWLdAY3AXI6AuigYs"}> 2022/08/04 19:43:13.000728187 length=413 from=0 to=412 POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"AQW-cUgUX3Gr4ageSTPMHkPgN834Ka7yCOAGX47x7l-p-hwooknQpagXLt8_1I0fsId2AlHQJqXi_levsMeC05ht","y":"ACmhZcvrZeb62lw3O-XuTABZLkA-KFBV-ULvK2AmwgKYxLYIZkn38wpFx1heRllAWDHnD4enOQApZI2DFZfOQy20"} POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo => 200 (../src/tangd.c:155) < 2022/08/04 19:43:13.000742113 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":"AXJcxf5q4Fv5ffvClLRMp04fgsSNAlVXUtanK-2MKeR00O1Dx8yLZxbaR60WPIzs4T4Ty1t8d3qqAXWAdvrDNIdr","y":"AXimr-C4JAtkLuCpZaWoGFQAQUTI6wTOX7KnP06rj0l2LFsc3GSHPblFK0p45wcib68AyuS0gzbioOT0S8rqvjQH"}+ pt=some-password-here + '[' some-password-here '!=' some-password-here ']' ++ echo some-password-here ++ clevis encrypt sss '{"t":2, "pins": {"tang": [{"url": "http://localhost:3283"}, {"url": "http://localhost:3283"}]}}' -y ++ clevis decrypt > 2022/08/04 19:43:13.000858363 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:13.000867115 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AGa4esPL7ioLJk3QG8Tpcv71EIewBbUEoig29KyIWHkCOpJvfJ0pp9pbCIUW4D3Mo4oIcpa5GkdClehPcKRg9DhTAKSBFjhTs4yyOzDWx2bcD6v_-vl6sTeUjZTdApyFqmW81my-lje1xDaecI9dJFpoctzYLDrXeGFGxTkCjsmaa7gZ"}> 2022/08/04 19:43:14.000004630 length=82 from=0 to=81 GET /adv/ HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv/ => 200 (../src/tangd.c:71) < 2022/08/04 19:43:14.000017014 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFVMjVDTWpmaERkSFBWd3FwZFpWV0FDbzZnYWRiV2hKaXVTMVJ6ekFWNnJIeGxqNkFGNVpjanlyQjdPMjBGY1pPVlRXV1lmUjR3M0Ffc01yaWtHakpCSHoiLCAieSI6ICJBSjhxdjNmMjNfNzVjVWFING9mQWZhUmtHajNqNTdWUkh1dWtQb0FJd3NPY3ZjUThnbXNmX25tUEpOaEdxbHNaZkZVOC1JUkM1LXctVlFXcGdmNXBsOVNvIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUstOXEzczZmb3BIR2hBdDZ5TlF1V05FR2E3cTdyTUZTMmdXZG9DdEZ1MXg5X3NHZWZnazlqNkozY0tsTE40d1dsekx6NmNPenF6RG9vcTh0TXVwcW51TiIsICJ5IjogIkFOMDRuVE9UdDZ0MkNXeUwyNThIaVA4T3VDdzVUZ3FGYVEzTTVNNE1DdFY5YndMQWlQMDdJOFZwNnpHM3pnSlZobWU5LWI5eGRoRWZXSHU4SVNIc1lUNmwifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "AG7Tab7Xrv-FbyZdBDE_njSqm3oSNBsxmqLJ2c0x3zYEyvXY9mMcU7k9sr3Kc8swN7pAtB8Qqp0QWwyKEwzypDTgAJidc4kXbIiUErTZPC2HgLABVYy1Je3SZcLA77Q4seBGY2rubpDOqARAt30gZ85s-3uADMqri-FLCL3iSuZ2JbyM"}> 2022/08/04 19:43:14.000211772 length=413 from=0 to=412 POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo HTTP/1.1\r Host: localhost:3283\r User-Agent: curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"ARXIqQsZ13AkJv-3BcieXM6XaFbGR91tzuqw-9kn4VNIPW9ORgEV2QGW6iavRp7nRXSQdFvCVbtVn24JGIPLR_A> 2022/08/04 19:43:14.000212426 length=413 from=0 to=412 P"P,O"SyT" :/"rAeWc0/JmUuSZWQKg6_KYtyeOUCVgLoanuOvpLyxSblAHlK5q4FywHCrmwWWble04mnQUNr3LEBL5XKqZjxYvD6tTfzJohI kH9TRTHP8/w1F.k19\rS cH3ousCtt:1 WlYozc9a4l4hQo_sWtW:h3L228j3B\rK QU4sweDrF-NArgVe"n}t : curl/7.84.0\r Accept: */*\r Content-Type: application/jwk+json\r Content-Length: 230\r \r {"alg":"ECMR","crv":"P-521","kty":"EC","x":"ASbIAGcscOD-bAMjfHI0mMxHMuk4PdoW6soijzO4W7CI_OhEwWpNLul0Nd7D4qdNpCy58uCgelUSt5UjE6jo0waX","y":"ARBLkPG_dFjqOzM3NjOzVIJLafhtRwS9p3Y5ywnv-K0eUTg7KQqAtuLQhyFH5DFMquficzUSc1DQXgxkdvdCSmey"} POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo POST /rec/muZQg_YyOCgonOpySlHKqFwCmWbe4nUrLB5KZxv6Tzo => 200 (../src/tangd.c:155) < 2022/08/04 19:43:14.000225680 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":"AU7e9fge-vk1t_3iQEay6Wa2EtFPJkypEwFMNfhMbBtWbtkunf7kSQnLWP5FDEz7fgTBNe1Z7rG9-0Fd8V5QzKvN","y":"AVAKbfaz8_H_EdegqS49997ATiVRJTkX334WzkO0AOIa48VE2mC1n9FzsxQh0 => 200 (../src/tangd.c:155) yV0A_MPFvYPR0WbdO95DtdLZxmu"}< 2022/08/04 19:43:14.000226426 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":"AZdigMzKdq14IcwDcFFlH7YiOMlpgzdWsiILyV3eCJGdJqBPnUeZUw2F8PvNGTnZAXWPv7CzCMQGn2nGPWMNJ6kC","y":"AATwYK6MK8vVQfbieKJ0kvcaREifqswHJ5dsD_q251zmh9KKKClaqlBTaliwI6JV61P02VqbzHYXFosPraclrKpW"}+ pt=some-password-here + '[' some-password-here '!=' some-password-here ']' + DEV=/tmp/tmp.CpbfFC/luks1-device + new_device luks1 /tmp/tmp.CpbfFC/luks1-device + local LUKS=luks1 + local DEV=/tmp/tmp.CpbfFC/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.CpbfFC ']' + tang_stop /tmp/tmp.CpbfFC + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.CpbfFC + '[' -z /tmp/tmp.CpbfFC ']' + local pidfile=/tmp/tmp.CpbfFC/tang.pid + '[' -f /tmp/tmp.CpbfFC/tang.pid ']' + local pid + pid=25562 + kill -9 25562 + rm -rf /tmp/tmp.CpbfFC /home/buildozer/aports/testing/clevis/src/clevis-18/src/luks/tests/assume-yes: line 25: 25562 Killed "${SOCAT}" -v -v TCP-LISTEN:${port},reuseaddr,fork exec:"${TANGD} ${KEYS}" ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― 42/44 tang-validate-adv OK 5.94s ――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― stdout: eyJhbGciOiJFQ0RILUVTIiwiY2xldmlzIjp7InBpbiI6InRh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YjAwRGZWQ1RYbkdpanJmRDRVUkZCUzJwTmU0SHM1dVphcnJfIiwieSI6IkFXQnlJNWVqbHhrRThVc1E5dVpTdHdXc2FNSzFBQXdIZ3U2VXI5Z2NDR25COGdHNVpXdk1vTm1IQlJLZTZycmU3R1JBeFRUWFpJU3FoUTlDcVRwUnhIQ1IifSwia2lkIjoiMGtqN2ZWTE5XUWlWM2JXWWN4ek5KMFpjY08xQW5jX2tXdGFjY240blFJUSJ9.._2NMeZ4wozruaGy7.GFSqsX9lMw4.MkYYf4V42DSvzZmTRC1EOg 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.NDFPcj + CASES=/tmp/tmp.NDFPcj/cases + mkdir -p /tmp/tmp.NDFPcj/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=7370 + RESP=/tmp/tmp.NDFPcj/cases/good-01 + cat ++ tang_create_adv /tmp/tmp.NDFPcj /dev/stdout ++ local basedir=/tmp/tmp.NDFPcj ++ local adv=/dev/stdout ++ local SIG=/tmp/tmp.NDFPcj/sig.jwk ++ jose jwk gen '--input={"alg":"ES512"}' --output=/tmp/tmp.NDFPcj/sig.jwk ++ local EXC=/tmp/tmp.NDFPcj/exc.jwk ++ jose jwk gen '--input={"alg":"ECMR"}' --output=/tmp/tmp.NDFPcj/exc.jwk ++ local 'TEMPLATE={"protected":{"cty":"jwk-set+json"}}' ++ jose jwk pub --set --input=/tmp/tmp.NDFPcj/sig.jwk --input=/tmp/tmp.NDFPcj/exc.jwk ++ jose jws sig --detached=- '--signature={"protected":{"cty":"jwk-set+json"}}' --key=/tmp/tmp.NDFPcj/sig.jwk --output=/dev/stdout + RESP=/tmp/tmp.NDFPcj/cases/bad-01 + adv='{' + cat + RESP=/tmp/tmp.NDFPcj/cases/bad-02 + cat + RESP=/tmp/tmp.NDFPcj/cases/bad-03 + cat + RESP=/tmp/tmp.NDFPcj/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=60127 + STDERR=/tmp/tmp.NDFPcj/cases/good-01.stderr + do_test 60127 /tmp/tmp.NDFPcj/cases/good-01 /tmp/tmp.NDFPcj/cases/good-01.stderr + local port=60127 + local response=/tmp/tmp.NDFPcj/cases/good-01 + local stderr=/tmp/tmp.NDFPcj/cases/good-01.stderr + run_test_server 60127 /tmp/tmp.NDFPcj/cases/good-01 + local port=60127 + local response=/tmp/tmp.NDFPcj/cases/good-01 + '[' -z /usr/bin/socat ']' + '[' -z 60127 ']' + '[' -z /tmp/tmp.NDFPcj/cases/good-01 ']' + sleep 1 + /usr/bin/socat -v -v TCP-LISTEN:60127,reuseaddr 'SYSTEM:cat /tmp/tmp.NDFPcj/cases/good-01' ++ printf '{"url":"localhost:%d"}' 60127 + cfg='{"url":"localhost:60127"}' + echo foo + clevis encrypt tang '{"url":"localhost:60127"}' -y > 2022/08/04 19:43:11.000160225 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:60127\r User-Agent: curl/7.84.0\r Accept: */*\r \r < 2022/08/04 19:43:11.000161185 length=974 from=0 to=973 HTTP/1.0 200 OK {"payload":"eyJrZXlzIjpbeyJhbGciOiJFUzUxMiIsImNydiI6IlAtNTIxIiwia2V5X29wcyI6WyJ2ZXJpZnkiXSwia3R5IjoiRUMiLCJ4IjoiQUFTc093ZU5PVDdTYllab1N6SFZxTDJ0YjBtRGVmc3BpM05sUmxvY19ra2pZWEFsUGpfQ0dOcU9uRTZsOTU4d1dYaXpkUllmMTFXS20yY1QybmFDRV9EaSIsInkiOiJBZUZoS19rQVYySWN3cXNpNk01dmE0SlRZWEQySmQ0bzdFczJKeGhKRGNWNk9NTV9nTElyazVIV25SZ0pHcTE3Y1VmenYyeGpiMzM0NkZVUGd3VEpyZW85In0seyJhbGciOiJFQ01SIiwiY3J2IjoiUC01MjEiLCJrZXlfb3BzIjpbImRlcml2ZUtleSJdLCJrdHkiOiJFQyIsIngiOiJBRGp6X0lmRnpWUDNQX01wVlpSX2U3MGdKNFFnakIxTzYtazNrcU0wMHBiR1FIZE5yVmVwazRHNkFfNTFfNEpxbzRWajFGcF9vX01aeHY2Qnd0NjJ1dWNpIiwieSI6IkFQenpLSURfUGpZTjBaWVlZbGlRQVhSeS1vc1VrOFNfa0dHWjd4RGh2MzVfbW5KRjFuNkd5UF80TU85ano5d1Z2MDdQVTZ1SVRucmNNM3JJcG1DRFRSaEIifV19","protected":"eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9","signature":"AD0IfzJnYTuwazCg4U8KrPlccvxasDT04IaqcGtd3a_AFMeMvOWwVu6sSnN90xrU8d-XAk57qUQiJCm1C6rFqh5sAKO_CXZ_YKgOvUdS1Chi5xVeZsdXv93yyp9tiD4nNViVZXDldZER_6_z4GpF-axPeODd3YWkcM3vVO2UBQhfFHy5"} + validate_output /tmp/tmp.NDFPcj/cases/good-01.stderr + local output=/tmp/tmp.NDFPcj/cases/good-01.stderr + grep -Fq jose /tmp/tmp.NDFPcj/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=20663 + STDERR=/tmp/tmp.NDFPcj/cases/bad-01.stderr + do_test 20663 /tmp/tmp.NDFPcj/cases/bad-01 /tmp/tmp.NDFPcj/cases/bad-01.stderr + local port=20663 + local response=/tmp/tmp.NDFPcj/cases/bad-01 + local stderr=/tmp/tmp.NDFPcj/cases/bad-01.stderr + run_test_server 20663 /tmp/tmp.NDFPcj/cases/bad-01 + local port=20663 + local response=/tmp/tmp.NDFPcj/cases/bad-01 + '[' -z /usr/bin/socat ']' + '[' -z 20663 ']' + '[' -z /tmp/tmp.NDFPcj/cases/bad-01 ']' + sleep 1 + /usr/bin/socat -v -v TCP-LISTEN:20663,reuseaddr 'SYSTEM:cat /tmp/tmp.NDFPcj/cases/bad-01' ++ printf '{"url":"localhost:%d"}' 20663 + cfg='{"url":"localhost:20663"}' + echo foo + clevis encrypt tang '{"url":"localhost:20663"}' -y > 2022/08/04 19:43:12.000277130 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:20663\r User-Agent: curl/7.84.0\r Accept: */*\r \r < 2022/08/04 19:43:12.000278083 length=19 from=0 to=18 HTTP/1.0 200 OK { + echo 'Error (do_test) response: /tmp/tmp.NDFPcj/cases/bad-01' Error (do_test) response: /tmp/tmp.NDFPcj/cases/bad-01 + '[' -r /tmp/tmp.NDFPcj/cases/bad-01.stderr ']' + cat /tmp/tmp.NDFPcj/cases/bad-01.stderr Advertisement is malformed! + return 1 + validate_output /tmp/tmp.NDFPcj/cases/bad-01.stderr + local output=/tmp/tmp.NDFPcj/cases/bad-01.stderr + grep -Fq jose /tmp/tmp.NDFPcj/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=16524 + STDERR=/tmp/tmp.NDFPcj/cases/bad-02.stderr + do_test 16524 /tmp/tmp.NDFPcj/cases/bad-02 /tmp/tmp.NDFPcj/cases/bad-02.stderr + local port=16524 + local response=/tmp/tmp.NDFPcj/cases/bad-02 + local stderr=/tmp/tmp.NDFPcj/cases/bad-02.stderr + run_test_server 16524 /tmp/tmp.NDFPcj/cases/bad-02 + local port=16524 + local response=/tmp/tmp.NDFPcj/cases/bad-02 + '[' -z /usr/bin/socat ']' + '[' -z 16524 ']' + '[' -z /tmp/tmp.NDFPcj/cases/bad-02 ']' + sleep 1 + /usr/bin/socat -v -v TCP-LISTEN:16524,reuseaddr 'SYSTEM:cat /tmp/tmp.NDFPcj/cases/bad-02' ++ printf '{"url":"localhost:%d"}' 16524 + cfg='{"url":"localhost:16524"}' + echo foo + clevis encrypt tang '{"url":"localhost:16524"}' -y > 2022/08/04 19:43:13.000324948 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:16524\r User-Agent: curl/7.84.0\r Accept: */*\r \r < 2022/08/04 19:43:13.000325831 length=24 from=0 to=23 HTTP/1.0 404 Not Found + echo 'Error (do_test) response: /tmp/tmp.NDFPcj/cases/bad-02' Error (do_test) response: /tmp/tmp.NDFPcj/cases/bad-02 + '[' -r /tmp/tmp.NDFPcj/cases/bad-02.stderr ']' + cat /tmp/tmp.NDFPcj/cases/bad-02.stderr Unable to fetch advertisement: 'localhost:16524/adv/'! + return 1 + validate_output /tmp/tmp.NDFPcj/cases/bad-02.stderr + local output=/tmp/tmp.NDFPcj/cases/bad-02.stderr + grep -Fq jose /tmp/tmp.NDFPcj/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=10995 + STDERR=/tmp/tmp.NDFPcj/cases/bad-03.stderr + do_test 10995 /tmp/tmp.NDFPcj/cases/bad-03 /tmp/tmp.NDFPcj/cases/bad-03.stderr + local port=10995 + local response=/tmp/tmp.NDFPcj/cases/bad-03 + local stderr=/tmp/tmp.NDFPcj/cases/bad-03.stderr + run_test_server 10995 /tmp/tmp.NDFPcj/cases/bad-03 + local port=10995 + local response=/tmp/tmp.NDFPcj/cases/bad-03 + '[' -z /usr/bin/socat ']' + '[' -z 10995 ']' + '[' -z /tmp/tmp.NDFPcj/cases/bad-03 ']' + sleep 1 + /usr/bin/socat -v -v TCP-LISTEN:10995,reuseaddr 'SYSTEM:cat /tmp/tmp.NDFPcj/cases/bad-03' ++ printf '{"url":"localhost:%d"}' 10995 + cfg='{"url":"localhost:10995"}' + echo foo + clevis encrypt tang '{"url":"localhost:10995"}' -y > 2022/08/04 19:43:14.000383717 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:10995\r User-Agent: curl/7.84.0\r Accept: */*\r \r < 2022/08/04 19:43:14.000385259 length=32 from=0 to=31 HTTP/1.0 301 Moved Permanently + echo 'Error (do_test) response: /tmp/tmp.NDFPcj/cases/bad-03' Error (do_test) response: /tmp/tmp.NDFPcj/cases/bad-03 + '[' -r /tmp/tmp.NDFPcj/cases/bad-03.stderr ']' + cat /tmp/tmp.NDFPcj/cases/bad-03.stderr Advertisement is malformed! + return 1 + validate_output /tmp/tmp.NDFPcj/cases/bad-03.stderr + local output=/tmp/tmp.NDFPcj/cases/bad-03.stderr + grep -Fq jose /tmp/tmp.NDFPcj/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=45627 + STDERR=/tmp/tmp.NDFPcj/cases/bad-04.stderr + do_test 45627 /tmp/tmp.NDFPcj/cases/bad-04 /tmp/tmp.NDFPcj/cases/bad-04.stderr + local port=45627 + local response=/tmp/tmp.NDFPcj/cases/bad-04 + local stderr=/tmp/tmp.NDFPcj/cases/bad-04.stderr + run_test_server 45627 /tmp/tmp.NDFPcj/cases/bad-04 + local port=45627 + local response=/tmp/tmp.NDFPcj/cases/bad-04 + '[' -z /usr/bin/socat ']' + '[' -z 45627 ']' + '[' -z /tmp/tmp.NDFPcj/cases/bad-04 ']' + sleep 1 + /usr/bin/socat -v -v TCP-LISTEN:45627,reuseaddr 'SYSTEM:cat /tmp/tmp.NDFPcj/cases/bad-04' ++ printf '{"url":"localhost:%d"}' 45627 + cfg='{"url":"localhost:45627"}' + echo foo + clevis encrypt tang '{"url":"localhost:45627"}' -y > 2022/08/04 19:43:15.000438999 length=83 from=0 to=82 GET /adv/ HTTP/1.1\r Host: localhost:45627\r User-Agent: curl/7.84.0\r Accept: */*\r \r < 2022/08/04 19:43:15.000440580 length=36 from=0 to=35 HTTP/1.0 500 Internal Server Error + echo 'Error (do_test) response: /tmp/tmp.NDFPcj/cases/bad-04' Error (do_test) response: /tmp/tmp.NDFPcj/cases/bad-04 + '[' -r /tmp/tmp.NDFPcj/cases/bad-04.stderr ']' + cat /tmp/tmp.NDFPcj/cases/bad-04.stderr Unable to fetch advertisement: 'localhost:45627/adv/'! + return 1 + validate_output /tmp/tmp.NDFPcj/cases/bad-04.stderr + local output=/tmp/tmp.NDFPcj/cases/bad-04.stderr + grep -Fq jose /tmp/tmp.NDFPcj/cases/bad-04.stderr + STDERR=/tmp/tmp.NDFPcj/cases/stderr + for adv in "[]" "]" "" "{}" + do_test_with_adv 45627 '[]' /tmp/tmp.NDFPcj/cases/stderr + local port=45627 + local 'adv=[]' + local stderr=/tmp/tmp.NDFPcj/cases/stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 45627 '[]' + cfg='{"url":"localhost:45627","adv":"[]"}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:45627","adv":"[]"}' + echo 'Error (do_test_with_adv) adv: [] response: ' Error (do_test_with_adv) adv: [] response: + '[' -r /tmp/tmp.NDFPcj/cases/stderr ']' + cat /tmp/tmp.NDFPcj/cases/stderr Advertisement file '[]' not found! + return 1 + validate_output /tmp/tmp.NDFPcj/cases/stderr + local output=/tmp/tmp.NDFPcj/cases/stderr + grep -Fq jose /tmp/tmp.NDFPcj/cases/stderr + for adv in "[]" "]" "" "{}" + do_test_with_adv 45627 ']' /tmp/tmp.NDFPcj/cases/stderr + local port=45627 + local 'adv=]' + local stderr=/tmp/tmp.NDFPcj/cases/stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 45627 ']' + cfg='{"url":"localhost:45627","adv":"]"}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:45627","adv":"]"}' + echo 'Error (do_test_with_adv) adv: ] response: ' Error (do_test_with_adv) adv: ] response: + '[' -r /tmp/tmp.NDFPcj/cases/stderr ']' + cat /tmp/tmp.NDFPcj/cases/stderr Advertisement file ']' not found! + return 1 + validate_output /tmp/tmp.NDFPcj/cases/stderr + local output=/tmp/tmp.NDFPcj/cases/stderr + grep -Fq jose /tmp/tmp.NDFPcj/cases/stderr + for adv in "[]" "]" "" "{}" + do_test_with_adv 45627 '' /tmp/tmp.NDFPcj/cases/stderr + local port=45627 + local adv= + local stderr=/tmp/tmp.NDFPcj/cases/stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 45627 '' + cfg='{"url":"localhost:45627","adv":""}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:45627","adv":""}' + echo 'Error (do_test_with_adv) adv: response: ' Error (do_test_with_adv) adv: response: + '[' -r /tmp/tmp.NDFPcj/cases/stderr ']' + cat /tmp/tmp.NDFPcj/cases/stderr Advertisement file '' not found! + return 1 + validate_output /tmp/tmp.NDFPcj/cases/stderr + local output=/tmp/tmp.NDFPcj/cases/stderr + grep -Fq jose /tmp/tmp.NDFPcj/cases/stderr + for adv in "[]" "]" "" "{}" + do_test_with_adv 45627 '{}' /tmp/tmp.NDFPcj/cases/stderr + local port=45627 + local 'adv={}' + local stderr=/tmp/tmp.NDFPcj/cases/stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 45627 '{}' + cfg='{"url":"localhost:45627","adv":"{}"}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:45627","adv":"{}"}' + echo 'Error (do_test_with_adv) adv: {} response: ' Error (do_test_with_adv) adv: {} response: + '[' -r /tmp/tmp.NDFPcj/cases/stderr ']' + cat /tmp/tmp.NDFPcj/cases/stderr Advertisement file '{}' not found! + return 1 + validate_output /tmp/tmp.NDFPcj/cases/stderr + local output=/tmp/tmp.NDFPcj/cases/stderr + grep -Fq jose /tmp/tmp.NDFPcj/cases/stderr + tang_run /tmp/tmp.NDFPcj 45627 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.NDFPcj + local port=45627 + local sig_name= + local exc_name= + '[' -z /tmp/tmp.NDFPcj ']' + '[' -z 45627 ']' + tang_new_keys /tmp/tmp.NDFPcj '' '' '' + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.NDFPcj + local rotate= + local sig_name= + local exc_name= + '[' -z /tmp/tmp.NDFPcj ']' + local db=/tmp/tmp.NDFPcj/db + mkdir -p /tmp/tmp.NDFPcj/db + '[' -n '' ']' + /usr/libexec/tangd-keygen /tmp/tmp.NDFPcj/db Unable to change owner/group for /tmp/tmp.NDFPcj/db/Geagr5d9IoXS46ce6QwFZ-skkO50BQmU0fm5-_mwC_Y.jwk to tang:tang Unable to change owner/group for /tmp/tmp.NDFPcj/db/0kj7fVLNWQiV3bWYcxzNJ0ZccO1Anc_kWtaccn4nQIQ.jwk to tang:tang + '[' -n '' ']' + return 0 + local KEYS=/tmp/tmp.NDFPcj/cache + '[' -z '' ']' + KEYS=/tmp/tmp.NDFPcj/db + local pid pidfile + pidfile=/tmp/tmp.NDFPcj/tang.pid + pid=28660 + echo 28660 + /usr/bin/socat -v -v TCP-LISTEN:45627,reuseaddr,fork 'exec:/usr/libexec/tangd /tmp/tmp.NDFPcj/db' + tang_wait_until_ready 45627 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=45627 + '[' -z 45627 ']' + local max_timeout_in_s=5 + local start elapsed + start=5 + curl --output /dev/null --silent --fail http://localhost:45627/adv > 2022/08/04 19:43:15.000686702 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:45627\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:15.000699739 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFYUE5LWFphMW5kbEh2M0szNmNMSFg3RW9teWdaUmtLSXkwdXdWV2l6M2s5RUE2cTFzVzBpRkJ0Rk0wNHlIaXIxZGN5SXVLUHl0cG5RaU5Nc2pKeWYtWHYiLCAieSI6ICJBYjF1S3E0LVdkTXZlcjR3cmZXVWpMbFNmOWQ3bXYxLXVPYkJtX0VNTm9JZ3JTaWs2eVp0YkpLeHNTazRUQ3FxUDJPejNVbDR4dGs2S3F4QzREYi1mNS1pIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUY4VWdyb05UcWdyV2NCanVtWUIzYnlKQlZwOUR6RzREaHZmbEhyNTJ2cEJyd2hvX0xTQUU5c29XOVY3Q0xCZUw5Uy1wU09BOGdQblQxc2VKc0JKYUdGQyIsICJ5IjogIkFBVVlRT2tJSC1CaER6R2lmbDRJbmxhOVpxSjQ3N2d5LWF5NVllOEEyalBOUXhjUW44Y3Z6blRsNzFMdHlWWVJPZnp1NmMzWG05OUlkQS1QOGJldE9Zd1UifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "Abpu_Ru6CaH_qiHSDP5q0JsIYdrvIOyod75HRTt0xEEaAX2wJbCKJIXJ34aTa8LEbv_Q9umy_Tdt3xGWJ005SBh2AVxGuCKSjrgphcLqMp8kWsCUZIqr6wckMAB-yBHaG03MxG5emuWjTfX1_kXd_Yf8tJzCPvd2StfZ1qvW7tXNhcjs"}+ touch /tmp/tmp.NDFPcj/cases/adv-bad-01 + echo '{' + echo foobar + tang_get_adv 45627 /tmp/tmp.NDFPcj/cases/adv-good-01 + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local port=45627 + local adv=/tmp/tmp.NDFPcj/cases/adv-good-01 + '[' -z 45627 ']' + curl -L -o /tmp/tmp.NDFPcj/cases/adv-good-01 http://localhost:45627/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/08/04 19:43:15.000712330 length=82 from=0 to=81 GET /adv HTTP/1.1\r Host: localhost:45627\r User-Agent: curl/7.84.0\r Accept: */*\r \r GET /adv => 200 (../src/tangd.c:71) < 2022/08/04 19:43:15.000720536 length=1070 from=0 to=1069 HTTP/1.1 200 OK\r Content-Type: application/jose+json\r Content-Length: 993\r \r {"payload": "eyJrZXlzIjogW3siYWxnIjogIkVTNTEyIiwgImNydiI6ICJQLTUyMSIsICJrZXlfb3BzIjogWyJ2ZXJpZnkiXSwgImt0eSI6ICJFQyIsICJ4IjogIkFYUE5LWFphMW5kbEh2M0szNmNMSFg3RW9teWdaUmtLSXkwdXdWV2l6M2s5RUE2cTFzVzBpRkJ0Rk0wNHlIaXIxZGN5SXVLUHl0cG5RaU5Nc2pKeWYtWHYiLCAieSI6ICJBYjF1S3E0LVdkTXZlcjR3cmZXVWpMbFNmOWQ3bXYxLXVPYkJtX0VNTm9JZ3JTaWs2eVp0YkpLeHNTazRUQ3FxUDJPejNVbDR4dGs2S3F4QzREYi1mNS1pIn0sIHsiYWxnIjogIkVDTVIiLCAiY3J2IjogIlAtNTIxIiwgImtleV9vcHMiOiBbImRlcml2ZUtleSJdLCAia3R5IjogIkVDIiwgIngiOiAiQUY4VWdyb05UcWdyV2NCanVtWUIzYnlKQlZwOUR6RzREaHZmbEhyNTJ2cEJyd2hvX0xTQUU5c29XOVY3Q0xCZUw5Uy1wU09BOGdQblQxc2VKc0JKYUdGQyIsICJ5IjogIkFBVVlRT2tJSC1CaER6R2lmbDRJbmxhOVpxSjQ3N2d5LWF5NVllOEEyalBOUXhjUW44Y3Z6blRsNzFMdHlWWVJPZnp1NmMzWG05OUlkQS1QOGJldE9Zd1UifV19", "protected": "eyJhbGciOiJFUzUxMiIsImN0eSI6Imp3ay1zZXQranNvbiJ9", "signature": "ALvjEmw0-XREE_p2RXIgL87KwJ9A-WNakmD7hUQXjZPZfFaFwHiZC7CiQh61Drizz0TsnLCv5-r-Pnn0RYy3ai3QAJVzQBCFEFEeaoXMqd8lc660XdmMIGIseHD-6O8VksEMdjZsFdF_967QcQhZiqmxfqsBG1IFQEozCNW5oK-gntaE"} 100 993 100 993 0 0 85133 0 --:--:-- --:--:-- --:--:-- 90272 + for adv in "${CASES}"/adv-good-* + STDERR=/tmp/tmp.NDFPcj/cases/adv-good-01.stderr + do_test_with_adv 45627 /tmp/tmp.NDFPcj/cases/adv-good-01 /tmp/tmp.NDFPcj/cases/adv-good-01.stderr + local port=45627 + local adv=/tmp/tmp.NDFPcj/cases/adv-good-01 + local stderr=/tmp/tmp.NDFPcj/cases/adv-good-01.stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 45627 /tmp/tmp.NDFPcj/cases/adv-good-01 + cfg='{"url":"localhost:45627","adv":"/tmp/tmp.NDFPcj/cases/adv-good-01"}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:45627","adv":"/tmp/tmp.NDFPcj/cases/adv-good-01"}' + validate_output /tmp/tmp.NDFPcj/cases/adv-good-01.stderr + local output=/tmp/tmp.NDFPcj/cases/adv-good-01.stderr + grep -Fq jose /tmp/tmp.NDFPcj/cases/adv-good-01.stderr + for adv in "${CASES}"/adv-bad-* + STDERR=/tmp/tmp.NDFPcj/cases/adv-bad-01.stderr + do_test_with_adv 45627 /tmp/tmp.NDFPcj/cases/adv-bad-01 /tmp/tmp.NDFPcj/cases/adv-bad-01.stderr + local port=45627 + local adv=/tmp/tmp.NDFPcj/cases/adv-bad-01 + local stderr=/tmp/tmp.NDFPcj/cases/adv-bad-01.stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 45627 /tmp/tmp.NDFPcj/cases/adv-bad-01 + cfg='{"url":"localhost:45627","adv":"/tmp/tmp.NDFPcj/cases/adv-bad-01"}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:45627","adv":"/tmp/tmp.NDFPcj/cases/adv-bad-01"}' + echo 'Error (do_test_with_adv) adv: /tmp/tmp.NDFPcj/cases/adv-bad-01 response: ' Error (do_test_with_adv) adv: /tmp/tmp.NDFPcj/cases/adv-bad-01 response: + '[' -r /tmp/tmp.NDFPcj/cases/adv-bad-01.stderr ']' + cat /tmp/tmp.NDFPcj/cases/adv-bad-01.stderr Advertisement file '' is malformed! + return 1 + validate_output /tmp/tmp.NDFPcj/cases/adv-bad-01.stderr + local output=/tmp/tmp.NDFPcj/cases/adv-bad-01.stderr + grep -Fq jose /tmp/tmp.NDFPcj/cases/adv-bad-01.stderr + for adv in "${CASES}"/adv-bad-* + STDERR=/tmp/tmp.NDFPcj/cases/adv-bad-02.stderr + do_test_with_adv 45627 /tmp/tmp.NDFPcj/cases/adv-bad-02 /tmp/tmp.NDFPcj/cases/adv-bad-02.stderr + local port=45627 + local adv=/tmp/tmp.NDFPcj/cases/adv-bad-02 + local stderr=/tmp/tmp.NDFPcj/cases/adv-bad-02.stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 45627 /tmp/tmp.NDFPcj/cases/adv-bad-02 + cfg='{"url":"localhost:45627","adv":"/tmp/tmp.NDFPcj/cases/adv-bad-02"}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:45627","adv":"/tmp/tmp.NDFPcj/cases/adv-bad-02"}' + echo 'Error (do_test_with_adv) adv: /tmp/tmp.NDFPcj/cases/adv-bad-02 response: ' Error (do_test_with_adv) adv: /tmp/tmp.NDFPcj/cases/adv-bad-02 response: + '[' -r /tmp/tmp.NDFPcj/cases/adv-bad-02.stderr ']' + cat /tmp/tmp.NDFPcj/cases/adv-bad-02.stderr Advertisement file '' is malformed! + return 1 + validate_output /tmp/tmp.NDFPcj/cases/adv-bad-02.stderr + local output=/tmp/tmp.NDFPcj/cases/adv-bad-02.stderr + grep -Fq jose /tmp/tmp.NDFPcj/cases/adv-bad-02.stderr + for adv in "${CASES}"/adv-bad-* + STDERR=/tmp/tmp.NDFPcj/cases/adv-bad-03.stderr + do_test_with_adv 45627 /tmp/tmp.NDFPcj/cases/adv-bad-03 /tmp/tmp.NDFPcj/cases/adv-bad-03.stderr + local port=45627 + local adv=/tmp/tmp.NDFPcj/cases/adv-bad-03 + local stderr=/tmp/tmp.NDFPcj/cases/adv-bad-03.stderr ++ printf '{"url":"localhost:%d","adv":"%s"}' 45627 /tmp/tmp.NDFPcj/cases/adv-bad-03 + cfg='{"url":"localhost:45627","adv":"/tmp/tmp.NDFPcj/cases/adv-bad-03"}' + echo foo-adv + clevis encrypt tang '{"url":"localhost:45627","adv":"/tmp/tmp.NDFPcj/cases/adv-bad-03"}' + echo 'Error (do_test_with_adv) adv: /tmp/tmp.NDFPcj/cases/adv-bad-03 response: ' Error (do_test_with_adv) adv: /tmp/tmp.NDFPcj/cases/adv-bad-03 response: + '[' -r /tmp/tmp.NDFPcj/cases/adv-bad-03.stderr ']' + cat /tmp/tmp.NDFPcj/cases/adv-bad-03.stderr Advertisement file '' is malformed! + return 1 + validate_output /tmp/tmp.NDFPcj/cases/adv-bad-03.stderr + local output=/tmp/tmp.NDFPcj/cases/adv-bad-03.stderr + grep -Fq jose /tmp/tmp.NDFPcj/cases/adv-bad-03.stderr + on_exit + local exit_status=0 + tang_stop /tmp/tmp.NDFPcj + tang_sanity_check + '[' -n /usr/bin/socat ']' + '[' -n /usr/libexec/tangd-keygen ']' + '[' -n /usr/libexec/tangd ']' + return 0 + local basedir=/tmp/tmp.NDFPcj + '[' -z /tmp/tmp.NDFPcj ']' + local pidfile=/tmp/tmp.NDFPcj/tang.pid + '[' -f /tmp/tmp.NDFPcj/tang.pid ']' + local pid + pid=28660 + kill -9 28660 + '[' -d /tmp/tmp.NDFPcj ']' + rm -rf /tmp/tmp.NDFPcj /home/buildozer/aports/testing/clevis/src/clevis-18/src/pins/tang/tests/tang-validate-adv: line 23: 28660 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-r1.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-r1.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-r1.apk >>> clevis*: Tracing dependencies... bash cryptsetup jose libpwquality so:libaudit.so.1 so:libc.musl-x86_64.so.1 so:libcrypto.so.3 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-r1.apk >>> clevis: Build complete at Thu, 04 Aug 2022 19:43:18 +0000 elapsed time 0h 0m 25s >>> clevis: Cleaning up srcdir >>> clevis: Cleaning up pkgdir >>> clevis: Uninstalling dependencies... (1/139) Purging meson-bash-completion (0.63.0-r1) (2/139) Purging tpm2-tools-bash-completion (5.2-r2) (3/139) Purging .makedepends-clevis (20220804.194255) (4/139) Purging cryptsetup-openrc (2.5.0-r1) (5/139) Purging cryptsetup (2.5.0-r1) (6/139) Purging libpwquality (1.4.4-r3) (7/139) Purging cracklib-words (2.9.7-r4) (8/139) Purging asciidoc (9.1.1-r0) (9/139) Purging source-highlight (3.1.9-r5) (10/139) Purging git-bash-completion (2.37.1-r1) (11/139) Purging openrc-bash-completion (0.45.2-r0) (12/139) Purging bash-completion (2.11-r4) (13/139) Purging bash (5.1.16-r2) Executing bash-5.1.16-r2.pre-deinstall (14/139) Purging meson (0.63.0-r1) (15/139) Purging samurai (1.2-r2) (16/139) Purging tpm2-tools (5.2-r2) (17/139) Purging jose-dev (11-r2) (18/139) Purging audit-dev (3.0.8-r0) (19/139) Purging audit-libs (3.0.8-r0) (20/139) Purging udisks2-dev (2.9.4-r1) (21/139) Purging gobject-introspection-dev (1.72.0-r0) (22/139) Purging cairo-dev (1.17.6-r2) (23/139) Purging cairo-tools (1.17.6-r2) (24/139) Purging xcb-util-dev (0.4.0-r3) (25/139) Purging util-macros (1.19.3-r0) (26/139) Purging xcb-util (0.4.0-r3) (27/139) Purging cairo-gobject (1.17.6-r2) (28/139) Purging cairo (1.17.6-r2) (29/139) Purging libtool (2.4.7-r0) (30/139) Purging libltdl (2.4.7-r0) (31/139) Purging polkit-dev (121-r0) (32/139) Purging polkit-common (121-r0) (33/139) Purging polkit-libs (121-r0) (34/139) Purging dbus-glib-dev (0.112-r0) (35/139) Purging dbus-glib (0.112-r0) (36/139) Purging libatasmart-dev (0.19-r1) (37/139) Purging libatasmart (0.19-r1) (38/139) Purging libgudev-dev (237-r1) (39/139) Purging libgudev (237-r1) (40/139) Purging acl-dev (2.3.1-r1) (41/139) Purging lvm2-dev (2.02.187-r2) (42/139) Purging lvm2-libs (2.02.187-r2) (43/139) Purging udisks2-libs (2.9.4-r1) (44/139) Purging luksmeta-dev (9-r0) (45/139) Purging luksmeta (9-r0) (46/139) Purging jq (1.6-r1) (47/139) Purging tang-openrc (11-r0) (48/139) Purging socat (1.7.4.3-r1) (49/139) Purging tang (11-r0) (50/139) Purging jose (11-r2) (51/139) Purging glib-dev (2.72.3-r0) (52/139) Purging gettext-dev (0.21-r3) (53/139) Purging gettext-asprintf (0.21-r3) (54/139) Purging gettext (0.21-r3) (55/139) Purging bzip2-dev (1.0.8-r1) (56/139) Purging docbook-xsl (1.79.2-r4) Executing docbook-xsl-1.79.2-r4.post-deinstall (57/139) Purging libxslt (1.1.35-r0) (58/139) Purging docbook-xml (4.5-r6) Executing docbook-xml-4.5-r6.post-deinstall (59/139) Purging libxml2-utils (2.9.14-r1) (60/139) Purging python3 (3.10.5-r2) (61/139) Purging readline (8.1.2-r0) (62/139) Purging cryptsetup-dev (2.5.0-r1) (63/139) Purging cryptsetup-libs (2.5.0-r1) (64/139) Purging argon2-libs (20190702-r1) (65/139) Purging device-mapper-event-libs (2.02.187-r2) (66/139) Purging device-mapper-libs (2.02.187-r2) (67/139) Purging tpm2-tss-fapi (3.2.0-r0) (68/139) Purging acl (2.3.1-r1) (69/139) Purging json-c (0.16-r0) (70/139) Purging dbus-dev (1.14.0-r1) (71/139) Purging dbus-libs (1.14.0-r1) (72/139) Purging util-linux-dev (2.38-r3) (73/139) Purging libfdisk (2.38-r3) (74/139) Purging libsmartcols (2.38-r3) (75/139) Purging libuuid (2.38-r3) (76/139) Purging jansson-dev (2.14-r0) (77/139) Purging libjose (11-r2) (78/139) Purging jansson (2.14-r0) (79/139) Purging cracklib (2.9.7-r4) (80/139) Purging gettext-libs (0.21-r3) (81/139) Purging gobject-introspection (1.72.0-r0) (82/139) Purging glib (2.72.3-r0) (83/139) Purging libintl (0.21-r3) (84/139) Purging linux-pam (1.5.2-r1) (85/139) Purging libffi-dev (3.4.2-r1) (86/139) Purging linux-headers (5.16.7-r1) (87/139) Purging libffi (3.4.2-r1) (88/139) Purging gdbm (1.23-r0) (89/139) Purging mpdecimal (2.5.1-r1) (90/139) Purging sqlite-libs (3.39.2-r0) (91/139) Purging libxml2 (2.9.14-r1) (92/139) Purging libgcrypt (1.10.1-r0) (93/139) Purging libgpg-error (1.45-r0) (94/139) Purging tpm2-tss-esys (3.2.0-r0) (95/139) Purging tpm2-tss-sys (3.2.0-r0) (96/139) Purging tpm2-tss-mu (3.2.0-r0) (97/139) Purging tpm2-tss-tctildr (3.2.0-r0) (98/139) Purging tpm2-tss-rc (3.2.0-r0) (99/139) Purging openssl-dev (3.0.5-r1) (100/139) Purging fontconfig-dev (2.14.0-r0) (101/139) Purging fontconfig (2.14.0-r0) (102/139) Purging freetype-dev (2.12.1-r0) (103/139) Purging freetype (2.12.1-r0) (104/139) Purging libpng-dev (1.6.37-r1) (105/139) Purging libpng (1.6.37-r1) (106/139) Purging zlib-dev (1.2.12-r1) (107/139) Purging libcap-ng (0.8.3-r1) (108/139) Purging expat-dev (2.4.8-r1) (109/139) Purging expat (2.4.8-r1) (110/139) Purging brotli-dev (1.0.9-r7) (111/139) Purging libxrender-dev (0.9.10-r3) (112/139) Purging libxrender (0.9.10-r3) (113/139) Purging libxext-dev (1.3.4-r0) (114/139) Purging libxext (1.3.4-r0) (115/139) Purging libx11-dev (1.8.1-r1) (116/139) Purging xtrans (1.4.0-r1) (117/139) Purging libx11 (1.8.1-r1) (118/139) Purging libxcb-dev (1.15-r0) (119/139) Purging xcb-proto (1.15-r0) (120/139) Purging libxcb (1.15-r0) (121/139) Purging libxau-dev (1.0.9-r0) (122/139) Purging libxau (1.0.9-r0) (123/139) Purging libxdmcp-dev (1.1.3-r0) (124/139) Purging libxdmcp (1.1.3-r0) (125/139) Purging xorgproto (2022.1-r0) (126/139) Purging libbsd (0.11.6-r2) (127/139) Purging libmd (1.0.4-r0) (128/139) Purging pixman-dev (0.40.0-r3) (129/139) Purging pixman (0.40.0-r3) (130/139) Purging libmount (2.38-r3) (131/139) Purging pcre-dev (8.45-r2) (132/139) Purging libpcre16 (8.45-r2) (133/139) Purging libpcre32 (8.45-r2) (134/139) Purging libpcrecpp (8.45-r2) (135/139) Purging pcre (8.45-r2) (136/139) Purging libunistring (1.0-r0) (137/139) Purging libaio (0.3.112-r2) (138/139) Purging oniguruma (6.9.8-r0) (139/139) Purging http-parser (2.9.4-r0) Executing busybox-1.35.0-r22.trigger OK: 798 MiB in 123 packages >>> clevis: Updating the testing/x86_64 repository index... >>> clevis: Signing the index...