fix: agent acknowledgment recursion and subsystem UI improvements
- Fix recursive call in reportLogWithAck that caused infinite loop - Add machine binding and security API endpoints - Enhance AgentScanners component with security status display - Update scheduler and timeout service reliability - Remove deprecated install.sh script - Add subsystem configuration and logging improvements
This commit is contained in:
@@ -307,10 +307,12 @@ func handleUpdateAgent(apiClient *client.Client, cfg *config.Config, ackTracker
|
||||
|
||||
// Validate nonce for replay protection
|
||||
log.Printf("[tunturi_ed25519] Validating nonce...")
|
||||
log.Printf("[SECURITY] Nonce validation - UUID: %s, Timestamp: %s", nonceUUIDStr, nonceTimestampStr)
|
||||
if err := validateNonce(nonceUUIDStr, nonceTimestampStr, nonceSignature); err != nil {
|
||||
log.Printf("[SECURITY] ✗ Nonce validation FAILED: %v", err)
|
||||
return fmt.Errorf("[tunturi_ed25519] nonce validation failed: %w", err)
|
||||
}
|
||||
log.Printf("[tunturi_ed25519] ✓ Nonce validated")
|
||||
log.Printf("[SECURITY] ✓ Nonce validated successfully")
|
||||
|
||||
// Record start time for duration calculation
|
||||
updateStartTime := time.Now()
|
||||
|
||||
Reference in New Issue
Block a user