Skip to content

feat(rust): keyring secret store for passwords (#1878) - #1975

Merged
ZhuchkaTriplesix merged 2 commits into
epic/tauri-migrationfrom
issue/1878-keyring-secret-store
Nov 15, 2026
Merged

ZhuchkaTriplesix merged 2 commits into
epic/tauri-migrationfrom
issue/1878-keyring-secret-store

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Summary

  • SecretStore trait + KeyringSecretStore / MemorySecretStore
  • profiles_connect_postgres: write password to OS keyring; on reconnect with password: null, read from keyring
  • profiles_delete: best-effort keyring cleanup
  • Frontend ensureConnected no longer blocks when session cache is empty

Closes #1878

Parent: #1847

Test plan

  • Connect Postgres with password → quit app → reopen → expand SERVERS reconnects without re-entering password
  • Remove connection → secret gone from keyring (best-effort)
  • cargo test --lib (38) incl. memory + live keyring round-trip
  • vue-tsc --noEmit

Wrap keyring-rs (memory backend for tests), persist Postgres passwords
outside ProfileStore, and reload them on reconnect after restart.
@github-actions github-actions Bot added P1 High priority / Core capability security Security related tauri Tauri 2 / apps/tauri migration track rust Rust backend (src-tauri / crates) labels Nov 15, 2026
@github-actions github-actions Bot added this to the Tauri migration milestone Nov 15, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 46c767f into epic/tauri-migration Nov 15, 2026
3 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/1878-keyring-secret-store branch November 15, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P1 High priority / Core capability rust Rust backend (src-tauri / crates) security Security related tauri Tauri 2 / apps/tauri migration track

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant