Skip to content

Fix security checks rejecting legitimate users and harden API validation - #1

Merged
ELF-Nigel merged 1 commit into
mainfrom
fix/security-validation
Oct 27, 2026
Merged

ELF-Nigel merged 1 commit into
mainfrom
fix/security-validation

Conversation

@ELF-Nigel

@ELF-Nigel ELF-Nigel commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

Legitimate users could be rejected by startup/watchdog races, sleep/resume timers, PE/instruction heuristics and CDN DNS rotation. Malformed JSON handling was also disabled, while failed login responses could still mark local authentication state.

This change restores JSON exceptions, requires signed successful authentication before sealing local state, isolates API instances, owns background thread lifetime, and replaces unreliable runtime enforcement with TLS/signature/server-session validation. It also corrects request encoding, file GET selection, HTTP/signature diagnostics, checksum handling and pin configuration. Missing or invalid authentication signatures remain rejected.

Validation: Release x64 library built locally with MSVC v145; five regression executables passed (headers, Ed25519, checksums, JSON errors, lifecycle/form encoding). Windows CI runs the same tests.

Draft pending live application testing. Consumers must rebuild with the updated headers and handle request exceptions. The API 1.3 endpoint/signing key are unchanged. Upstream unsigned file responses retain TLS-only behavior; dependency binary provenance and full dependency updates remain separate work.

@ELF-Nigel
ELF-Nigel force-pushed the fix/security-validation branch from 0fd4b83 to 10464e7 Compare October 27, 2026 13:11
@ELF-Nigel
ELF-Nigel merged commit 10464e7 into main Oct 27, 2026
@ELF-Nigel
ELF-Nigel deleted the fix/security-validation branch October 27, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant