Commit Graph

9 Commits

Author SHA1 Message Date
de38eaa1f0 chore: update Claude settings 2025-12-25 09:51:55 +01:00
bfb9f91798 feat: add Key Storage Manager (KSM) module with HSM support
Add luci-app-ksm-manager - comprehensive cryptographic key management
module with hardware security module support for Nitrokey and YubiKey.

Features:
- Cryptographic key management (RSA, ECDSA, Ed25519)
- Hardware Security Module support (Nitrokey, YubiKey)
- Certificate management with CSR generation
- Encrypted secrets storage (AES-256-GCM)
- SSH key management and deployment
- Comprehensive audit logging
- Backup and restore functionality

Implementation:
- 22 RPCD methods for complete key lifecycle management
- 8 LuCI views (overview, keys, HSM, certificates, secrets, SSH, audit, settings)
- Full API client with utility functions
- Comprehensive README with setup and usage guides

Validation:
- All naming conventions verified
- Menu paths match view files
- JSON syntax validated
- JavaScript syntax checked
- RPCD script executable and properly named

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-25 09:18:14 +01:00
cf39eb6e1d fix: resolve validation issues across all modules
- Fixed minified RPC declaration in secubox/modules.js that caused false positive in validation
- Added 30 missing menu entries across 10 modules:
  * bandwidth-manager: clients, schedules
  * client-guardian: zones, portal, logs, alerts, parental
  * crowdsec-dashboard: metrics
  * netdata-dashboard: system, processes, realtime, network
  * netifyd-dashboard: talkers, risks, devices
  * network-modes: router, accesspoint, relay, sniffer
  * secubox: settings
  * system-hub: components, diagnostics, health, remote, settings
  * vhost-manager: internal, ssl, redirects
  * wireguard-dashboard: traffic, config
- All modules now pass comprehensive validation (0 errors, 0 warnings)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-25 09:01:06 +01:00
a8ce1517a4 docs: add comprehensive module implementation guides
Add two complete documentation files for creating new SecuBox modules:

1. module-implementation-guide.md
   - Reusable template for any new module
   - Complete example: KSM Manager (Key Storage Manager)
     * Hardware security module support (Nitrokey, YubiKey)
     * Cryptographic key management (RSA, ECDSA, Ed25519)
     * Secure secrets storage (AES-256-GCM)
     * Certificate management with CSR generation
     * SSH key management
     * Comprehensive audit logging
     * 22 RPCD methods specification
     * 8 JavaScript views specification
   - Step-by-step implementation workflow
   - Complete validation checklist
   - Technical specifications and security guidelines

2. README.md
   - Documentation directory overview
   - Quick start guide for new modules
   - Best practices and naming conventions
   - Development tools reference
   - Git workflow and contribution guidelines
   - Troubleshooting guide
   - 3 usage examples (simple, complex, integration)

These guides enable rapid development of new SecuBox modules
following established patterns from the 14 existing modules.

🎯 Generated with Claude Code
2025-12-25 08:40:20 +01:00
f83203de60 fix: rename RPCD script to luci.secubox to match ubus object name
Le fichier RPCD 'secubox' a été renommé en 'luci.secubox' pour correspondre
au nom d'objet ubus utilisé par l'API JavaScript (object: 'luci.secubox').

Cela permet aux appels ubus comme 'ubus call luci.secubox get_dashboard_data'
de fonctionner correctement.

Fixes: Method not found error for all luci.secubox/* methods
2025-12-24 09:27:43 +01:00
eb72e12a72 crowdswc full 2025-12-23 20:38:36 +01:00
60d1637a5d github fix actions 2025-12-23 17:48:17 +01:00
f7c06d4d13 reset to v1 2025-12-23 09:32:28 +01:00
df74fade80 add claude instructions 2025-12-23 09:31:00 +01:00