You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add database-managed key rotation and enhanced configuration serialization v1.13.0
This release introduces comprehensive database-managed key rotation capabilities
and fixes critical TOML configuration serialization issues.
## Key Features Added
### Database-Managed Key Rotation System
- Complete PostgreSQL and MySQL support for automated key rotation
- Rotation scheduling with configurable intervals and timestamps
- Background rotation service for automated lifecycle management
- Enhanced rotation detection using database-native time comparisons
- Comprehensive rotation schedule management (update, query, schedule)
- Real-time rotation status tracking and version management
### Enhanced Configuration Serialization
- Fixed Duration serialization to use human-readable TOML format ("30s", "5m", "1h", "1d")
- Fixed UUID serialization compatibility issues by converting to string format
- Enhanced duration parsing supporting multiple formats and plain numbers
- Removed duplicate struct definitions causing serialization conflicts
### Database Statistics Implementation
- Real database statistics queries replacing placeholder implementations
- Comprehensive key counts by status (Active, Retired, Revoked, Expired)
- Database-specific date functions for accurate key age calculations
- Expiration monitoring with 7-day early warning system
- Integration tests for both PostgreSQL and MySQL backends
## Technical Improvements
- Added Clone trait implementation for KeyManager background operations
- Enhanced error handling and logging throughout rotation operations
- Cross-database compatibility with functional equivalence
- Production-ready database queries with proper indexing support
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments