trackslash
VAULT-145 P2 For an agent

Rebalance the demo vault and screenshot scenes around recovery phrases and keys

0
Sub-issue of VAULT-141 P2 Reposition Vault as a vault for crypto keys and secrets, with 2FA codes as a supporting feature

Description

Part of VAULT-141. The screenshots (VAULT-146) and the website's captures come from the demo vault, so it has to tell the new story first. The private keys depend on VAULT-143.

Today

  • VaultFeed/Demo/DemoVault.swift has 16 visible items:
    • 11 time-based codes: GitHub, Google, Monzo, Cloudflare, Dropbox, Slack, Stripe, Amazon, AWS, Airbnb, Steam;
    • 1 counter-based code: Legacy VPN;
    • 3 notes: Home Wi-Fi, Passport, Office door;
    • 1 encrypted note: "Recovery codes".
  • Hidden behind "blue heron": Proton Mail and Kraken codes, and Journal and Safe notes.
  • No recovery phrases at all, and the doc comment says "codes and notes".
  • Scenes:
    • iOS: feed detail search editor lock app-lock-password backups settings;
    • Mac: feed detail editor lock backups settings (Screenshots/capture.sh).
    • detail and editor open the first item, the GitHub code.

Change

  • Demo items, recovery phrases and keys first:
    • a 24-word BIP39 phrase ("Cold storage") and a 12-word one ("Everyday wallet");
    • a Monero 25-word phrase;
    • one SLIP-39 share ("Shamir share 1 of 3");
    • 1–2 private keys once VAULT-143 lands (an xprv, a WIF);
    • notes such as "Hardware wallet PIN" and "Exchange 2FA backup codes";
    • about 4–5 codes (GitHub, Google, Kraken, Cloudflare) so 2FA still shows.
  • Hidden items: put a phrase behind "blue heron" ("Savings wallet"). A hidden wallet is the strongest duress picture.
  • Demo words:
    • Generate them once for the demo, with valid checksums, and never fund them.
    • Never use a real wallet's words, or a published test vector people may have funded.
    • Say so in a comment.
  • Scenes:
    • detail opens the first phrase, words masked, which is on message ("masked until tapped").
    • Add a scene with the phrase editor's checksum step showing it valid.
    • Keep a code scene (code-detail) for the 2FA screenshot.
    • Do this in both ScreenshotMode and VaultMacScreenshotMode.
    • Update SCENES in capture.sh and the scene tables in Screenshots/README.md.
  • Capture check: make sure G41's hiding doesn't blank the capture:
    • on iOS, simctl screenshots;
    • on the Mac, the app's own ScreenCaptureKit capture with .readOnly sharing in screenshot mode, while Vault is in front.
  • Tests: UI tests and snapshots that assume the first demo item is GitHub need updating.

Done when

Screenshots/capture.sh produces the new scenes on iPhone, iPad and Mac, with phrases first. Tests pass, and make validate passes.

GitHub

0

No branches or pull requests linked.

Comments

1
Bradley

Done in https://github.com/badbundle/vault-app/pull/755.

  • Demo vault: 15 visible items, led by phrases (Cold storage, Everyday wallet, Monero, a Shamir share) and keys (xprv, WIF, a server SSH key made fresh at each launch), then notes and 4 codes. A "Savings wallet" phrase is hidden behind "blue heron".
  • Demo secrets: every one is random, has a valid checksum, is demo-only and was never funded.
  • Scenes: detail is the masked phrase; there's a new phrase-editor ("Valid BIP39") and a new code-detail.
  • capture.sh: its broken x86_64 widget build is fixed.
  • Captures: all 40 iPhone and iPad captures were checked. The Mac capture runs with VAULT-146.
  • Validation: validated with the Mac UI tests skipped, at Bradley's request.