botserver/src/channels
Rodrigo Rodriguez e143968179 feat: Add JWT secret rotation and health verification
SEC-02: Implement credential rotation security improvements

- Add JWT secret rotation to rotate-secret command
- Generate 64-character HS512-compatible secrets
- Automatic .env backup with timestamp
- Atomic file updates via temp+rename pattern
- Add health verification for rotated credentials
- Route rotate-secret, rotate-secrets, vault commands in CLI
- Add verification attempts for database and JWT endpoints

Security improvements:
- JWT_SECRET now rotatable (previously impossible)
- Automatic rollback via backup files
- Health checks catch configuration errors
- Clear warnings about token invalidation

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-19 19:42:41 +00:00
..
wechat Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
youtube/youtube_api Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00
bluesky.rs Fix build errors and unused imports in core, security and package_manager modules 2026-01-24 22:04:47 -03:00
discord.rs Fix SafeCommand to allow shell scripts with redirects and command chaining 2026-01-08 23:50:38 -03:00
facebook.rs Add video module, RBAC, security features, billing, contacts, dashboards, learn, social, and multiple new modules 2026-01-08 13:16:17 -03:00
instagram_channel.rs Add video module, RBAC, security features, billing, contacts, dashboards, learn, social, and multiple new modules 2026-01-08 13:16:17 -03:00
linkedin.rs Add video module, RBAC, security features, billing, contacts, dashboards, learn, social, and multiple new modules 2026-01-08 13:16:17 -03:00
media_upload.rs feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
mod.rs Add video module, RBAC, security features, billing, contacts, dashboards, learn, social, and multiple new modules 2026-01-08 13:16:17 -03:00
oauth.rs feat: Add JWT secret rotation and health verification 2026-02-19 19:42:41 +00:00
pinterest.rs Add video module, RBAC, security features, billing, contacts, dashboards, learn, social, and multiple new modules 2026-01-08 13:16:17 -03:00
reddit.rs Fix build errors and unused imports in core, security and package_manager modules 2026-01-24 22:04:47 -03:00
snapchat.rs Fix SafeCommand to allow shell scripts with redirects and command chaining 2026-01-08 23:50:38 -03:00
telegram_channel.rs Add video module, RBAC, security features, billing, contacts, dashboards, learn, social, and multiple new modules 2026-01-08 13:16:17 -03:00
threads.rs Fix SafeCommand to allow shell scripts with redirects and command chaining 2026-01-08 23:50:38 -03:00
tiktok.rs Fix build errors and unused imports in core, security and package_manager modules 2026-01-24 22:04:47 -03:00
twilio_sms.rs Fix SafeCommand to allow shell scripts with redirects and command chaining 2026-01-08 23:50:38 -03:00
twitter.rs Add video module, RBAC, security features, billing, contacts, dashboards, learn, social, and multiple new modules 2026-01-08 13:16:17 -03:00
youtube.rs Refactor: Split large files into modular subdirectories 2026-02-12 21:09:30 +00:00