TLS scanner worker extracted from cafe-discovery.
This repository is TLS-only (includes native/ + pkg/tls and requires CGO / OQS runtime).
CGO_ENABLED=1 go run ./cmd/scanner-tls/main.goDefaults:
NATS_URL=nats://localhost:4222SCANNER_HEALTH_PORT=8081CONFIG_PATH=./config.yaml
CGO_ENABLED=1 go build ./cmd/scanner-tlsTLS scanner must keep the OQS + native dependency chain.
go list -deps ./cmd/scanner-tls | grep -E "pkg/tls|native|internal/tlsscan|internal/scanner/tlsrunner" >/dev/nullExpected result: exit code 0 (at least one match).
This image is built on OQS base images:
- build:
oleglod/cafe-crypto-backend:build-oqs - runtime:
oleglod/cafe-crypto-backend:runtime-oqs
docker build -t cafe-scanner-tls:local .
docker run --rm -e NATS_URL=nats://host.docker.internal:4222 cafe-scanner-tls:localThis repository follows the same RC/Release strategy as cafe-discovery and cafe-scanner-wallet:
docker-rc.yml: builds and pushesoleglod/cafe-scanner-tls:sha-<short_sha>(always), plus optionalvX.Y.Z-rc<run_id>.docker-release.yml: promotes fromsha-<short_sha>tovX.Y.Zandlatestusingimagetools create(no rebuild).
Supported tags:
sha-<short_sha>: source of truth built by RCvX.Y.Z-rc<run_id>: optional RC convenience tagvX.Y.Z: final release taglatest: most recent released version
cafe-deploy references this image through:
SCANNER_TLS_VERSION(env templates and local env files)- image
oleglod/cafe-scanner-tls:${SCANNER_TLS_VERSION}
Runtime contract is unchanged:
- consume
scan.requested.tls - publish
scan.started, thenscan.completedorscan.failed - persistence service consumes lifecycle events and writes PostgreSQL/Redis