Folder Watch (Auto-Signing)
Apr 5, 2026 · 4 views
How Folder Watch Works
The Signing Engine monitors source folders for new files and automatically signs them.
Detection Methods
- FileSystemWatcher: Instant detection when files are created
- Polling: Safety net — checks every 20 seconds (configurable)
Processing Flow
- New file detected in source folder
- Wait for file to finish writing (up to 10 seconds)
- 5-second debounce to prevent double-processing
- Sign the file using the profile's configuration
- Move signed file to destination folder
- Delete original from source folder
Configuration
- Watch Interval: Polling interval in seconds (default: 20)
- Watch Subfolders: Enable to include subdirectories
Monitoring
Check signing engine status via API:
GET /api/signing/status
Authorization: Bearer ADMIN_TOKEN
Response includes: total signed, total failed, queue depth, last sign time, last error.
Tips
- Use separate source/destination folders to avoid re-signing
- Ensure the Windows user session is active (required for USB token access)
- Configure Auto-Logon in the GUI for unattended operation
