howlerops/docs/security/keychain at main · howlerops/howlerops · GitHub
Skip to content

Latest commit

 

History

History

keychain

README.md

Keychain Integration Documentation

OS-native keychain integration for secure credential storage across platforms.

Status

✅ Complete - Fully implemented for macOS, Windows, and Linux

Quick Links

Feature Overview

Secure database credential storage using native OS keychain services:

  • macOS: Keychain Access
  • Windows: Credential Manager
  • Linux: Secret Service API (libsecret)

Key Components

  • Backend API: Wails-based keychain access
  • Credential Service: Go service for cross-platform keychain operations
  • Frontend Integration: Secure credential retrieval for connections

Security Properties

  • Credentials never stored in plaintext
  • OS-level encryption and access control
  • Per-user credential isolation
  • Secure credential transmission over Wails bridge

Architecture

Frontend (React)
    ↓
Wails Bridge
    ↓
Credential Service (Go)
    ↓
OS Keychain API
    ↓
Native Keychain (encrypted storage)

Usage Example

// Store credential
await setDatabasePassword(connectionId, password);

// Retrieve credential
const password = await getDatabasePassword(connectionId);

// Delete credential
await deleteDatabasePassword(connectionId);