security(auth): store Google OAuth tokens in the OS credential store
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Domain
- authentication, desktop, security
Research direction
Start by locating the Google OAuth token persistence, refresh, disconnect, and migration entry points; the issue does not name specific files or tests. Research Tauri/Rust-supported cross-platform credential stores, then trace how SQLite settings are read and written. Done means secrets stay out of SQLite and logs, legacy tokens migrate safely, disconnect removes stored credentials, and tests cover missing, expired, refreshed, and disconnected credentials.
Written by the indexing model from the issue text.
Description
Problem
The security audit found Google access and refresh tokens stored in plaintext in SQLite app_settings.
Goal
Use the operating system's secure credential/keychain facility instead of plaintext SQLite storage.
Requirements
- Identify a suitable cross-platform OS credential store supported by Tauri/Rust.
- Store Google access and refresh tokens in the credential store.
- Keep only non-secret account metadata in SQLite.
- Support token refresh using the secure store.
- Handle missing/deleted credentials gracefully.
- Migrate existing plaintext tokens safely.
- Avoid logging tokens during migration or normal operation.
- Remove plaintext token storage after successful migration.
Acceptance criteria
- New Google credentials are never persisted as plaintext SQLite values.
- Existing installations have a safe migration path.
- Disconnect removes the credential from the OS store.
- Tests cover missing, expired, refreshed, and disconnected credentials.
- Dominant language
- Rust
- Stars
- 3
- Forks
- 6
- Avg merge
- 5h 37m
- Merged PRs (30d)
- 12
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from abdulwalidal/secure-backup
-
feat(ui): cleaner "save your password" card on the Back up screenPossibly taken @abdulwalidal claimed this today. Openfrontend ui/ux
abdulwalidal/secure-backup#142 ·
Maintainers usually reply within 1 day
-
ci(release): publish ready-to-install builds for Windows, Linux (x64 + ARM64) and macOSPossibly taken @abdulwalidal claimed this 41 days ago. Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 30/100
abdulwalidal/secure-backup#123 ·
Maintainers usually reply within 1 day
-
cloud enhancement ui/ux
Difficulty 5/5 Over a week Newbie friendliness 38/100
abdulwalidal/secure-backup#42 ·
Maintainers usually reply within 1 day
-
security
Difficulty 5/5 Over a week Newbie friendliness 25/100
abdulwalidal/secure-backup#35 ·
Maintainers usually reply within 1 day
-
engine security
Difficulty 4/5 3-5 days Newbie friendliness 48/100
abdulwalidal/secure-backup#34 ·
Maintainers usually reply within 1 day
All issues in abdulwalidal/secure-backup
Similar issues
-
claim
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Nixitov/Riptide-Native#946 ·
Maintainers usually reply within 1 day
-
area: ai-assistants documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BetaBots-LLC/latticegate#17 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
storytold/craft-libs#5594 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
听歌识曲历史跳转后对应音源界面无法返回Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
LingyunStudio/RustMusic#16 ·