clavitor/clavis
James def0c6fb1d test: rewrite agent credential tests for client-side generation
Rewrites 7 skipped integration tests to work with client-side credential generation:

- TestScopedAccess_agent_sees_only_scoped_entries
- TestScopedAccess_agent_forbidden_on_unscoped
- TestScopedAccess_all_access_sees_everything
- TestScopedAccess_agent_cannot_manage_agents
- TestScopedAccess_agent_cannot_create_system_types (renamed from _modify_scopes)
- TestScopedAccess_agent_entries_invisible
- TestKeyLeak_agent_credential_is_opaque

Adds MintCredential/ParseCredential test helpers to lib/cvt.go for creating
type 0x01 client credential tokens in tests. These simulate the client-side
credential generation that normally happens in browser/CLI.

Adds test helper methods to integration_test.go:
- reqAgent(): sends requests with CVT wire token authentication
- mintWireToken(): creates type 0x00 wire tokens for agent auth

Security boundaries tested:
- Agents with limited scope cannot access owner-only entries
- Agents with all_access can see all entries
- Agents cannot manage other agents (create/list)
- Agents cannot create system-type entries (agent, scope)
- Server responses never contain raw L2/L3 key material

Fixes #14
2026-04-09 03:45:42 -04:00
..
clavis-android Address Hans' workflow feedback - make it actionable 2026-04-09 01:10:39 -04:00
clavis-chrome Address Hans' workflow feedback - make it actionable 2026-04-09 01:10:39 -04:00
clavis-cli Address Hans' workflow feedback - make it actionable 2026-04-09 01:10:39 -04:00
clavis-crypto Address Hans' workflow feedback - make it actionable 2026-04-09 01:10:39 -04:00
clavis-firefox Address Hans' workflow feedback - make it actionable 2026-04-09 01:10:39 -04:00
clavis-ios Address Hans' workflow feedback - make it actionable 2026-04-09 01:10:39 -04:00
clavis-safari Address Hans' workflow feedback - make it actionable 2026-04-09 01:10:39 -04:00
clavis-telemetry ui: remove strikethrough pricing — always show $12/yr 2026-04-09 03:36:54 -04:00
clavis-vault test: rewrite agent credential tests for client-side generation 2026-04-09 03:45:42 -04:00
.DS_Store Update all CLAUDE.md files to reference CLAVITOR-AGENT-HANDBOOK.md 2026-04-08 15:24:51 -04:00
._.DS_Store chore: auto-commit uncommitted changes 2026-03-25 06:04:04 -04:00
Makefile rebrand: rename vault1984 references to clavitor in Makefile and pop-sync (C-005) 2026-03-29 07:16:12 -04:00
README.md chore: auto-commit uncommitted changes 2026-03-25 06:04:04 -04:00

README.md

Clavis

Secure vault platform with multi-client support.

Architecture

Clavis is the vault server. Everything else is a client that talks to it.

Structure

Active Development

Directory Purpose Status
clavis-vault/ Vault server with embedded UI (Go, FIPS 140-3) Active
clavis-crypto/ JavaScript crypto layer Active
clavis-cli/ CLI for agents Active
clavis-chrome/ Chrome browser extension Active

Planned

Directory Purpose Status
clavis-firefox/ Firefox browser extension Announced
clavis-safari/ Safari browser extension Announced
clavis-ios/ iOS native app Announced
clavis-android/ Android native app Announced

Build

make deploy            # Build + test + restart everything
make deploy-vault      # Build + test + restart vault only
make deploy-web        # Build + restart website only
make status            # Check running processes
make logs-vault        # Tail vault logs
make logs-web          # Tail web logs

Clients

The vault supports multiple client types:

  • Web: Built-in UI served by vault (clavis-vault/)
  • CLI: Command-line tool for automation/agents (clavis-cli/)
  • Browser Extension: Auto-fill and TOTP in Chrome (clavis-chrome/)
  • Mobile: Native iOS/Android apps (planned)

Security

  • FIPS 140-3 validated crypto (BoringCrypto via GOEXPERIMENT)
  • Zero-knowledge architecture
  • Vault server is the single source of truth

License

Proprietary — © Clavitor