You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support SPP 9.0 TLS 1.3: apply --http1.1 consistently and add optional TLS 1.3 enforcement #109
SPP 9.0 enables TLS 1.3. safeguard-bash authenticates successfully against 9.0 today (libcurl/OpenSSL negotiates the post-handshake client cert automatically), but HTTP-version pinning is applied inconsistently and there is no way to require TLS 1.3.
Changes
1. Apply --http1.1 consistently
On the Standard binding, cert-based auth requires HTTP/1.1 -- HTTP/2 disallows the post-handshake certificate request. connect-safeguard.sh already sets --http1.1 for certificate login (gated on libcurl >= 7.33), but the general request path in invoke-safeguard-method.sh (the curl -K calls) and the A2A cert-retrieval path do not. Apply the same --http1.1 flag across all curl invocations so cert-auth works regardless of ingress.
2. Optional TLS 1.3 enforcement
Add an opt-in flag (e.g. -3 / SAFEGUARD_TLS13) that passes --tlsv1.3 to curl, so callers can require TLS 1.3. Default behavior is unchanged.
3. Documentation
Document 9.0 TLS behavior, HTTP/1.1 pinning, and the new enforcement flag in src/README.md.
Acceptance criteria
Default connect + cert-auth (including A2A credential retrieval) succeeds against a 9.0 appliance with no extra flags.
All curl invocations negotiate HTTP/1.1 where libcurl supports the flag.
With TLS 1.3 enforcement enabled, sub-1.3 connections fail; cert-auth still succeeds at 1.3.
Existing default behavior is unchanged.
Testing
Validate against a live 9.0 appliance: token-auth via invoke-safeguard-method.sh and cert-auth via A2A credential retrieval.
Activity