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

  1. FileSystemWatcher: Instant detection when files are created
  2. Polling: Safety net — checks every 20 seconds (configurable)

Processing Flow

  1. New file detected in source folder
  2. Wait for file to finish writing (up to 10 seconds)
  3. 5-second debounce to prevent double-processing
  4. Sign the file using the profile's configuration
  5. Move signed file to destination folder
  6. 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