Architecture: Where should Vitto desktop signing secrets be stored?

Documentation for Sessions

🏗️ Architecture: Where should Vitto desktop signing secrets be stored?

Date: 2026-02-25
Time: 15:37:08 UTC
Session: gspace1-141.4
Agent: backend
Confidence: 95%
Status: ✅ Documented


📋 Decision Context

Question:

Where should Vitto desktop signing secrets be stored?

Task: Vitto desktop signing and deployment guide


🎯 Decision Made

Chosen:

GitHub Secrets (repository-level, Actions only). Never Railway env vars, never .env.local.

Options Considered:

  1. GitHub Secrets (Actions CI/CD)
  2. Railway env vars
  3. .env.local
  4. Doppler/HashiCorp Vault

💭 Reasoning

Code signing certs/keys are CI/CD artifacts, not runtime config. Railway env vars are for backend API services at runtime. .env.local is local dev only. GitHub Secrets are encrypted at rest, scoped per-repo, injected only into Actions runs — exactly the right threat model for build-time signing. Mixing signing secrets into runtime environments creates unnecessary attack surface and confusion about what each system owns.


📁 Files Involved


🔗 Related


Auto-generated by MCP Smart Consolidation