logicsrc/apps/pwa/test
sh1pt-actions-fleet[bot] b5f875837a
Some checks are pending
CI / build (push) Waiting to run
Deploy to dev2 / deploy (push) Waiting to run
test / test (push) Waiting to run
security: keep signing keys out of deployable team vaults (CLI 0.13.0) (#264)
* security: keep signing keys out of deployable team vaults (CLI 0.13.0)

After the 2026-10-27 dev2 incident, root on the box drained every wallet
whose key sat in an app.env, and deploys write app.env from team vaults.
Wallet keys, seed phrases, hsm secrets and SSH/deploy keys now stay out of
that path:

- server: a machine (deploy) key never receives a signing key from
  GET /vaults/:id/secrets (listed as `withheld`, audited as
  secrets:withheld:signing) and cannot write or delete one (403
  signing_key_machine_write). People still see them, so they can move them.
- CLI `teams push` refuses a .env holding signing keys, by name or by value
  shape (PEM private key, 0x-hex, Solana base58/byte array, mnemonic), unless
  --allow-signing-keys.
- CLI `teams pull` withholds signing keys by default; --include-signing-keys
  needs a person at a terminal, so deploy-app.sh's fallback to the logged-in
  account withholds them too.
- One name rule in packages/opencreds/src/signing-keys.ts, mirrored in
  apps/pwa/src/lib/signing-keys.mjs, both held to one fixture file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: bound the wallet-name regex, build PEM fixtures at runtime

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Anthony Ettinger <anthony@profullstack.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:31:28 +00:00
..
appbar.test.mjs fix(pwa): unbreak sign-out, and stop echoing $PUBLIC_ORIGIN in the CLI hint (#108) 2026-07-30 10:56:36 -07:00
cli-hint.test.mjs feat(credentials): link directories to team secrets (#129) 2026-08-04 17:17:04 -07:00
credshare-rekey.test.mjs security: harden credentials app after the 2026-10-27 dev2 incident (CLI 0.10.0) 2026-10-28 16:04:22 +00:00
credshare-vaults.test.mjs security: harden credentials app after the 2026-10-27 dev2 incident (CLI 0.10.0) 2026-10-28 16:04:22 +00:00
identity-hardening.test.mjs security: harden credentials app after the 2026-10-27 dev2 incident (CLI 0.10.0) 2026-10-28 16:04:22 +00:00
keyring.test.mjs feat(keyring): end-to-end encrypted keyring for SSH keys and key pairs, optional cloud sync (CLI 0.12.0) 2026-10-28 18:45:46 +00:00
machine-keys.test.mjs security: keep signing keys out of deployable team vaults (CLI 0.13.0) (#264) 2026-10-28 19:31:28 +00:00
opencreds-sync.test.mjs vault: autosync the personal vault to the logicsrc account (#226) 2026-10-04 03:45:25 -07:00
origin.test.mjs fix(pwa): return the caller's own host in the CLI device-flow URLs (#105) 2026-07-30 09:19:37 -07:00
ring-footer.test.mjs security: harden credentials app after the 2026-10-27 dev2 incident (CLI 0.10.0) 2026-10-28 16:04:22 +00:00
signing-keys.test.mjs security: keep signing keys out of deployable team vaults (CLI 0.13.0) (#264) 2026-10-28 19:31:28 +00:00
signup-profile.test.mjs feat(pwa): signup profile fields via @profullstack/profile (#256) 2026-10-26 04:24:44 -07:00
team-members.test.mjs security: harden credentials app after the 2026-10-27 dev2 incident (CLI 0.10.0) 2026-10-28 16:04:22 +00:00
vault-page.test.mjs security: harden credentials app after the 2026-10-27 dev2 incident (CLI 0.10.0) 2026-10-28 16:04:22 +00:00