Skip to content

alert_lib v1.0.2

Choose a tag to compare

@rfxn rfxn released this 07 Mar 12:02
· 17 commits to master since this release
5eacbaa
  • 1.0.2 | Mar 06 2026:
    [Fix] SMTP relay credentials no longer visible in process listing;
    _alert_email_relay uses curl -K config file (chmod 600, cleaned after
    use) instead of --user command-line argument; follows same security
    pattern as _alert_telegram_api
    [Fix] Webhook URLs containing embedded tokens (Slack incoming webhooks,
    Discord webhooks) redacted in _alert_curl_post error messages;
    new _alert_redact_url helper strips token portion from known webhook
    URL patterns before logging to stderr
    [Change] _alert_email_relay adds -s (silent) flag to curl for consistency
    with _alert_curl_post and _alert_telegram_api
    [New] Tests for SMTP config file credential hiding, URL redaction of
    Slack/Discord webhooks, and curl_post error message verification