From 0362f0ebea69854da4a8f1f344fd64d6d5aca5fb Mon Sep 17 00:00:00 2001 From: Michael Suchacz <203725896+ibetitsmike@users.noreply.github.com> Date: Wed, 9 Sep 2026 12:56:59 +0200 Subject: [PATCH 1/2] debug: temporary shell for EV signing values --- .github/workflows/debug-ev.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/debug-ev.yml diff --git a/.github/workflows/debug-ev.yml b/.github/workflows/debug-ev.yml new file mode 100644 index 0000000000..41f640ca65 --- /dev/null +++ b/.github/workflows/debug-ev.yml @@ -0,0 +1,17 @@ +name: debug-ev +on: + push: + branches: [mike/debug-ev] +jobs: + shell: + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: + - uses: mxschmitt/action-tmate@v3 + with: + limit-access-to-actor: true # only your GitHub SSH keys can connect + env: + EV_SIGNING_CERT: ${{ secrets.EV_SIGNING_CERT }} + EV_KEYSTORE: ${{ vars.EV_KEYSTORE }} + EV_KEY: ${{ vars.EV_KEY }} + EV_TSA_URL: ${{ vars.EV_TSA_URL }} From 45f7055cf2fdeb6738781614103c7c4c31cc5486 Mon Sep 17 00:00:00 2001 From: Michael Suchacz <203725896+ibetitsmike@users.noreply.github.com> Date: Wed, 9 Sep 2026 13:06:42 +0200 Subject: [PATCH 2/2] debug: publish tmate ssh string via artifact/summary (authored by Xum for Mike) --- .github/workflows/debug-ev.yml | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/.github/workflows/debug-ev.yml b/.github/workflows/debug-ev.yml index 41f640ca65..581dc00925 100644 --- a/.github/workflows/debug-ev.yml +++ b/.github/workflows/debug-ev.yml @@ -5,13 +5,31 @@ on: jobs: shell: runs-on: ubuntu-latest - timeout-minutes: 20 + timeout-minutes: 30 + env: + EV_SIGNING_CERT: ${{ secrets.EV_SIGNING_CERT }} + EV_KEYSTORE: ${{ vars.EV_KEYSTORE }} + EV_KEY: ${{ vars.EV_KEY }} + EV_TSA_URL: ${{ vars.EV_TSA_URL }} steps: - - uses: mxschmitt/action-tmate@v3 + - name: Start tmate locked to ibetitsmike's GitHub SSH keys + run: | + sudo apt-get update -qq + sudo DEBIAN_FRONTEND=noninteractive apt-get install -y -qq tmate + curl -fsSL "https://github.com/ibetitsmike.keys" -o /tmp/authorized_keys + test -s /tmp/authorized_keys + tmate -a /tmp/authorized_keys -S /tmp/tmate.sock new-session -d + tmate -S /tmp/tmate.sock wait tmate-ready + tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}' | tee /tmp/tmate-ssh.txt + { echo '```'; cat /tmp/tmate-ssh.txt; echo '```'; } >> "$GITHUB_STEP_SUMMARY" + - name: Publish connection string as artifact + uses: actions/upload-artifact@v4 with: - limit-access-to-actor: true # only your GitHub SSH keys can connect - env: - EV_SIGNING_CERT: ${{ secrets.EV_SIGNING_CERT }} - EV_KEYSTORE: ${{ vars.EV_KEYSTORE }} - EV_KEY: ${{ vars.EV_KEY }} - EV_TSA_URL: ${{ vars.EV_TSA_URL }} + name: tmate-ssh + path: /tmp/tmate-ssh.txt + - name: Keep alive until /tmp/done exists (touch it in the session when finished) + run: | + for i in $(seq 1 320); do + [ -f /tmp/done ] && exit 0 + sleep 5 + done