SSL/TLS Dependency Check Missing in start.sh #109

Closed
opened 2025-09-05 15:31:41 +02:00 by michael · 0 comments
Owner

Problem

start.sh checks lua-socket and lua-cjson but not lua-sec (SSL/TLS).
furt requires SSL for SMTP connections but doesn't validate at startup.

Current Behavior

Service starts, fails silently when sending mail via SSL SMTP.

Solution

Add lua-sec check to scripts/start.sh:

$LUA_COMMAND -e "require('ssl')" 2>/dev/null || {
    echo "Error: lua-sec not found"
    exit 1
}

Installation Commands per Platform

  • Arch: pacman -S lua51-sec
  • Debian: apt install lua-sec
  • OpenBSD: pkg_add luasec

Success Criteria

start.sh validates all required dependencies before starting furt.

## Problem start.sh checks lua-socket and lua-cjson but not lua-sec (SSL/TLS). furt requires SSL for SMTP connections but doesn't validate at startup. ## Current Behavior Service starts, fails silently when sending mail via SSL SMTP. ## Solution Add lua-sec check to scripts/start.sh: ```bash $LUA_COMMAND -e "require('ssl')" 2>/dev/null || { echo "Error: lua-sec not found" exit 1 } ``` ## Installation Commands per Platform - Arch: pacman -S lua51-sec - Debian: apt install lua-sec - OpenBSD: pkg_add luasec ## Success Criteria start.sh validates all required dependencies before starting furt.
michael added the
effort
small
priority
medium
type
bug
labels 2025-09-05 15:31:41 +02:00
michael added this to the v0.1.2 - Gateway Basics milestone 2025-09-05 17:50:04 +02:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: DAW/furt#109
No description provided.