• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agentic-dev-library / thumbcode / 21114944112
23%

Build:
DEFAULT BRANCH: main
Ran 18 Jan 2026 04:28PM UTC
Jobs 1
Files 16
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Jan 2026 04:27PM UTC coverage: 41.079% (+12.0%) from 29.066%
21114944112

push

github

web-flow
feat(credentials): implement secure credential storage service (#42)

Implements secure credential management as specified in Issue #9.

## Features:
- **Hardware-backed storage**: Uses Expo SecureStore with WHEN_UNLOCKED_THIS_DEVICE_ONLY
- **Biometric authentication**: Optional biometric unlock via expo-local-authentication
- **API validation**: Validates credentials against GitHub, Anthropic, and OpenAI APIs
- **Secure masking**: Shows masked credential values for display

## CredentialService API:
- `store(type, data, options)`: Store credential with optional validation
- `retrieve(type, options)`: Retrieve credential with optional biometric auth
- `validateCredential(type, secret)`: Validate against respective API
- `delete(type)`: Securely delete credential
- `exists(type)`: Check if credential exists
- `revalidateAll()`: Re-validate all stored credentials
- `isBiometricAvailable()`: Check device biometric support
- `authenticateWithBiometrics()`: Perform biometric authentication

## Security:
- Secrets stored in SecureStore (hardware-backed)
- Metadata tracked in Zustand CredentialStore (no secrets)
- Automatic masking of displayed credentials
- Support for biometric-gated access

## Tests:
- 22 unit tests covering all functionality
- Mocks for SecureStore and LocalAuthentication

Closes #9

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>

100 of 330 branches covered (30.3%)

Branch coverage included in aggregate %.

98 of 133 new or added lines in 1 file covered. (73.68%)

273 of 578 relevant lines covered (47.23%)

1.24 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
35
62.7
src/services/credentials/CredentialService.ts
Jobs
ID Job ID Ran Files Coverage
1 unit-tests - 21114944112.1 18 Jan 2026 04:28PM UTC 16
41.08
GitHub Action Run
Source Files on build 21114944112
  • Tree
  • List 16
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21114944112
  • fd8c9e40 on github
  • Prev Build on main (#21114838655)
  • Next Build on main (#21115056289)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc