Skip to content

Reset leaves Immich-link passwords in the keychain, and lands link/iCloud users on the server form #73

Description

@kipp-ing

Found: 2026-09-14 as a side note while verifying product fact SRC-12 (the fact itself holds: connection edits are checked before saving, a failed check keeps the old connection, Reset clears server + API key + source library).

1. Orphaned secrets. Reset (Packages/OnboardingKit/Sources/OnboardingKit/OnboardingViewModel.swift:190-199) clears the server address, API key and source library, but saved Immich-link passwords stay in the keychain (SharedLinkSecretStore). They're no longer reachable from the app, so they're dead secrets on the device. Constitution III keeps secrets in the keychain; a reset that forgets their sources should delete them too.

2. Wrong landing screen for some users. Reset routes to the server form (OwnFrame/OwnFrameApp.swift:686-694), not the welcome choice screen. That matches FR-200-24's wording, but a person who set up with an Immich link or an iCloud album is dropped into a server + API key form they never used. Spec 220 made the welcome choice the first screen.

3. (minor) A link-only user who later adds a server gets the album re-select sheet because the stored album id is empty.

Todo

  • Red test: after Reset, no shared-link password remains in the secret store.
  • Decide/spec whether Reset lands on the welcome choice (220) — amend FR-200-24 if so.
  • Look at item 3.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions