Auto-Deploy on Push / verify-and-notify (push) Successful in 53s
Synapse's own media-scanning module (Issue #19) can never see E2EE attachment content - a structural limit, not a bug. This adds a small standalone HTTP wrapper around the same ClamAV instance, reachable from browser JS at /_scan, so the ThreadNet-Web client fork can scan plaintext both before encrypting/uploading and after downloading/ decrypting - covering both directions regardless of room encryption. Auth via Synapse's own /whoami endpoint, no separate auth system.
9 lines
152 B
Plaintext
9 lines
152 B
Plaintext
FROM python:3.13-slim
|
|
|
|
COPY clamav-http-scanner.py /app/clamav-http-scanner.py
|
|
|
|
USER nobody
|
|
EXPOSE 8090
|
|
|
|
CMD ["python3", "/app/clamav-http-scanner.py"]
|