bewaking-d4f1e6d1-c954

job succeeded

job
(lambda()
  `((task . ("maak-test" "maak-deploy"))
    (project . "bewaking")
    (branch-name . "trunk")
    (clone-url . "https://github.com/jjba23/bewaking.git")))
starting new job...
rundir='/etc/byggsteg/job-clone//bewaking/trunk succeeded43 lines · 0.5s
branch='trunk'
if ! command -v git >/dev/null 2>&1; then
  echo 'byggsteg: git is not on this deployment PATH, so the clone cannot be updated' >&2
  exit 1
fi
if ! cd "$dir"; then
  echo "byggsteg: cannot enter the clone $dir" >&2
  exit 1
fi
root=$(git rev-parse --show-toplevel 2>/dev/null)
if [ "$root" != "$(pwd -P)" ]; then
  echo "byggsteg: $dir is not a git checkout; remove it and the next run clones it again" >&2
  exit 1
fi
if ! origin=$(git remote get-url origin 2>/dev/null); then
  echo "byggsteg: $dir has no origin remote to fetch $branch from" >&2
  exit 1
fi
before=$(git rev-parse --short HEAD 2>/dev/null) || before=none
attempt=1
while :; do
  if GIT_TERMINAL_PROMPT=0 git fetch --quiet origin "+refs/heads/$branch:refs/remotes/origin/$branch"; then
    break
  fi
  if [ "$attempt" -ge 3 ]; then
    echo "byggsteg: could not fetch $branch from $origin after 3 attempts; is the branch still there, and is the remote reachable?" >&2
    exit 1
  fi
  echo "byggsteg: fetching $branch from $origin failed; retrying in $((attempt * 2))s" >&2
  sleep $((attempt * 2))
  attempt=$((attempt + 1))
done
if ! git checkout --quiet --force -B "$branch" FETCH_HEAD; then
  echo "byggsteg: fetched $branch from $origin but could not check it out" >&2
  exit 1
fi
after=$(git rev-parse --short HEAD)
if [ "$before" = "$after" ]; then
  echo "byggsteg: $branch was already at $after"
else
  echo "byggsteg: $branch moved from $before to $after"
fi


byggsteg: trunk moved from 69a04f4 to 8944fc8
setupuname -a succeeded1 lines · 0.0s
Linux wolk-jjba 7.2.11-gnu #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
setupgit log --name-status HEAD^..HEAD succeeded17 lines · 0.0s
commit 8944fc8dee0d5fe37fa58181593df5acf09b94af
Author: Josep Bigorra <jjbigorra@gmail.com>
Date:   Wed Nov 25 20:24:26 2026 +0100

    chore: Update guile-veritas
    
    The pin moves to v1.6.0, the release that adds end-to-end testing: a suite
    starts and stops the services it talks to, wait-for-port, wait-for-http and
    wait-for-log report why readiness failed instead of sleeping, and http-get,
    http-post and http-request reach the running system.  The URL and home page
    stay on GitHub, because the Codeberg copy of veritas stops at v1.1.1.  No test
    changes were needed: the suite is green with 5 files, 49 suites, 126 tests and
    451 assertions.
    
    🤖 Generated with [ECA](https://eca.dev)
    
    Co-Authored-By: eca-agent <git@eca.dev>

M       manifest.scm
testmaak test succeeded1229 lines · 6.7s
--------------------------------------------------------------

Maak 1.0.0: the infinitely extensible command runner

Loading tasks from: /etc/byggsteg/job-clone/bewaking/trunk/maak.scm

Executing Maak tasks: test


--------------------------------------------------------------

=> Running Maak task: test

  Run the project's tests.

  Execute command:
guix time-machine --channels=channels.scm -- shell -m manifest.scm -- guile -L ./src -L ./test -c '((@ (veritas runner) run-tests))'

Executing: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- guile -L ./src -L ./test -c '((@ (veritas runner) run-tests))'
channels.scm:15:7: warning: channel 'jointhefreeworld' is not trusted
The following derivation will be built:
  /gnu/store/v6kgab5swniw3vrqwhar9kkasilijpg4-profile.drv

building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 9 packages...

scanning directories for unit tests...
scanning present working directory for unit tests...

shuffled the files with seed 454474644 (replay with VERITAS_SEED=454474644)

found unit tests: (password-spec.scm cli-spec.scm crypto-spec.scm web-spec.scm bewaking-spec.scm)


running unit tests from file: password-spec.scm, entrypoint: spec


ℹ️ info - shuffled with seed 454474644 (replay with VERITAS_SEED=454474644)
+----------------------------------------------+
[📑 suite] Password generation
  [🧪 test] generate-strong-password
    [⚙️ assert] default length is 24
    ✅ got: 24
    [⚙️ assert] a generated password is strong
    ✅ got: #t
    [⚙️ assert] default generated passwords use every class
    ✅ got: (lowercase uppercase digit symbol)
    [⚙️ assert] length is respected
    ✅ got: 32
    [⚙️ assert] symbols can be excluded
    ✅ got: (lowercase uppercase digit)
    [⚙️ assert] too-short a request raises an error
    ✅ success catching error: misc-error: (#f ~A (generate-strong-password: length must be at least 4 to cover every character class.) #f)
+----------------------------------------------+
[📑 suite] Password entropy
  [🧪 test] password-entropy
    [⚙️ assert] an empty password has zero entropy
    ✅ got: 0
    [⚙️ assert] eight lowercase letters are ~37.6 bits
    ✅ got: #t
    [⚙️ assert] adding a character class increases the entropy
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Password strength
  [🧪 test] strong-password?
    [⚙️ assert] a common word is not strong
    ✅ got: #f
    [⚙️ assert] a short mixed password is not strong
    ✅ got: #f
    [⚙️ assert] a long passphrase is strong
    ✅ got: #t
    [⚙️ assert] min-score lowers the bar
    ✅ got: #t
  [🧪 test] password-strength
    [⚙️ assert] a common numeric password scores 0
    ✅ got: 0
    [⚙️ assert] score 0 is labelled very weak
    ✅ got: very weak
    [⚙️ assert] a very short password scores 0
    ✅ got: 0
    [⚙️ assert] a long passphrase scores 4
    ✅ got: 4
    [⚙️ assert] score 4 is labelled very strong
    ✅ got: very strong
    [⚙️ assert] an empty password scores 0
    ✅ got: 0
    [⚙️ assert] stronger passwords have higher entropy
    ✅ got: #t
    [⚙️ assert] feedback is returned as a list
    ✅ got: #t
    [⚙️ assert] common passwords get a specific warning
    ✅ got: #t
    [⚙️ assert] sequential runs are flagged in the feedback
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Password hashing
  [🧪 test] salts and cost ceilings
    [⚙️ assert] two hashes of one password differ, so each carries a fresh salt
    ✅ got: #f
    [⚙️ assert] a recorded memory cost above the ceiling is refused
    ✅ got: #f
    [⚙️ assert] a recorded pass count above the ceiling is refused
    ✅ got: #f
  [🧪 test] hash-password and verify-password
    [⚙️ assert] a hash is a well-formed PHC Argon2id string
    ✅ got: #t
    [⚙️ assert] the requested parameters are the ones recorded
    ✅ got: #t;;; note: source file ./src/bewaking/cli.scm
;;;       newer than compiled /gnu/store/isnxa5fpk0djx4i8gzy0vkx6kznmaaak-profile/lib/guile/3.0/site-ccache/bewaking/cli.go
;;; note: source file ./src/bewaking/cli.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/bewaking/cli.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/bewaking/trunk/src/bewaking/cli.scm.go
;;; note: source file ./src/bewaking/crypto.scm
;;;       newer than compiled /gnu/store/isnxa5fpk0djx4i8gzy0vkx6kznmaaak-profile/lib/guile/3.0/site-ccache/bewaking/crypto.go
;;; note: source file ./src/bewaking/crypto.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/bewaking/crypto.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/bewaking/trunk/src/bewaking/crypto.scm.go
;;; note: source file ./src/bewaking/bewaking.scm
;;;       newer than compiled /gnu/store/isnxa5fpk0djx4i8gzy0vkx6kznmaaak-profile/lib/guile/3.0/site-ccache/bewaking/bewaking.go
;;; note: source file ./src/bewaking/bewaking.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/bewaking/bewaking.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/bewaking/trunk/src/bewaking/bewaking.scm.go
;;; note: source file ./src/bewaking/password.scm
;;;       newer than compiled /gnu/store/isnxa5fpk0djx4i8gzy0vkx6kznmaaak-profile/lib/guile/3.0/site-ccache/bewaking/password.go
;;; note: source file ./src/bewaking/password.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/bewaking/password.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/bewaking/trunk/src/bewaking/password.scm.go
;;; note: source file ./src/bewaking/cli.scm
;;;       newer than compiled /gnu/store/isnxa5fpk0djx4i8gzy0vkx6kznmaaak-profile/lib/guile/3.0/site-ccache/bewaking/cli.go
;;; note: source file ./src/bewaking/cli.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/bewaking/cli.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/bewaking/trunk/src/bewaking/cli.scm.go
;;; note: source file ./src/bewaking/crypto.scm
;;;       newer than compiled /gnu/store/isnxa5fpk0djx4i8gzy0vkx6kznmaaak-profile/lib/guile/3.0/site-ccache/bewaking/crypto.go
;;; note: source file ./src/bewaking/crypto.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/bewaking/crypto.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/bewaking/trunk/src/bewaking/crypto.scm.go
;;; note: source file ./src/bewaking/bewaking.scm
;;;       newer than compiled /gnu/store/isnxa5fpk0djx4i8gzy0vkx6kznmaaak-profile/lib/guile/3.0/site-ccache/bewaking/bewaking.go
;;; note: source file ./src/bewaking/bewaking.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/bewaking/bewaking.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/bewaking/trunk/src/bewaking/bewaking.scm.go
;;; note: source file ./src/bewaking/password.scm
;;;       newer than compiled /gnu/store/isnxa5fpk0djx4i8gzy0vkx6kznmaaak-profile/lib/guile/3.0/site-ccache/bewaking/password.go
;;; note: source file ./src/bewaking/password.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/bewaking/password.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/bewaking/trunk/src/bewaking/password.scm.go

    [⚙️ assert] the right password verifies
    ✅ got: #t
    [⚙️ assert] a wrong password does not verify
    ✅ got: #f
    [⚙️ assert] plain text is not a password hash
    ✅ got: #f
    [⚙️ assert] a malformed hash verifies nothing
    ✅ got: #f
    [⚙️ assert] the empty string is not a password hash
    ✅ got: #f
+----------------------------------------------+
[📑 suite] Strength labels
  [🧪 test] password-strength-label
    ✅ got: very weak
    ✅ got: weak
    ✅ got: fair
    ✅ got: strong
    ✅ got: very strong
    [⚙️ assert] a score outside 0-4 is labelled unknown
    ✅ got: unknown
+----------------------------------------------+
[📑 suite] Password character classes
  [🧪 test] password-character-classes
    [⚙️ assert] lowercase letters only
    ✅ got: (lowercase)
    [⚙️ assert] uppercase letters only
    ✅ got: (uppercase)
    [⚙️ assert] digits only
    ✅ got: (digit)
    [⚙️ assert] all four classes are detected
    ✅ got: (lowercase uppercase digit symbol)
    [⚙️ assert] an empty password has no classes
    ✅ got: ()
ℹ️ info - ran 6 tasks in: 0 seconds, 25098 microseconds
ℹ️ info - counted 1 file, 6 suites, 8 tests and 44 assertions

running unit tests from file: cli-spec.scm, entrypoint: spec


ℹ️ info - shuffled with seed 454474644 (replay with VERITAS_SEED=454474644)
+----------------------------------------------+
[📑 suite] CLI password commands
  [🧪 test] password generate
    [⚙️ assert] generation exits successfully
    ✅ got: 0
    [⚙️ assert] the requested length is honoured
    ✅ got: 32
    [⚙️ assert] symbols are excluded on request
    ✅ got: (lowercase uppercase digit)
  [🧪 test] password strength
    [⚙️ assert] strength exits successfully
    ✅ got: 0
    [⚙️ assert] a common password is reported weak
    ✅ got: #t
+----------------------------------------------+
[📑 suite] CLI rotation metadata
  [🧪 test] token inspect audits the header without keys
    [⚙️ assert] inspect reports version, key id and expiry
    ✅ got: #t
    [⚙️ assert] inspect reports an expired envelope
    ✅ got: #t
    [⚙️ assert] inspect rejects a non-envelope token
    ✅ got: #t
  [🧪 test] expiry is sealed into tokens and enforced
    [⚙️ assert] an expired token exits with 1
    ✅ got: #t
    [⚙️ assert] --allow-expired opens it anyway
    ✅ got: #t
    [⚙️ assert] --max-age-seconds accepts fresh data
    ✅ got: #t
    [⚙️ assert] --ttl-seconds and --expires-at conflict
    ✅ got: #t
+----------------------------------------------+
[📑 suite] CLI token commands
  [🧪 test] token round-trip
    [⚙️ assert] generate then decrypt preserves the payload
    ✅ got: #t
  [🧪 test] key id and keyring rotation
    [⚙️ assert] a keyring round-trips and rejects the wrong key
    ✅ got: #t
  [🧪 test] wrong keys are rejected
    [⚙️ assert] a wrong signing key exits with 1
    ✅ got: #t
+----------------------------------------------+
[📑 suite] CLI object commands
  [🧪 test] object round-trip
    [⚙️ assert] object encrypt then decrypt round-trips a datum
    ✅ got: #t
  [🧪 test] object expiry policy
    [⚙️ assert] an object sealed with a past expiry is refused
    ✅ got: #t
+----------------------------------------------+
[📑 suite] CLI password hashing
  [🧪 test] password hash and verify
    [⚙️ assert] the command prints a PHC Argon2id hash
    ✅ got: #t
    [⚙️ assert] the same password verifies with exit code 0
    ✅ got: #t
    [⚙️ assert] a wrong password exits with 1
    ✅ got: #t
    [⚙️ assert] a failed verification writes nothing to standard output
    ✅ got: 
    [⚙️ assert] a malformed hash exits with 1
    ✅ got: 1
+----------------------------------------------+
[📑 suite] CLI key derivation and dropped formats
  [🧪 test] the key derivation is chosen when sealing and read back when opening
    [⚙️ assert] an Argon2id token round-trips through the CLI
    ✅ got: #t
    [⚙️ assert] a KDF parameter without --kdf is refused
    ✅ got: #t
  [🧪 test] tampering and missing arguments are refused
    [⚙️ assert] an edited token exits with 1
    ✅ got: #t
    [⚙️ assert] generating without an owner id exits with 1
    ✅ got: #t
    [⚙️ assert] sealing an object without keys exits with 1
    ✅ got: #t
  [🧪 test] envelopes of dropped formats are refused
    [⚙️ assert] a BWK1 token cannot be decrypted or inspected
    ✅ got: #t
    [⚙️ assert] a BWK2 token cannot be decrypted or inspected
    ✅ got: #t
    [⚙️ assert] an empty token is refused
    ✅ got: #t
  [🧪 test] a refusal does not reveal which key ids the keyring configures
    [⚙️ assert] an unknown key id and an edited body give the same message and exit code
    ✅ got: #t
+----------------------------------------------+
[📑 suite] CLI surface
  [🧪 test] help, parallel Argon2id and environment keys
    [⚙️ assert] --help prints the usage text and exits 0
    ✅ got: #t
    [⚙️ assert] --kdf-parallelism seals and opens an Argon2id token
    ✅ got: #t
    [⚙️ assert] BEWAKING_ENCRYPTION_KEY and BEWAKING_SIGNING_KEY are picked up
    ✅ got: #t
+----------------------------------------------+
[📑 suite] CLI dispatch
  [🧪 test] help and exit codes
    [⚙️ assert] help exits successfully
    ✅ got: 0
    [⚙️ assert] help prints the usage banner
    ✅ got: #t
    [⚙️ assert] help lists the token generate command
    ✅ got: #t
    [⚙️ assert] help documents the keyring option
    ✅ got: #t
    [⚙️ assert] help documents the rotation metadata options
    ✅ got: #t
    [⚙️ assert] help lists the token inspect command
    ✅ got: #t
    [⚙️ assert] version exits successfully
    ✅ got: 0
    [⚙️ assert] an unknown command exits with 1
    ✅ got: 1
    [⚙️ assert] a token subcommand is required
    ✅ got: 1
    [⚙️ assert] decrypting without keys fails
    ✅ got: 1
ℹ️ info - ran 8 tasks in: 1 seconds, 235791 microseconds
ℹ️ info - counted 1 file, 8 suites, 16 tests and 44 assertions

running unit tests from file: crypto-spec.scm, entrypoint: spec


ℹ️ info - shuffled with seed 454474644 (replay with VERITAS_SEED=454474644)
+----------------------------------------------+
[📑 suite] Derived key material
  [🧪 test] PBKDF2 key material is the PBKDF2 derivation's
    [⚙️ assert] derive-key-material agrees with the primitive it names
    ✅ got: 25ff9d4852ea4ea0ff9caf7aa33ed9e25f8d8a4eb2915445e0ff398292d67473
    [⚙️ assert] the requested length is produced
    ✅ got: 32
  [🧪 test] Argon2id key material honours its parameters
    [⚙️ assert] the full key-and-IV length can be derived
    ✅ got: 48
    [⚙️ assert] changing the pass count changes the material
    ✅ got: #t
    [⚙️ assert] changing the passphrase changes the material
    ✅ got: #t
  [🧪 test] an unknown derivation is refused
    [⚙️ assert] no other function can be named
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Base64 encoding
  [🧪 test] RFC 4648 test vectors
    [⚙️ assert] empty
    ✅ got: 
    [⚙️ assert] one byte of input
    ✅ got: Zg==
    [⚙️ assert] two bytes of input
    ✅ got: Zm8=
    [⚙️ assert] three bytes of input
    ✅ got: Zm9v
    [⚙️ assert] four bytes of input
    ✅ got: Zm9vYg==
    [⚙️ assert] five bytes of input
    ✅ got: Zm9vYmE=
    [⚙️ assert] six bytes of input
    ✅ got: Zm9vYmFy
  [🧪 test] decoding is tolerant of line breaks
    [⚙️ assert] a trailing newline is ignored
    ✅ got: hello
    [⚙️ assert] encoding then decoding is lossless
    ✅ got: hello world
  [🧪 test] malformed input is rejected
    [⚙️ assert] non-alphabet characters raise
    ✅ success catching error: misc-error: (#f bewaking: malformed base64 input. () #f)
    [⚙️ assert] a truncated group raises
    ✅ success catching error: misc-error: (#f bewaking: malformed base64 input (bad length or padding). () #f)
    [⚙️ assert] data after padding raises
    ✅ success catching error: misc-error: (#f bewaking: malformed base64 input (data after padding). () #f)
    [⚙️ assert] an impossible amount of padding raises
    ✅ success catching error: misc-error: (#f bewaking: malformed base64 input (bad length or padding). () #f)
+----------------------------------------------+
[📑 suite] Encodings of raw bytes
  [🧪 test] Base64 round-trips arbitrary bytevectors
    [⚙️ assert] bytes that are not valid UTF-8 survive the round trip
    ✅ got: 3
  [🧪 test] Base16 round-trips arbitrary bytevectors
    [⚙️ assert] the empty bytevector round-trips
    ✅ got: #t
    [⚙️ assert] bytes that are not valid UTF-8 survive the round trip
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Error messages
  [🧪 test] a diagnostic is the error's own message
    [⚙️ assert] the message's format arguments are applied
    ✅ got: failed: 42
    [⚙️ assert] a message without arguments is returned as is
    ✅ got: boom
    [⚙️ assert] a plain string argument is used when there is no data list
    ✅ got: custom
+----------------------------------------------+
[📑 suite] HMAC-SHA256 (RFC 4231)
  [🧪 test] RFC 4231 test case 1
    [⚙️ assert] a 20-byte key of 0x0b over "Hi There"
    ✅ got: b0344c61d8db38535ca8afceaf0bf12b881dc200c9833da726e9376c2e32cff7
  [🧪 test] RFC 4231 test case 2
    [⚙️ assert] the key "Jefe" over its test message
    ✅ got: 5bdcc146bf60754e6a042426089575c75a003f089d2739839dec58b964ec3843
  [🧪 test] the digest is 32 bytes and key-sensitive
    [⚙️ assert] 64 hexadecimal digits, i.e. 32 bytes
    ✅ got: 64
    [⚙️ assert] changing the key changes the MAC
    ✅ got: #f
+----------------------------------------------+
[📑 suite] Constant-time comparison
  [🧪 test] constant-time-equal?
    [⚙️ assert] equal strings compare equal
    ✅ got: #t
    [⚙️ assert] one differing byte is not equal
    ✅ got: #f
    [⚙️ assert] different lengths are not equal
    ✅ got: #f
    [⚙️ assert] equal bytevectors compare equal
    ✅ got: #t
    [⚙️ assert] a difference in the last byte is still found
    ✅ got: #f
    [⚙️ assert] values that are neither strings nor bytevectors are refused
    ✅ success catching error: misc-error: (#f bewaking: constant-time-equal? compares two strings or two bytevectors. () #f)
+----------------------------------------------+
[📑 suite] PBKDF2-HMAC-SHA256
  [🧪 test] the key and IV material OpenSSL derives
    [⚙️ assert] 48 bytes over 10000 iterations, as `openssl kdf' reports
    ✅ got: cb14e1e1f7ac2fe57f2fcaa462d4ad903867450d9778d2ccf939d8ad3cb99982e0edbd06820c0a636f6fd53d4be339fd
  [🧪 test] published password/salt vectors
    [⚙️ assert] one iteration
    ✅ got: 120fb6cffcf8b32c43e7225256c4f837a86548c92ccc35480805987cb70be17b
    [⚙️ assert] two iterations
    ✅ got: ae4d0c95af6b46d32d0adff928f06dd02a303f8ef3c251dfd6e2d85a95474c43
    [⚙️ assert] 4096 iterations
    ✅ got: c5e478d59288c841aa530db6845c4c8d962893a001ce4e11a4963873aa98134a
+----------------------------------------------+
[📑 suite] Argon2id key derivation (RFC 9106)
  [🧪 test] the RFC 9106 Argon2id vector is reproduced
    [⚙️ assert] password 32x01, salt 16x02, secret 8x03, data 12x04, m=32, t=3, p=4
    ✅ got: 0d640df58d78766c08c037a34a8b53c9d01ef0452d75b65eb52520e96b01e659
  [🧪 test] invalid parameters are rejected
    [⚙️ assert] less than 8 KiB per lane is refused
    ✅ got: #t
    [⚙️ assert] zero passes is refused
    ✅ got: #t
    [⚙️ assert] zero lanes is refused
    ✅ got: #t
    [⚙️ assert] a non-integer memory cost is refused
    ✅ got: #t
    [⚙️ assert] a non-bytevector secret is refused
    ✅ got: #t
    [⚙️ assert] this libgcrypt provides Argon2
    ✅ got: #t
  [🧪 test] every parameter changes the derived bytes
    [⚙️ assert] a different pass count gives a different tag
    ✅ got: #f
    [⚙️ assert] a different salt gives a different tag
    ✅ got: #f
    [⚙️ assert] a different passphrase gives a different tag
    ✅ got: #f
+----------------------------------------------+
[📑 suite] Error handling helper
  [🧪 test] call-with-error-handler
    [⚙️ assert] a successful thunk's value is returned unchanged
    ✅ got: 42
    [⚙️ assert] an ordinary error is handed to the handler as a message
    ✅ got: boom
    [⚙️ assert] a signal is rethrown, so Ctrl-C keeps working
    ✅ got: 2
    [⚙️ assert] a quit is rethrown, so exit codes survive the helper
    ✅ got: rethrown
+----------------------------------------------+
[📑 suite] Authenticated payload hygiene
  [🧪 test] every payload uses a fresh salt and nonce
    [⚙️ assert] sealing the same plaintext twice does not repeat the payload
    ✅ got: #f
    [⚙️ assert] the recorded salts differ, so the derived keys do too
    ✅ got: #f
    [⚙️ assert] the recorded nonces differ as well
    ✅ got: #f
  [🧪 test] the salt and the nonce are used, not decorative
    [⚙️ assert] editing a salt digit breaks the tag
    ✅ got: #t
    [⚙️ assert] editing a nonce digit breaks the tag
    ✅ got: #t
    [⚙️ assert] editing an Argon2id parameter digit is refused
    ✅ got: #t
  [🧪 test] the recorded derivation cost is bounded before it is spent
    [⚙️ assert] a memory cost above the cap is refused, not allocated
    ✅ got: #t
    [⚙️ assert] a lane count above the cap is refused
    ✅ got: #t
    [⚙️ assert] a zero pass count is refused
    ✅ got: #t
    [⚙️ assert] less than 8 KiB per lane is refused
    ✅ got: #t
    [⚙️ assert] a cost inside the bounds is derived, then fails the tag: the bound is not a blanket refusal
    ✅ got: #t
  [🧪 test] the associated data is authenticated but not stored
    [⚙️ assert] the associated data does not appear in the payload
    ✅ got: #f
    [⚙️ assert] one extra associated-data byte breaks the tag
    ✅ got: #t
  [🧪 test] an empty plaintext is still authenticated
    [⚙️ assert] the empty plaintext round-trips
    ✅ got: #t
    [⚙️ assert] even an empty payload carries a salt, a nonce and a tag
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Key derivation salt lengths
  [🧪 test] kdf-salt-length
    [⚙️ assert] the OpenSSL-compatible layout uses an 8-byte salt
    ✅ got: 8
    [⚙️ assert] the Argon2id layout uses a 16-byte salt
    ✅ got: 16
+----------------------------------------------+
[📑 suite] Randomness
  [🧪 test] random-bytes returns genuinely fresh bytes
    [⚙️ assert] the default length is the OpenSSL salt length
    ✅ got: 8
    [⚙️ assert] the requested length is honoured
    ✅ got: 32
    [⚙️ assert] two calls do not return the same bytes
    ✅ got: #t
    [⚙️ assert] a draw is not a constant
    ✅ got: #f
    [⚙️ assert] a draw is not all zeroes
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Base16 encoding
  [🧪 test] decoding accepts both cases
    [⚙️ assert] lowercase hex decodes
    ✅ got: hello
    [⚙️ assert] uppercase hex decodes too
    ✅ got: hello
    [⚙️ assert] encoding then decoding is lossless
    ✅ got: hello
  [🧪 test] malformed input is rejected
    [⚙️ assert] an odd number of digits raises
    ✅ success catching error: misc-error: (#f bewaking: malformed hexadecimal input (odd number of digits). () #f)
    [⚙️ assert] non-hexadecimal characters raise
    ✅ success catching error: misc-error: (#f bewaking: malformed hexadecimal input. () #f)
    [⚙️ assert] embedded whitespace raises
    ✅ success catching error: misc-error: (#f bewaking: malformed hexadecimal input (odd number of digits). () #f)
  [🧪 test] known encodings
    [⚙️ assert] the empty string encodes to nothing
    ✅ got: 
    [⚙️ assert] lowercase hex digits are produced
    ✅ got: 68656c6c6f
    [⚙️ assert] a word encodes byte per byte
    ✅ got: 626577616b696e67
+----------------------------------------------+
[📑 suite] Sealed payloads (key derivation is recorded)
  [🧪 test] sizes and headers are validated
    [⚙️ assert] an 8-byte Argon2id salt is refused
    ✅ got: #t
    [⚙️ assert] a 16-byte PBKDF2 salt is refused
    ✅ got: #t
    [⚙️ assert] a payload with no known header is refused
    ✅ got: #t
  [🧪 test] the default KDF keeps the OpenSSL layout byte for byte
    [⚙️ assert] a fixed-salt PBKDF2 payload equals OpenSSL's own output
    ✅ got: #t
  [🧪 test] an Argon2id payload records its derivation and parameters
    [⚙️ assert] the header names the derivation
    ✅ got: Argon2id
    [⚙️ assert] the memory cost is recorded, in KiB
    ✅ got: 8192
    [⚙️ assert] the pass count is recorded
    ✅ got: 1
    [⚙️ assert] the lane count is recorded
    ✅ got: 1
  [🧪 test] tampering with the recorded parameters is not honoured
    [⚙️ assert] a changed pass count no longer decrypts
    ✅ got: #t
  [🧪 test] an Argon2id payload round-trips and resists the wrong key
    [⚙️ assert] the same key opens it
    ✅ got: #t
    [⚙️ assert] another key does not
    ✅ got: #t
  [🧪 test] both readers keep their contracts
    [⚙️ assert] openssl-decrypt refuses what the OpenSSL CLI could not read
    ✅ got: #t
    [⚙️ assert] kdf-decrypt opens payloads produced by OpenSSL
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Key-derivation specifications
  [🧪 test] unsupported specifications are refused
    [⚙️ assert] an unknown KDF name is refused
    ✅ got: #t
    [⚙️ assert] a string is not a KDF specification
    ✅ got: #t
    [⚙️ assert] a PBKDF2 cost the OpenSSL format cannot record is refused
    ✅ got: #t
    [⚙️ assert] an out-of-range Argon2id memory cost is refused
    ✅ got: #t
  [🧪 test] Argon2id defaults are filled in and reported
    [⚙️ assert] the defaults are 64 MiB, 3 passes, 1 lane
    ✅ got: ((kdf . argon2id) (memory-kib . 65536) (iterations . 3) (parallelism . 1))
    [⚙️ assert] given parameters are kept and the rest defaulted
    ✅ got: ((kdf . argon2id) (memory-kib . 262144) (iterations . 4) (parallelism . 1))
  [🧪 test] the default is PBKDF2 with its fixed cost
    [⚙️ assert] the module default names PBKDF2
    ✅ got: pbkdf2
    [⚙️ assert] its iteration count is the OpenSSL one
    ✅ got: 10000
+----------------------------------------------+
[📑 suite] Authenticated payloads (AES-256-GCM)
  [🧪 test] fresh salt and nonce still round-trip
    [⚙️ assert] a payload sealed with random salt and nonce opens
    ✅ got: #t
    [⚙️ assert] and so does an Argon2id one
    ✅ got: #t
    [⚙️ assert] associated data is optional: empty means none
    ✅ got: #t
    [⚙️ assert] a payload sealed without it does not open with it
    ✅ got: #t
  [🧪 test] the payload is byte for byte the reference implementation's
    [⚙️ assert] PBKDF2-HMAC-SHA256, as Python's cryptography seals it
    ✅ got: 010707070707070707070707070707070709090909090909090909090915d0ed647041883a00a39c1a98153992e43396ca2ef78f30cf603552820a8ed81e320d38a87aee14ad4a7f41b2df7b369d6614500294e59e58
    [⚙️ assert] Argon2id with its parameters recorded, likewise
    ✅ got: 020000200000000001000000010707070707070707070707070707070709090909090909090909090996b424d50c29974261cc56650752a5237f7528271202d70046f0bc49c8c0bfefb86150c0b946a554a1590bec6d5f03409bbff197af7d782651
  [🧪 test] the payload records which derivation to use
    [⚙️ assert] PBKDF2 is identified by its own id
    ✅ got: 1
    [⚙️ assert] Argon2id is identified by a different id
    ✅ got: 2
    [⚙️ assert] the memory cost is recorded, in KiB
    ✅ got: 8192
    [⚙️ assert] the pass count is recorded
    ✅ got: 1
    [⚙️ assert] the lane count is recorded
    ✅ got: 1
  [🧪 test] the tag refuses every alteration
    [⚙️ assert] a flipped ciphertext digit is refused
    ✅ got: #t
    [⚙️ assert] a flipped tag digit is refused
    ✅ got: #t
    [⚙️ assert] an unknown key-derivation id is refused, not guessed at
    ✅ got: #t
    [⚙️ assert] different associated data is refused
    ✅ got: #t
    [⚙️ assert] the wrong key is refused
    ✅ got: #t
    [⚙️ assert] a truncated payload is refused
    ✅ got: #t
  [🧪 test] hexadecimal that stands for bytes decodes to bytes
    [⚙️ assert] base16->bytes returns a bytevector
    ✅ got: #t
    [⚙️ assert] and keeps the raw octets, which base16-decode cannot
    ✅ got: 255
+----------------------------------------------+
[📑 suite] OpenSSL-compatible sealing
  [🧪 test] data produced by OpenSSL itself can be opened
    [⚙️ assert] an openssl-encrypted string, random salt and all
    ✅ got: a secret that openssl sealed
  [🧪 test] round-trips
    [⚙️ assert] the empty string round-trips
    ✅ got: 
    [⚙️ assert] a longer payload round-trips
    ✅ got: a secret that openssl sealed
    [⚙️ assert] one padded block follows the 16-byte Salted__ header
    ✅ got: 32
  [🧪 test] a fixed-salt vector matches OpenSSL byte for byte
    [⚙️ assert] the ciphertext of a known salt and key
    ✅ got: U2FsdGVkX18AAQIDBAUGByAGpafcjamTQUX3eOyvQUE=
    [⚙️ assert] and it decrypts back
    ✅ got: bewaking
  [🧪 test] the salt must be 8 bytes
    [⚙️ assert] a short salt raises
    ✅ success catching error: misc-error: (#f bewaking: a PBKDF2 salt must be 8 bytes long. () #f)
  [🧪 test] failures are reported rather than ignored
    [⚙️ assert] the wrong key raises
    ✅ got: #t
    [⚙️ assert] the wrong key raises for OpenSSL-produced data too
    ✅ got: #t
    [⚙️ assert] input that is not Base64 raises
    ✅ got: #t
    [⚙️ assert] Base64 without a Salted__ header raises
    ✅ got: #t
    [⚙️ assert] a truncated body raises rather than returning garbage
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Format constants
  [🧪 test] layout lengths and Argon2id defaults
    [⚙️ assert] the GCM outer layer uses a 16-byte salt
    ✅ got: 16
    [⚙️ assert] the GCM nonce is 12 bytes
    ✅ got: 12
    [⚙️ assert] PBKDF2 keeps the OpenSSL 8-byte salt
    ✅ got: 8
    [⚙️ assert] the default Argon2id spec names its derivation
    ✅ got: argon2id
    [⚙️ assert] the default memory cost is recorded
    ✅ got: 65536
    [⚙️ assert] the default pass count is recorded
    ✅ got: 3
    [⚙️ assert] the default lane count is recorded
    ✅ got: 1
    ✅ got: 65536
    ✅ got: 3
    ✅ got: 1
    [⚙️ assert] argon2id-available? always answers, never raises
    ✅ got: #t
ℹ️ info - ran 18 tasks in: 0 seconds, 311459 microseconds
ℹ️ info - counted 1 file, 18 suites, 49 tests and 147 assertions

running unit tests from file: web-spec.scm, entrypoint: spec


ℹ️ info - shuffled with seed 454474644 (replay with VERITAS_SEED=454474644)
+----------------------------------------------+
[📑 suite] Web chapter: keys, rotation and revocation
  [🧪 test] keys stay secret and distinct, which is the whole requirement
    [⚙️ assert] the encryption key does not appear in the token
    ✅ got: #f
    [⚙️ assert] nor does the signing key
    ✅ got: #f
    [⚙️ assert] swapping the two keys does not open the session
    ✅ got: #f
  [🧪 test] rotation needs no downtime and no forced logout
    [⚙️ assert] the key id is embedded in the envelope
    ✅ got: #t
    [⚙️ assert] new logins are sealed with the current key
    ✅ got: #t
    [⚙️ assert] an old token still opens: nothing to migrate
    ✅ got: #t
    [⚙️ assert] and so does a new one
    ✅ got: #t
  [🧪 test] retiring a key logs every session sealed with it out at once
    [⚙️ assert] the retired key id stops opening sessions
    ✅ got: #f
    [⚙️ assert] the current key keeps working
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Web chapter: protecting a route
  [🧪 test] a permission that was never granted is refused on the server
    [⚙️ assert] the browser route refuses a route the user may not use
    ✅ got: 302
    [⚙️ assert] the API route answers 401 rather than 403-by-omission
    ✅ got: 401
    [⚙️ assert] the helper returns #f, not a partially authorized payload
    ✅ got: #f
    [⚙️ assert] the permission the user does have is enough
    ✅ got: #t
    [⚙️ assert] a route needing nothing is open to a valid session
    ✅ got: #t
  [🧪 test] the same session works as an API bearer token
    [⚙️ assert] the API route admits the header token
    ✅ got: 200
    [⚙️ assert] the token identifies the caller without a database round-trip
    ✅ got: u-1
    [⚙️ assert] the granted permissions are what the token says
    ✅ got: (read-only access-files)
  [🧪 test] the payload is the identity, not the request
    [⚙️ assert] the owner id comes from the sealed payload
    ✅ got: u-1
    [⚙️ assert] a client-supplied user id is a hint, never the identity
    ✅ got: #f
  [🧪 test] every failure mode is a refusal, never an admission
    [⚙️ assert] a request with no cookie is redirected to /login
    ✅ got: 302
    [⚙️ assert] an empty cookie is refused
    ✅ got: 302
    [⚙️ assert] a tampered cookie is refused
    ✅ got: 302
    [⚙️ assert] a cookie that is not a real envelope is refused
    ✅ got: 302
    [⚙️ assert] arbitrary text is refused
    ✅ got: 302
    [⚙️ assert] a second user's genuine session is admitted, as that user
    ✅ got: 200
    [⚙️ assert] and it admits the *second* user, not the first
    ✅ got: u-2
    [⚙️ assert] a keyring that cannot resolve the key id is refused
    ✅ got: 302
  [🧪 test] the signed-in user is admitted
    [⚙️ assert] the browser route runs the handler
    ✅ got: 200
    [⚙️ assert] the handler sees the owner id from the payload
    ✅ got: u-1
    [⚙️ assert] the thunk's 'email' came back as 'owner-email'
    ✅ got: joe@example.com
    [⚙️ assert] and 'name' came back as 'owner-name'
    ✅ got: Joe
    [⚙️ assert] permissions travel inside the token
    ✅ got: (read-only access-files)
    [⚙️ assert] the payload carries its own token id
    ✅ got: #t
    [⚙️ assert] and its own payload expiry
    ✅ got: #t
  [🧪 test] an expired session is refused, and sign-out clears the cookie
    [⚙️ assert] a token whose payload lifetime has passed is refused
    ✅ got: 302
    [⚙️ assert] and the helper returns #f for it
    ✅ got: #f
    [⚙️ assert] sign-out redirects to the login page
    ✅ got: 302
    [⚙️ assert] sign-out deletes the cookie, the only cleanup there is
    ✅ got: 
    [⚙️ assert] the deletion cookie expires immediately
    ✅ got: 0
+----------------------------------------------+
[📑 suite] Web chapter: sealed objects as stateless state
  [🧪 test] an expired link is refused by the server, not by the client
    [⚙️ assert] before the expiry the link opens
    ✅ got: ((user . u-1) (action . reset-password))
    [⚙️ assert] after the expiry the server refuses it
    ✅ got: #f
    [⚙️ assert] and the header says so, for the log
    ✅ got: #t
  [🧪 test] an edited link is worth nothing
    [⚙️ assert] the link was edited in the mail client
    ✅ got: #f
    [⚙️ assert] and garbage is not a link either
    ✅ got: #f
  [🧪 test] the link answers only to the key that sealed it
    [⚙️ assert] a link sealed elsewhere does not open here
    ✅ got: #f
  [🧪 test] a cursor or half-finished form can be sealed the same way
    [⚙️ assert] a sealed cursor round-trips
    ✅ got: page-3
    [⚙️ assert] a client cannot page anywhere it was not sent
    ✅ got: #t
  [🧪 test] a password-reset link round-trips with no table row
    [⚙️ assert] the link is a sealed envelope
    ✅ got: #t
    [⚙️ assert] the state comes back as an ordinary alist
    ✅ got: ((user . u-1) (action . reset-password))
    [⚙️ assert] the user id is not readable in the link
    ✅ got: #f
    [⚙️ assert] the hour-long lifetime is recorded in the header
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Web chapter: auditing what is safe to log
  [🧪 test] an expiry is reported as a time, and its absence as nothing
    [⚙️ assert] the audit reports no envelope expiry by default
    ✅ got: #f
    [⚙️ assert] a token sealed with a TTL records its expiry
    ✅ got: #t
    [⚙️ assert] and the audit helper agrees it is live
    ✅ got: #f
  [🧪 test] the envelope header is readable with no keys at all
    [⚙️ assert] the version is reported for the log
    ✅ got: BWK3
    [⚙️ assert] the key id is reported, which is what rotation is keyed on
    ✅ got: default
    [⚙️ assert] the creation time is reported
    ✅ got: #t
    [⚙️ assert] a fresh session is not expired
    ✅ got: #f
    [⚙️ assert] the audit output carries no key material
    ✅ got: #f
    [⚙️ assert] not the encryption key and not the signing key either
    ✅ got: #f
  [🧪 test] auditing garbage is #f, not an exception
    [⚙️ assert] an unparseable cookie yields no metadata
    ✅ got: #f
    [⚙️ assert] a missing cookie yields no metadata
    ✅ got: #f
    [⚙️ assert] a malformed BWK3 value yields no metadata
    ✅ got: #f
+----------------------------------------------+
[📑 suite] Web chapter: sign-in seals a session into a cookie
  [🧪 test] a verified user gets a sealed session cookie
    [⚙️ assert] sign-in redirects, as the README's controller does
    ✅ got: 302
    [⚙️ assert] the redirect target is the dashboard
    ✅ got: /dashboard
    [⚙️ assert] the cookie value is a BWK3 envelope
    ✅ got: #t
    [⚙️ assert] the cookie is named as documented
    ✅ got: x-bewaking-session
    [⚙️ assert] (a) HttpOnly puts the cookie out of reach of JavaScript
    ✅ got: #t
    [⚙️ assert] (b) Secure keeps it off plain HTTP
    ✅ got: #t
    [⚙️ assert] (c) path "/" applies the cookie to the whole site
    ✅ got: /
    [⚙️ assert] (d) the cookie's lifetime matches #:token-validity-seconds
    ✅ got: 604800
  [🧪 test] the cookie lifetime can be aligned with the token's
    [⚙️ assert] the requested lifetime is recorded in the cookie
    ✅ got: 86400
    [⚙️ assert] the envelope is sealed now
    ✅ got: #t
    [⚙️ assert] the payload lifetime is separate from the cookie's
    ✅ got: #f
  [🧪 test] bad credentials get no cookie at all
    [⚙️ assert] a wrong password is a plain 401
    ✅ got: 401
    [⚙️ assert] no session is created for a failed sign-in
    ✅ got: #f
    [⚙️ assert] the failure is reported, not swallowed
    ✅ got: invalid credentials
ℹ️ info - ran 5 tasks in: 1 seconds, -524536 microseconds
ℹ️ info - counted 1 file, 5 suites, 20 tests and 77 assertions

running unit tests from file: bewaking-spec.scm, entrypoint: spec


ℹ️ info - shuffled with seed 454474644 (replay with VERITAS_SEED=454474644)
+----------------------------------------------+
[📑 suite] Decryption
  [🧪 test] decrypt-token
    [⚙️ assert] fails gracefully when signing key is not valid
    ✅ got: #f
    [⚙️ assert] fails gracefully when token is not valid
    ✅ got: #f
    [⚙️ assert] works properly with valid token
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Garbling and Ungarbling
  [🧪 test] garble-ungarble
    ✅ got: dlrow
    ✅ got: lrow
    ✅ got: row
    ✅ got: ow
    ✅ got: w
    ✅ got: dlrow olleh
    ✅ got: hello world
    ✅ got: 5ui5vkdxsxv8tasa2so2whecx7kkn6fr758le0mhyc91ppytfmyygnmk7ka9wleoa4gi2p4n59i8xybbv01bc45fzxsyw9dcltimyiia4a6827k9ephdlk4lhh2iv0ae
+----------------------------------------------+
[📑 suite] Permissions
  [🧪 test] has-needed-permissions?
    ✅ got: #f
    ✅ got: #t
    ✅ got: #f
    ✅ got: #t
    ✅ got: #t
    ✅ got: #t
    ✅ got: #f
    ✅ got: #f
+----------------------------------------------+
[📑 suite] Deterministic sealing and diagnostics
  [🧪 test] a fixed clock and random source make sealing reproducible
    [⚙️ assert] two envelopes sealed the same way are identical
    ✅ got: BWK3.default.1800000000.-.01000000000000000000000000000000000000000000000000000000009da1750a6251b3b6c6b6ba54dbac33b0125ee5be5eb41ba79b5ffade9baf14f12d6a300e0976b3ed8fafb1c425514c2c5a76d0bea37f42cf3c826054
    [⚙️ assert] two tokens generated the same way are identical
    ✅ got: BWK3.default.1800000000.-.01000000000000000000000000000000000000000000000000000000009d8f043c7c6f8e8ae2b1837fbcbf03ce3c44d9bf22a7059e992bd2a9b9b805f91d2046061577adbb9bdcdae0799c99928222bf8b58c4f0d1d649cd180ac6161d169d7fd3784605f7fa5aa62f3fa03df80b6883c6fe8536d72d645111c902842637d281224b99702789b051d292b5f60989572576c0700007b9331fd6087f08731644a0252a70b785c94271b8c1def0178d24f612cfa21b54fe644d4d9f6d23c3959162eb2a0df9fc6daf110e677b7a1a219804488fbb5afb1f3707b63ed09c36d485c3b93bea585d4495ebf6c97b6a4276f4365145aadf305c67fe3b107abbbe756be6859ac321bb55cb4441063f2a1e2ee92dbec7cf943cf49d55a2f376bec33028a94a129765ce6aace2254fdb2d65382757c938bfe81bcba8cdaf4589ae4da4241c7db2cdd4d81ae139e7eaee4a273a28cc03f2251616c90e90cff7426bc3c62d042a21b45225d094a73c1da8c857c40373832cda1416244f7527fa8635fa36ea1eadd86c490db1c2731a738baf676fdead89cbeb3eff85d32fdd840dac65f9c82df6ddf035da266d2f0b1106da6cb05b8dcb2cfef6b1ca1334650e2ecef032a00dc3dd9ee419641260132af7d0f627adc1df35a174cff2d803a746f18622bf5e7a5ab68902346982d7489907c1a918402da33fb92bea0b53ed6575b813d280ab59e508d71c4d6481113ed807fdd7b9832be8d8e794068aa8dc9c
    [⚙️ assert] the envelope header records the supplied clock
    ✅ got: 1800000000
    [⚙️ assert] the supplied token id is the one read back
    ✅ got: 123e4567-e89b-12d3-a456-426655440000
    [⚙️ assert] the supplied clock is the payload's creation time
    ✅ got: 1800000000
  [🧪 test] a failure is reported on standard error
    [⚙️ assert] a failing decrypt-token prints nothing on standard output
    ✅ got: 
    [⚙️ assert] its diagnosis is written to standard error
    ✅ got: #t
  [🧪 test] an explicit clock drives the age policy
    [⚙️ assert] max-age-seconds is measured against the given clock
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Lossless Token Decryption
  [🧪 test] lossless-token
owner-details: ((id . "444959d3-7a8e-455e-b608-31e35145a2fa") (email . "someone@jointhefreeworld.org") (name . "Legolas son of Thandruil") (permissions byggsteg:modify-permissions byggsteg:job-create byggsteg:job-delete byggsteg:profile-create byggsteg:profile-delete byggsteg:user-create byggsteg:user-delete))

generate-token: BWK3.default.1795634692.-.01610b4b85c7dee02b8718acfb1eaf265daf91bf6b572435cdfab646188b426f3f1f9e24072aecc2a91ca1ea70f54d9ce2ee11548049f2c8034ea3f129e0dc246f052b585a9706662d8ca07c7ad8744845cbc260a37641e6c75a5b63a25bb1c9d277e2c124136003c48e5ef858d2e776abccf599a425e102b7487e5763b4c5d5f359836452b2430084c4b2087feecd7f41516077b734f473ecc2130396e24997cb40347b53cd0469410059978b91154f8bd96872966ce170e8effadc812184fe0077cde4807c5cda463786450295dced98f199f9e0d9b9d94c57cb15b752d24e074d2682ce9ad8152aa6c2c7596275f54d75993e58b6ffffb858aa3fe0812f9f9430d986d067df6d641cdaf09343bb5bfb445f2395b982d88f83795a70232a5a374183cd5198ed03ca6d2b7843df8377eecf98f861a469cad7ef404b73b7db4e1205528d8d79f53433435d2cec3b728dbb96b8bda853ff2a7ebd04909c47c25a159832be1079071f1730796edfa32c69283c41940b39ecdad91e447e0acd2c655bfb4490d4800d8d313ed69593df6290f33b2d5d6d9185f2e98bd0c0fdce1c8f38d0e0fce8c323dd5bb9f753a419e1dd2968e090f7fd7d5d1666d56a30112fd18c81ea0b5b9d5d084288c9ff2135f2b11b7fb7867896cdc7302e74f17985751cbab28371775ffbcc43c5057a2ca319b88ca43f9e1f7d5d5b995906cc0f312d3d4027e59ffcd5c30d8007a529b9abbd2801098c6d8d53beee7696fa7bfe69012ee2d9df0ba022caf4d11e8750fcb479a3739f7ddcd6b582b09337a1429035fbf34adf47403bed98db50eabce05a8b3b018117fda74e22cb868263814aed0575c0cf0d23f478fc05feee0ccb642737045a97f66aa069f5325957b819579afb800ecd92ac63e37592b9c2fb52f04405293fbfa1353a6ed62a4f8194bc343eb36989cd7d442f41809244b25d886b8f29e1185ea9289ce14ebe1c4446dae290cbf7ba2a20b1a55edccb357c1cfe340acc2f2ec9624568ffff22640fea6312c5854c848af73b6fa26556cbc5b5af1c5cc90eecceb546dc4462e6d759e16476de03a4a6ed34474273811f8966da673b61364f12378cf33bc82af8cf07287abc368fcbd9352920910f4745be6d91e72e871834181af9f24742b98ecc56120dac15a1c1450ecb251bdd4b0e14b90881c58eef32fbd1a72ec20a99ef4ba7351ad89e5a768ab4e0ee1f108f1622df1eab1ff8040b14b3a319e839c8c9fa1d3eaca84f484c2c60416c1bbfaecce1fb49744bdd29957ffc5dddd9ca72804b80

decoded: ((token-type . bewaking-token) (token-id . 5db962f2-f756-471a-b36e-38cef0c7455c) (token-created-at . 1795634692) (token-expires-at . 1796239492) (owner-id . 444959d3-7a8e-455e-b608-31e35145a2fa) (owner-email . someone@jointhefreeworld.org) (owner-name . Legolas son of Thandruil) (owner-permissions byggsteg:modify-permissions byggsteg:job-create byggsteg:job-delete byggsteg:profile-create byggsteg:profile-delete byggsteg:user-create byggsteg:user-delete))

    [⚙️ assert] works properly with correct details
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Payload primitives
  [🧪 test] encrypt-payload and decrypt-payload
    [⚙️ assert] a payload round-trips under the same key
    ✅ got: mysecretdata
    [⚙️ assert] a supplied salt makes the output reproducible
    ✅ got: U2FsdGVkX18BAQEBAQEBAbwE/xss9SSpZh5gLj72hSU=
    [⚙️ assert] a different key does not open the payload
    ✅ got: #t
  [🧪 test] token-payload-valid?
    [⚙️ assert] a decrypted token payload is valid
    ✅ got: #t
    [⚙️ assert] a missing token type is invalid
    ✅ got: #f
    [⚙️ assert] an empty payload is invalid
    ✅ got: #f
  [🧪 test] unsafe-generate-token
    [⚙️ assert] incomplete owner details raise instead of returning #f
    ✅ success catching error: misc-error: (#f Could not generate token from given payload! () #f)
    [⚙️ assert] valid details produce a token string
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Envelope metadata (key id, created-at, expiry)
  [🧪 test] the metadata is authenticated
    [⚙️ assert] editing created-at in a BWK3 envelope breaks its tag
    ✅ got: #t
    [⚙️ assert] editing the key id breaks the tag
    ✅ got: #t
    [⚙️ assert] extending the expiry in the envelope breaks the tag
    ✅ got: #t
    [⚙️ assert] removing the expiry marker breaks the tag
    ✅ got: #t
    [⚙️ assert] relabelling the version is refused
    ✅ got: #t
    [⚙️ assert] backdating created-at breaks the tag
    ✅ got: #t
    [⚙️ assert] editing the body breaks the tag
    ✅ got: #t
  [🧪 test] a malformed envelope is rejected
    [⚙️ assert] a missing body is refused
    ✅ got: #t
    [⚙️ assert] a non-numeric created-at is refused
    ✅ got: #t
    [⚙️ assert] a body that is not hexadecimal is refused
    ✅ got: #t
    [⚙️ assert] a truncated body is refused
    ✅ got: #t
    [⚙️ assert] sealing a non-string plaintext is refused
    ✅ got: #t
    [⚙️ assert] sealing without a signing key is refused
    ✅ got: #t
    [⚙️ assert] an empty key id is refused
    ✅ got: #t
  [🧪 test] ttl-seconds records an absolute expiry
    [⚙️ assert] created-at is the requested timestamp
    ✅ got: 1000
    [⚙️ assert] expires-at is created-at plus the ttl
    ✅ got: 4600
    [⚙️ assert] the envelope is live before its expiry
    ✅ got: #f
    [⚙️ assert] the envelope is expired after its expiry
    ✅ got: #t
  [🧪 test] expired tokens and objects are refused
    [⚙️ assert] a token sealed with a past expiry is refused
    ✅ got: #t
    [⚙️ assert] an object sealed with a past expiry is refused
    ✅ got: #t
    [⚙️ assert] expiry auditing ignores non-envelopes
    ✅ got: #f
  [🧪 test] metadata is reported without any key
    [⚙️ assert] created-at is a Unix timestamp
    ✅ got: #t
    [⚙️ assert] the key id is reported
    ✅ got: default
    [⚙️ assert] there is no expiry unless one was requested
    ✅ got: #f
    [⚙️ assert] the format version is reported
    ✅ got: BWK3
    [⚙️ assert] metadata is only read from envelopes
    ✅ got: #f
    [⚙️ assert] an envelope of a dropped format reports no metadata
    ✅ got: #f
    [⚙️ assert] a malformed BWK3 envelope reports no metadata
    ✅ got: #f
  [🧪 test] expiry is enforced when opening
    [⚙️ assert] an expired envelope is refused
    ✅ got: #t
    [⚙️ assert] enforce-expiry? #f still opens it
    ✅ got: ttl payload
    [⚙️ assert] max-age-seconds enforces a rotation policy
    ✅ got: #t
  [🧪 test] keyring validity windows enforce rotation
    [⚙️ assert] a key inside its window seals and opens
    ✅ got: #t
    [⚙️ assert] a key past not-after cannot open data
    ✅ got: #t
    [⚙️ assert] a key before not-before cannot seal data
    ✅ got: #t
    [⚙️ assert] no keyring is needed to read metadata
    ✅ got: #t
  [🧪 test] invalid sealing options are rejected
    [⚙️ assert] expires-at and ttl-seconds are mutually exclusive
    ✅ got: #t
    [⚙️ assert] a non-integer ttl-seconds is rejected
    ✅ got: #t
    [⚙️ assert] a key id containing a dot is rejected
    ✅ got: #t
+----------------------------------------------+
[📑 suite] Token expiry
  [🧪 test] is-token-expired?
    [⚙️ assert] a token whose expiry is in the past is expired
    ✅ got: #t
    [⚙️ assert] a token whose expiry is in the future is not expired
    ✅ got: #f
    [⚙️ assert] a far-future token is not expired
    ✅ got: #f
    [⚙️ assert] a missing token-expires-at raises an error
    ✅ success catching error: misc-error: (#f is-token-expired?: Token is invalid. Missing or malformed 'token-expires-at' () #f)
    [⚙️ assert] a malformed token-expires-at raises an error
    ✅ success catching error: misc-error: (#f is-token-expired?: Token is invalid. Missing or malformed 'token-expires-at' () #f)
+----------------------------------------------+
[📑 suite] Generic object encryption
  [🧪 test] encrypt-object and decrypt-object
    [⚙️ assert] sealing produces a non-empty string
    ✅ got: #t
    [⚙️ assert] round-trips an arbitrary alist payload
    ✅ got: ((user . joe) (age . 42) (roles admin editor) (tags a b) (nested (x . 1) (y . 2)))
    [⚙️ assert] fails gracefully with a wrong signing key
    ✅ got: #f
    [⚙️ assert] round-trips a plain string payload
    ✅ got: just a string
    [⚙️ assert] round-trips a number payload
    ✅ got: 1234
    [⚙️ assert] round-trips a list payload
    ✅ got: (1 2 3)
  [🧪 test] decrypted data is data, never code
    [⚙️ assert] Guile refuses the #. read-eval syntax
    ✅ got: #t
    [⚙️ assert] a sealed payload that looks like code stays a string
    ✅ got: #.(+ 1 2)
+----------------------------------------------+
[📑 suite] Token validity helpers
  [🧪 test] token-remaining-seconds and token-valid?
    [⚙️ assert] remaining seconds is positive for a live token
    ✅ got: #t
    [⚙️ assert] remaining seconds is negative for an expired token
    ✅ got: #t
    [⚙️ assert] a missing expiry raises an error
    ✅ success catching error: misc-error: (#f token-remaining-seconds: Token is invalid. Missing or malformed 'token-expires-at' () #f)
    [⚙️ assert] a freshly generated token is valid
    ✅ got: #t
    [⚙️ assert] a freshly generated token is not expired
    ✅ got: #f
+----------------------------------------------+
[📑 suite] Sealed envelope (versioned, authenticated)
  [🧪 test] the requested key id is embedded in generated tokens
    [⚙️ assert] the token carries the key id
    ✅ got: #t
  [🧪 test] data that is not a BWK3 envelope is refused
    [⚙️ assert] arbitrary text is not an envelope
    ✅ got: #f
    [⚙️ assert] an unknown envelope version is not recognised
    ✅ got: #f
    [⚙️ assert] a truncated envelope is refused when it is opened
    ✅ got: #t
    [⚙️ assert] recognition is a version-tag check, not a structure check
    ✅ got: #t
    [⚙️ assert] a BWK3 envelope carrying an extra MAC field is refused
    ✅ got: #t
    [⚙️ assert] an unsupported version raises rather than being guessed at
    ✅ got: #t
    [⚙️ assert] a pre-versioning bare Base16 token is refused
    ✅ got: #f
    [⚙️ assert] a bare Base16 object is refused
    ✅ got: #f
  [🧪 test] seal-envelope and open-envelope
    [⚙️ assert] the result is a versioned envelope
    ✅ got: #t
    [⚙️ assert] the envelope starts with the version tag
    ✅ got: #t
    [⚙️ assert] the module exposes the current format version
    ✅ got: BWK3
    [⚙️ assert] BWK3 is the only version produced and read
    ✅ got: (BWK3)
    [⚙️ assert] the plaintext round-trips
    ✅ got: top secret payload
    [⚙️ assert] a tampered envelope fails the integrity check
    ✅ got: #t
    [⚙️ assert] a wrong signing key fails the cipher check
    ✅ got: #t
    [⚙️ assert] passing a MAC key to open-envelope is refused, not ignored
    ✅ got: #t
  [🧪 test] tokens and objects are envelopes and reject tampering
    [⚙️ assert] generated tokens are enveloped
    ✅ got: #t
    [⚙️ assert] sealed objects are enveloped
    ✅ got: #t
    [⚙️ assert] a tampered token is rejected
    ✅ got: #t
    [⚙️ assert] a tampered object is rejected
    ✅ got: #t
  [🧪 test] editing a genuine envelope never yields a plaintext
    [⚙️ assert] every single-digit mutation of a real envelope is refused
    ✅ got: #t
    [⚙️ assert] and every mutation of a real sealed object too
    ✅ got: #t
  [🧪 test] the same plaintext never seals to the same value
    [⚙️ assert] a fresh salt and nonce make each envelope unique
    ✅ got: #t
    [⚙️ assert] equal objects seal to different strings
    ✅ got: #f
  [🧪 test] key rotation with a keyring
    [⚙️ assert] a keyring seals and opens by key id
    ✅ got: #t
  [🧪 test] a refusal never says which key id the keyring configures
    [⚙️ assert] the refusal is a refusal, not an accidental success
    ✅ got: #t
    [⚙️ assert] an unknown key id and a tampered body fail identically
    ✅ got: (misc-error #f ~A (bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.) #f)
    [⚙️ assert] a keyring with no matching entry fails identically
    ✅ got: (misc-error #f ~A (bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.) #f)
    [⚙️ assert] a retired key fails identically
    ✅ got: (misc-error #f ~A (bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.) #f)
    [⚙️ assert] a key that is not active yet fails identically
    ✅ got: (misc-error #f ~A (bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.) #f)
    [⚙️ assert] the refusal does not name the key id it could not resolve
    ✅ got: #f
    [⚙️ assert] and it does not name a configured key id either
    ✅ got: #f
    [⚙️ assert] nor does it carry any key material
    ✅ got: #f
    [⚙️ assert] an expired genuine envelope is still told apart, since it authenticated first
    ✅ got: #f
  [🧪 test] knowing the format is not knowing the plaintext
    [⚙️ assert] the plaintext, its Base16 and its Base64 do not appear in the envelope
    ✅ got: #t
    [⚙️ assert] the format is not hidden, only the content is
    ✅ got: #t
    [⚙️ assert] the public metadata is exactly what is authenticated
    ✅ got: (version key-id created-at expires-at)
  [🧪 test] no reader is left for the earlier formats
    [⚙️ assert] a BWK1 envelope is not recognised
    ✅ got: #f
    [⚙️ assert] a BWK2 envelope is not recognised
    ✅ got: #f
    [⚙️ assert] a BWK2 envelope with no expiry is not recognised
    ✅ got: #f
    [⚙️ assert] no metadata is read out of a BWK1 envelope
    ✅ got: #f
    [⚙️ assert] no metadata is read out of a BWK2 envelope
    ✅ got: #f
    [⚙️ assert] an unreadable envelope is never reported as live
    ✅ got: #f
    [⚙️ assert] a BWK2 token is refused even with the keys that sealed it
    ✅ got: #f
    [⚙️ assert] a BWK1 object is refused likewise
    ✅ got: #f
+----------------------------------------------+
[📑 suite] generate-token
  [🧪 test] works properly with correct details
owner-details: ((id . "444959d3-7a8e-455e-b608-31e35145a2fa") (email . "someone@jointhefreeworld.org") (name . "Legolas son of Thandruil") (permissions byggsteg:modify-permissions byggsteg:job-create byggsteg:job-delete byggsteg:profile-create byggsteg:profile-delete byggsteg:user-create byggsteg:user-delete))

generate-token: BWK3.default.1795634693.-.014118ea02316f37084ec8885cb577f4697370adf034bada3b2f74ba5aa9ada25c949ac47da5b2e2e74a48ce6872b5f67f131b393f02c1915b510760d6cc0934cc7e3b49e02cc3ec87265eaf3cf903dd9c05699c1ff9b0762b42836d865b1d933fd2b3ddabc82ff78a8ad793b996717d35d91e709da170f0dc871403e50927ce25caca0ca945c89f677399b2faa0f6c5e8dadebf5125b6521ded7be8fa59df4758eeb476b1a99485c66f331748efbc1296961b6209386464d5d7806c416c7f7cf6498b3e119670a3be980cc5e9e6259123c68b7a7b8e450b50387a473805fde453c32437d13af33ebf011d83e8eb6e840b5c03d93a1c4457d327c5270c027224c22bb32ee9cf3a8e35f4a80627252bbddd304be57602ed681b666e91e653eb0bbd46de1d8bf0f3dcd1c8acbbbe8150c95deb6d467b1be77e6e70cfd077e0877e2c78fecb17bfec5a167d0dcb1f35c77957da950a1ea8d22945c54c799ba28cbc5249fd6f388f2cce9c4812e06649faf720e32564eb852ae78cafa626162c6423c4dd04ca0ffaff85f3b6fd5f9174c7f42cff09ff703453a15e8c8b695d5862893064e993fb32be7f1f182409dbaace5fd13875974172fb60ed269a126f144f8a6a8b277d43cc4e2cecb6384e1f1f52d596b2e5f4e2a55df4b007d9fce5e7590bec0ec01e4fbe8e8773bd3df8068db4debc4c75c91b66830ebf3781926b822d591748a26a68c96a8eac91aa8a49ab09c7a5dc2206007e7ebb028c18e1258c0860be59bdde9d2b03e37a4a7d8327a0602334e8c4cd7d8f6a651b626f2ad047817eebe7853fbb0c909f094600e842fa86909572569aaf29d2be3cf9ffcf5d459440d6f7f57b2b4e8ad930d970479a5e4080101219933d2730e458af87ec4287ec092b27c5e781b42d887e9167ba098288c5fe4d9ee15ca25f8ee334fcc2dfbc41eade122cd54626455063ca4c0b64b9ec7fef1b3ed275b666bd2552ea35ff3ee31853d924f7b59de347a8dcb62c360e7f5978cee725a63e3c79e959c8687335024cb72c62f973fbcb2721ff444d46eb680845d6fc7ad3b594ed112864371d02b91d9052c52a63cad77836d574c5b72074c461465b9614ed36978b99e5f60489c82af536bc7cebecd3fcd7162348c889210455c267845b741f8fc8ffd7403b670a7b130031e8a2288e16bc963a91675549a31970046f2a6b21c9155ec5438924a01a4d71a996313bb20b984ecbc9a434e3d4fe1c7017b70ff1255e4b91966e191ce392d9daa963b9fc6af07c0c522603345b3f9f0294b4779694b7

    ✅ got: #t
ℹ️ info - ran 12 tasks in: 1 seconds, 256185 microseconds
ℹ️ info - counted 1 file, 12 suites, 33 tests and 139 assertions
global totals: 5 files, 49 suites, 126 tests and 451 assertions


finished running tests
;;; note: source file ./src/bewaking/password.scm
;;;       newer than compiled /gnu/store/isnxa5fpk0djx4i8gzy0vkx6kznmaaak-profile/lib/guile/3.0/site-ccache/bewaking/password.go
;;; note: source file ./src/bewaking/password.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/bewaking/password.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/bewaking/trunk/src/bewaking/password.scm.go
;;; note: source file ./src/bewaking/crypto.scm
;;;       newer than compiled /gnu/store/isnxa5fpk0djx4i8gzy0vkx6kznmaaak-profile/lib/guile/3.0/site-ccache/bewaking/crypto.go
;;; note: source file ./src/bewaking/crypto.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/bewaking/crypto.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/bewaking/trunk/src/bewaking/crypto.scm.go
;;; note: source file ./src/bewaking/cli.scm
;;;       newer than compiled /gnu/store/isnxa5fpk0djx4i8gzy0vkx6kznmaaak-profile/lib/guile/3.0/site-ccache/bewaking/cli.go
;;; note: source file ./src/bewaking/cli.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/bewaking/cli.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/bewaking/trunk/src/bewaking/cli.scm.go
;;; note: source file ./src/bewaking/bewaking.scm
;;;       newer than compiled /gnu/store/isnxa5fpk0djx4i8gzy0vkx6kznmaaak-profile/lib/guile/3.0/site-ccache/bewaking/bewaking.go
;;; note: source file ./src/bewaking/bewaking.scm
;;;       newer than compiled /run/current-system/profile/lib/guile/3.0/site-ccache/bewaking/bewaking.go
;;; found fresh local cache at /root/.cache/guile/ccache/3.0-LE-8-4.7/etc/byggsteg/job-clone/bewaking/trunk/src/bewaking/bewaking.scm.go
error decrypting token: bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.
error decrypting token: bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.
error decrypting token: bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.
error decrypting token: bewaking: malformed BWK3 envelope (created-at)
error decrypting token: open-envelope: not a bewaking envelope (expected BWK3).
error decrypting token: bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.
error decrypting object: bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.
error decrypting token: bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.
error decrypting token: open-envelope: not a bewaking envelope (expected BWK3).
error decrypting token: open-envelope: the sealed data expired at 1000 (key 'default').
error decrypting object: open-envelope: the sealed data expired at 1000 (key 'default').
error decrypting object: bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.
error decrypting token: open-envelope: not a bewaking envelope (expected BWK3).
error decrypting object: open-envelope: not a bewaking envelope (expected BWK3).
error decrypting object: bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.
error decrypting object: bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.
error decrypting token: open-envelope: not a bewaking envelope (expected BWK3).
error decrypting object: open-envelope: not a bewaking envelope (expected BWK3).
error decrypting token: bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.
error decrypting object: bewaking: the sealed data could not be opened: unknown, retired or wrong key, or the data was altered.
deploysudo maak deploy succeeded49 lines · 0.9s
--------------------------------------------------------------

Maak 1.0.0: the infinitely extensible command runner

Loading tasks from: /etc/byggsteg/job-clone/bewaking/trunk/maak.scm

Executing Maak tasks: deploy


--------------------------------------------------------------

=> Running Maak task: deploy

  Generate documentation for the project and publish to the web directory.

  Execute command:
guix time-machine --channels=channels.scm -- shell -m manifest.scm -- dokgen api --destination doc/api ./src/bewaking

Executing: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- dokgen api --destination doc/api ./src/bewaking
channels.scm:15:7: warning: channel 'jointhefreeworld' is not trusted
API documentation saved to doc/api
mkdir: created directory 'doc/api-dist'

  Execute command:
guix time-machine --channels=channels.scm -- shell -m manifest.scm -- texi2any -v --html --no-split --css-ref=https://jointhefreeworld.org/static/css/jointhefreeworld.css -I doc/api -c 'EXTRA_HEAD=<link rel="stylesheet" href="dokgen.css"><script src="dokgen.js" defer></script>' -o doc/api-dist/index.html ./doc/api/index.texi

Executing: guix time-machine --channels=channels.scm -- shell -m manifest.scm -- texi2any -v --html --no-split --css-ref=https://jointhefreeworld.org/static/css/jointhefreeworld.css -I doc/api -c 'EXTRA_HEAD=<link rel="stylesheet" href="dokgen.css"><script src="dokgen.js" defer></script>' -o doc/api-dist/index.html ./doc/api/index.texi
channels.scm:15:7: warning: channel 'jointhefreeworld' is not trusted
index.texi: warning: must specify a title with a title command or @top

  Execute command:
cp -r -f -v doc/api/dokgen.css doc/api-dist
'doc/api/dokgen.css' -> 'doc/api-dist/dokgen.css'

  Execute command:
cp -r -f -v doc/api/dokgen.js doc/api-dist
'doc/api/dokgen.js' -> 'doc/api-dist/dokgen.js'

  Execute command:
cp -r -f -v doc/api/diagrams doc/api-dist
'doc/api/diagrams' -> 'doc/api-dist/diagrams'
'doc/api/diagrams/bewaking_bewaking-6823b152.mmd' -> 'doc/api-dist/diagrams/bewaking_bewaking-6823b152.mmd'
removed '/srv/http/jointhefreeworld.org/api-docs/bewaking/diagrams/bewaking_bewaking-6823b152.mmd'
removed directory '/srv/http/jointhefreeworld.org/api-docs/bewaking/diagrams'
removed '/srv/http/jointhefreeworld.org/api-docs/bewaking/dokgen.css'
removed '/srv/http/jointhefreeworld.org/api-docs/bewaking/dokgen.js'
removed '/srv/http/jointhefreeworld.org/api-docs/bewaking/index.html'
removed directory '/srv/http/jointhefreeworld.org/api-docs/bewaking'
mkdir: created directory '/srv/http/jointhefreeworld.org/api-docs/bewaking'

Executing: mv -v doc/api-dist/* /srv/http/jointhefreeworld.org/api-docs/bewaking
renamed 'doc/api-dist/diagrams' -> '/srv/http/jointhefreeworld.org/api-docs/bewaking/diagrams'
renamed 'doc/api-dist/dokgen.css' -> '/srv/http/jointhefreeworld.org/api-docs/bewaking/dokgen.css'
renamed 'doc/api-dist/dokgen.js' -> '/srv/http/jointhefreeworld.org/api-docs/bewaking/dokgen.js'
renamed 'doc/api-dist/index.html' -> '/srv/http/jointhefreeworld.org/api-docs/bewaking/index.html'
removed 'doc/api/diagrams/bewaking_bewaking-6823b152.mmd'
removed directory 'doc/api/diagrams'
removed 'doc/api/index.texi'
removed 'doc/api/dokgen.css'
removed 'doc/api/dokgen.js'
removed 'doc/api/dokgen-mermaid.js'
removed directory 'doc/api'
removed directory 'doc/api-dist'
removed directory 'doc'