jellydn / jellydn/echo-note

security: Encrypt API key storage

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
0
Forks
0
Avg merge
13d 17h
Merged PRs (30d)
4

Description

## What
Store API keys in macOS Keychain or encrypted storage instead of plain SQLite.

## Why
- API keys stored in SQLite without encryption (db/mod.rs settings table)
- Keys are stored locally but not protected
- App claims privacy-first approach but lacks key protection
- Risk: Unauthorized access to device could expose API keys

## How
- Use macOS Keychain for secure key storage
- Or encrypt sensitive settings with device-specific key
- Mark key field as sensitive in database schema
- Consider using keychain-rs crate for cross-platform support

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.