I'm writing here as per the GitHub notice.
The zrok2-bootstrap.bash has a parsing issue on line 781:
This parses the output:
╭────────────────┬────────────┬─────────────┬─────────────────┬─────────┬───────────────────────────────────╮
│ FRONTEND TOKEN │ ZID │ PUBLIC NAME │ PERMISSION MODE │ DYNAMIC │ UPDATED AT │
├────────────────┼────────────┼─────────────┼─────────────────┼─────────┼───────────────────────────────────┤
│ token-redact │ d00000000s │ public │ open │ true │ 2026-09-29 11:09:26.927 +0000 UTC │
╰────────────────┴────────────┴─────────────┴─────────────────┴─────────┴───────────────────────────────────╯
but the awk '/public/ {print $1; exit}' matches to a │. So in my frontend.yaml I get: frontend_token: │ instead of frontend_token: token-redact.
This also breaks public sharing.
The correct awk can be either:
FRONTEND_TOKEN=$(echo "$existing" | sed 's/│/ /g' | awk '/public/ {print $1; exit}')
or
FRONTEND_TOKEN=$(echo "$existing" | awk '/public/ {print $2; exit}')